|
|
@@ -2,29 +2,23 @@ let authList = {};
|
|
|
//通用
|
|
|
function getapps() {
|
|
|
const paths = [{
|
|
|
- name: "联系人",
|
|
|
- path: "/prsx/contacts/index",
|
|
|
+ name: "服务受理",
|
|
|
+ path: "/bgj/handling/index",
|
|
|
icon: "work-xiaochengxutongxunlu"
|
|
|
}, {
|
|
|
- name: "工作汇报",
|
|
|
- path: "/prsx/report/index",
|
|
|
+ name: "服务工单",
|
|
|
+ path: "/bgj/workOrder/index",
|
|
|
icon: "work-gongzuohuibao"
|
|
|
}, {
|
|
|
- name: "360°画像",
|
|
|
- path: "/portrayal/index/index",
|
|
|
+ name: "客户档案",
|
|
|
+ path: "/bgj/customerArchive/index",
|
|
|
icon: "work-kehuhuaxiang"
|
|
|
}, {
|
|
|
- name: "销售数据",
|
|
|
- path: "/salesPanel/index/index",
|
|
|
+ name: "工人之家",
|
|
|
+ path: "/bgj/workerHome/index",
|
|
|
icon: "work-xiaoshoushuju"
|
|
|
- }, {
|
|
|
- name: "数据总览",
|
|
|
- path: "/salesPanel/dataOverview/index",
|
|
|
- icon: "work-shujutongji"
|
|
|
}];
|
|
|
- let app = [...getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['通用'], ['通用', '工作汇报']),
|
|
|
- ...getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['CRM'], ['业务管理', '数据统计'])
|
|
|
- ],
|
|
|
+ let app = [...getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['班管家'], ['班管家'])],
|
|
|
list = [];
|
|
|
app.forEach((v, i) => {
|
|
|
v.apps.forEach(s => {
|
|
|
@@ -41,6 +35,7 @@ function getapps() {
|
|
|
if (i != -1) {
|
|
|
paths[i].index = i;
|
|
|
paths[i].appName = s.name;
|
|
|
+ paths[i].remarks = s.remarks;
|
|
|
list.push(paths[i])
|
|
|
}
|
|
|
}
|