feat(admin): 新增陪诊员入驻申请与全局角色守卫
- 新增 pages/apply 入驻申请页:填写资料、上传证件、查看审核状态 - 新增 utils/role.js 统一角色解析与管理端页面守卫 - app.js 包装 Page 构造器集中做 onShow 守卫,无身份用户重定向至申请页 - 订单、客户、档案、统计等按角色区分能力:陪诊员不请求档案接口,改用订单快照 - 订单列表支持待取消订单一键同意取消;新增订单价格由服务目录决定只读展示
This commit is contained in:
@@ -9,7 +9,8 @@
|
||||
"pages/order/orderEdit",
|
||||
"pages/healthprofile/index",
|
||||
"pages/healthprofile/profileInfo",
|
||||
"pages/me/index"
|
||||
"pages/me/index",
|
||||
"pages/apply/index"
|
||||
],
|
||||
"usingComponents": {
|
||||
"t-toast": "tdesign-miniprogram/toast/toast"
|
||||
@@ -21,11 +22,11 @@
|
||||
"navigationBarBackgroundColor": "#ffffff",
|
||||
"navigationBarTitleText": "Weixin",
|
||||
"navigationBarTextStyle": "black",
|
||||
"backgroundColor": "#0f1535"
|
||||
"backgroundColor": "#FAF6F1"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#8a8a8a",
|
||||
"selectedColor": "#1a8a63",
|
||||
"color": "#8A8078",
|
||||
"selectedColor": "#C26A2E",
|
||||
"backgroundColor": "#ffffff",
|
||||
"borderStyle": "black",
|
||||
"list": [
|
||||
@@ -33,19 +34,19 @@
|
||||
"pagePath": "pages/home/index",
|
||||
"text": "首页",
|
||||
"iconPath": "images/home.png",
|
||||
"selectedIconPath": "images/home-green.png"
|
||||
"selectedIconPath": "images/home-warm.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/ai/index",
|
||||
"text": "AI",
|
||||
"iconPath": "images/chat.png",
|
||||
"selectedIconPath": "images/chat-green.png"
|
||||
"selectedIconPath": "images/chat-warm.png"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/set/index",
|
||||
"text": "设置",
|
||||
"iconPath": "images/set.png",
|
||||
"selectedIconPath": "images/set-green.png"
|
||||
"selectedIconPath": "images/set-warm.png"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user