|
|
@@ -95,18 +95,24 @@ Page({
|
|
|
};
|
|
|
});
|
|
|
/* 测试用假数据 */
|
|
|
- gridList.push({
|
|
|
- name: "联系人",
|
|
|
- path: "/packageA/contacts/index",
|
|
|
- icon: "icon-xiaochengxutongxunlu",
|
|
|
- apps: {}
|
|
|
- })
|
|
|
gridList.push({
|
|
|
name: "销售预测",
|
|
|
path: "/packageA/forecast/index",
|
|
|
icon: "icon-xiaochengxu_xiaoshouyuce",
|
|
|
apps: {}
|
|
|
})
|
|
|
+ gridList.push({
|
|
|
+ name: "销售目标",
|
|
|
+ path: "/packageA/target/index",
|
|
|
+ icon: "icon-xiaochengxu_xiaoshoumubiao",
|
|
|
+ apps: {}
|
|
|
+ })
|
|
|
+ gridList.push({
|
|
|
+ name: "联系人",
|
|
|
+ path: "/packageA/contacts/index",
|
|
|
+ icon: "icon-xiaochengxutongxunlu",
|
|
|
+ apps: {}
|
|
|
+ })
|
|
|
/* 首页小组件查询 */
|
|
|
let home = getApp().globalData.queryPer.query(wx.getStorageSync('userauth'), ['通用'], ['首页'])[0].apps[0].meta.wedgits;
|
|
|
if (home.some(v => v.wedgit == 'homedatadisplay')) subassembly.push('homedatadisplay');
|