From eef6fe72909835ef6ff537d6620626ff8973b8ba Mon Sep 17 00:00:00 2001
From: zhou zhou <3272660260@qq.com>
Date: 星期四, 04 十二月 2025 14:14:28 +0800
Subject: [PATCH] #
---
pages/home/home.vue | 124 +++++++++++++++++++++--------------------
1 files changed, 64 insertions(+), 60 deletions(-)
diff --git a/pages/home/home.vue b/pages/home/home.vue
index db89cba..b5c48ac 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -24,13 +24,13 @@
icon: '',
elements: [],
elements2: [
- {
- title: '缁勬墭',
- name: 'pakin',
- color: 'cyan',
- cuIcon: 'pullup',
- url: '/pakin/pakin'
- },
+ // {
+ // title: '缁勬墭',
+ // name: 'pakin',
+ // color: 'cyan',
+ // cuIcon: 'pullup',
+ // url: '/pakin/pakin'
+ // },
{
title: '璁㈠崟鍏ュ簱',
name: 'orderPakin',
@@ -38,14 +38,14 @@
cuIcon: '',
url: '/order/orderList'
},
- // {
- // title: '鎷f枡绔欏埌绔�',
- // name: 'leftover',
- // color: 'orange',
- // cuIcon: 'pullup',
- // url: '/pakin/leftovers'
- // },
-
+ {
+ title: '鎷f枡绔欏埌绔�',
+ 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鍌ㄤ綅瑙g粦',
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'
}
--
Gitblit v1.9.1