zhaoxiaohai 3 years ago
parent
commit
163440d281
1 changed files with 12 additions and 6 deletions
  1. 12 6
      pages/tabbar/home/index.js

+ 12 - 6
pages/tabbar/home/index.js

@@ -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');