#
zhou zhou
9 天以前 eef6fe72909835ef6ff537d6620626ff8973b8ba
pages/home/home.vue
@@ -31,21 +31,21 @@
               //    cuIcon: 'pullup',
               //    url: '/pakin/pakin'
               // },
               // {
               //    title: '订单入库',
               //    name: 'orderPakin',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/order/orderList'
               // },
               // {
               //    title: '拣料站到站',
               //    name: 'leftover',
               //    color: 'orange',
               //    cuIcon: 'pullup',
               //    url: '/pakin/leftovers'
               // },
               {
                  title: '订单入库',
                  name: 'orderPakin',
                  color: 'red',
                  cuIcon: '',
                  url: '/order/orderList'
               },
               {
                  title: '拣料站到站',
                  name: 'leftover',
                  color: 'orange',
                  cuIcon: 'pullup',
                  url: '/pakin/leftovers'
               },
               // {
               //    title: '平库入库',
               //    name: 'POrderPakin',
@@ -67,35 +67,35 @@
               //    cuIcon: '',
               //    url: '/pingku/PInventoryAdjustment'
               // },
               // {
               //    title: '呼叫Agv',
               //    name: 'AGVStart',
               //    color: 'cyan',
               //    cuIcon: '',
               //    url: '/AGV/AGVStart'
               // },
               {
                  title: 'Agv拆托呼叫',
                  name: 'AGVDismantle',
                  title: '呼叫Agv',
                  name: 'AGVStart',
                  color: 'cyan',
                  cuIcon: '',
                  url: '/AGV/AGVDismantle'
                  url: '/AGV/AGVStart'
               },
               // {
               //    title: 'Agv拆托呼叫',
               //    name: 'AGVDismantle',
               //    color: 'cyan',
               //    cuIcon: '',
               //    url: '/AGV/AGVDismantle'
               // },
               {
                  title: 'Agv储位解绑',
                  name: 'AGVUnbind',
                  color: 'orange',
                  cuIcon: '',
                  url: '/AGV/AGVUnbind'
               },
               {
                  title: 'Agv储位绑定',
                  name: 'AGVBind',
                  color: 'purple',
                  cuIcon: '',
                  url: '/AGV/AGVBind'
               },
               },
               // {
               //    title: 'Agv储位绑定',
               //    name: 'AGVBind',
               //    color: 'purple',
               //    cuIcon: '',
               //    url: '/AGV/AGVBind'
               // },
               // {
               //    title: '站绑定',
               //    name: 'AGVStaBind',
@@ -103,20 +103,20 @@
               //    cuIcon: '',
               //    url: '/AGV/AGVStaBind'
               // },
               {
                  title: '产线叫料',
                  name: 'AGVSiteList',
                  color: 'red',
                  cuIcon: '',
                  url: '/AGV/AGVSiteList'
               },
               {
                  title: '产线叫料2',
                  name: 'AGVSiteList2',
                  color: 'red',
                  cuIcon: '',
                  url: '/AGV/AGVSiteList2'
               },
               // {
               //    title: '产线叫料',
               //    name: 'AGVSiteList',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/AGV/AGVSiteList'
               // },
               // {
               //    title: '产线叫料2',
               //    name: 'AGVSiteList2',
               //    color: 'red',
               //    cuIcon: '',
               //    url: '/AGV/AGVSiteList2'
               // },
               // {
               //    title: '成品呼叫',
               //    name: 'AGVFinishedCall',
@@ -124,13 +124,13 @@
               //    cuIcon: '',
               //    url: '/AGV/AGVFinishedCall'
               // },
               {
                  title: '成品呼叫2',
                  name: 'AGV_2F',
                  color: 'purple',
                  cuIcon: '',
                  url: '/AGV/AGV2F'
               },
               // {
               //    title: '成品呼叫2',
               //    name: 'AGV_2F',
               //    color: 'purple',
               //    cuIcon: '',
               //    url: '/AGV/AGV2F'
               // },
               // {
               //    title: '组托上架',
               //    name: 'putOn',
@@ -167,7 +167,7 @@
               //    url: '/stock/stockQuery'
               // },
               // {
               // {
               //    title: '商品打印',
               //    name: 'matList',
@@ -205,7 +205,9 @@
               },
            ],
            colorList: ['cyan','blue','mauve','pink','brown','red','orange','yellow','olive','olive','green','grey' ]
            colorList: ['cyan', 'blue', 'mauve', 'pink', 'brown', 'red', 'orange', 'yellow', 'olive', 'olive', 'green',
               'grey'
            ]
         };
      },
      onShow() {
@@ -219,7 +221,9 @@
            uni.request({
               url: that.baseUrl + '/menu/pda/auth',
               data: {},
               header: { 'token': uni.getStorageSync('token') },
               header: {
                  'token': uni.getStorageSync('token')
               },
               method: 'POST',
               success(res) {
                  res = res.data
@@ -260,7 +264,7 @@
                           url: '../login/login'
                        });
                     }, 1000);
                  } else if(res.status === 404) {
                  } else if (res.status === 404) {
                     that.elements = that.elements2
                     // uni.showToast({
                     //    title: '默认主页',
@@ -281,7 +285,7 @@
            })
         },
         getIcon(e) {
            const ways = ['pakin','orderPakin','orderPutOn']
            const ways = ['pakin', 'orderPakin', 'orderPutOn']
            if (ways.includes(e)) {
               this.icon = 'pullup'
            }