撤销
diff --git a/utils/tabbar.js b/utils/tabbar.js
index 41648fa..a8e5fa7 100644
--- a/utils/tabbar.js
+++ b/utils/tabbar.js
@@ -1,35 +1,76 @@
-// 工作台
+// 工作台 客服看到的菜单
const ordinary = [{
iconPath: "photo",
selectedIconPath: "photo-fill",
text: "接单记录",
pagePath: "pages/order/tasking",
+}, {
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "巡检计划",
+ pagePath: "pages/inspection/plan",
}, {
iconPath: "account",
selectedIconPath: "account-fill",
text: "我的",
pagePath: "pages/my/my",
}]
-
+// 客户看到的页面
const member = [{
- iconPath: "photo",
- selectedIconPath: "photo-fill",
- text: "工作台",
- pagePath: "pages/home/index",
- },
- {
- iconPath: "https://cdn.uviewui.com/uview/common/min_button.png",
- selectedIconPath: "https://cdn.uviewui.com/uview/common/min_button_select.png",
- text: "一键报送",
- pagePath: "pages/submission/index",
- }, {
- iconPath: "account",
- selectedIconPath: "account-fill",
- text: "我的",
- pagePath: "pages/my/my",
- },
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "工作台",
+ pagePath: "pages/home/index",
+},
+{
+ iconPath: "https://cdn.uviewui.com/uview/common/min_button.png",
+ selectedIconPath: "https://cdn.uviewui.com/uview/common/min_button_select.png",
+ text: "一键报送",
+ pagePath: "pages/submission/index",
+}, {
+ iconPath: "account",
+ selectedIconPath: "account-fill",
+ text: "我的",
+ pagePath: "pages/my/my",
+},
]
+// 维修负责人看到的页面
+const manage = [{
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "接单记录",
+ pagePath: "pages/order/tasking",
+}, {
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "巡检计划",
+ pagePath: "pages/inspection/plan",
+}, {
+ iconPath: "account",
+ selectedIconPath: "account-fill",
+ text: "我的",
+ pagePath: "pages/my/my",
+}]
+// 维修人员 看到的菜单
+const repair = [{
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "接单记录",
+ pagePath: "pages/order/tasking",
+}, {
+ iconPath: "photo",
+ selectedIconPath: "photo-fill",
+ text: "维修任务",
+ pagePath: "pages/inspection/quest",
+}, {
+ iconPath: "account",
+ selectedIconPath: "account-fill",
+ text: "我的",
+ pagePath: "pages/my/my",
+}]
export default {
ordinary,
- member
+ member,
+ manage,
+ repair
}
\ No newline at end of file