#
whycq
2024-04-06 9dba76a130bf214aa540c8c5ffbd781590afe4f1
pages/home/home.vue
@@ -23,20 +23,21 @@
            token: '',
            icon: '',
            elements: [],
            project: 'tzsk',
            elements2: [
               {
                  title: 'AGV组托',
                  name: 'AGVPakin',
                  color: 'blue',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPakin'
                  url: `/tzsk/AGV/AGVPakin`
               },
               {
                  title: 'AGV盘点/拣料',
                  name: 'AGVPick',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVPick'
                  url: `/tzsk/AGV/AGVPick`
               },
               
               {
@@ -67,20 +68,40 @@
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVContainerMove'
               },
               {
                  title: '组托入库',
                  title: 'AGV条码',
                  name: 'AGVCode',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/AGV/AGVCode'
               },
               {
                  title: '平库组托入库',
                  name: 'pakin',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/pakin/pakin2'
               },
               {
                  title: '组托上架',
                  title: '四项组托入库',
                  name: 'pakin',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/pakin/pakin3'
               },
               {
                  title: '平库组托上架',
                  name: 'PutOn',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/order/orderPutOn'
               },
               {
                  title: '出库拣选',
                  name: 'checkOut',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/pakin/checkOut'
               },
               {
                  title: '订单上架',
@@ -120,11 +141,18 @@
                  url: '/tzsk/pakin/untie'
               },
               {
                  title: '平仓移库',
                  title: '平库移库',
                  name: 'locChange',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/pakin/locChage'
               },
               {
                  title: '平库拣货',
                  name: 'locChange',
                  color: 'cyan',
                  // cuIcon: 'pullup',
                  url: '/tzsk/pakin/locPick'
               },
               {
                  title: '临时入库',
@@ -156,7 +184,7 @@
                  name: 'stockQuery',
                  color: 'green',
                  cuIcon: 'check',
                  url: '/stock/stockQuery'
                  url: `/tzsk/stock/stockQuery`
               },
               {
                  title: '盘点',
@@ -216,6 +244,7 @@
      onShow() {
         this.baseUrl = uni.getStorageSync('baseUrl');
         this.token = uni.getStorageSync('token');
         this.project = uni.getStorageSync('project')
         this.getAuth()
         this.backGroundRepeat()
      },
@@ -239,6 +268,11 @@
               header: { 'token': uni.getStorageSync('token') },
               method: 'POST',
               success(res) {
                  console.log(res);
                  if (res.statusCode === 404) {
                     that.elements = that.elements2
                     return
                  }
                  res = res.data
                  that.elements = []
                  if (res.code === 200) {
@@ -256,7 +290,7 @@
                           name: res.data[i].title,
                           color: that.colorList[i],
                           cuIcon: that.icon,
                           url: res.data[i].action
                           url: `/${that.project}${res.data[i].action}`
                        })
                     }
                     that.elements.push({