From c9bf178eb14f830e503481c6acbe883e13b3f189 Mon Sep 17 00:00:00 2001 From: zhangc <zc@123> Date: 星期一, 24 三月 2025 16:51:14 +0800 Subject: [PATCH] 提示优化;箱壳下架 --- pages/home/orderManage.vue | 41 ++++++++++++++++++++++++++++++----------- 1 files changed, 30 insertions(+), 11 deletions(-) diff --git a/pages/home/orderManage.vue b/pages/home/orderManage.vue index a7a74ce..6a8d160 100644 --- a/pages/home/orderManage.vue +++ b/pages/home/orderManage.vue @@ -89,6 +89,13 @@ url: `/phyz/bcp/bcpDbOrder` }, { + title: '鍗婃垚鍝佽皟鎷ㄥ崟', + name: 'bcpDbOrder', + color: 'blue', + // cuIcon: 'pullup', + url: `/phyz/bcp/bcpDbOrderV2` + }, + { title: '鍗婃垚鍝佸嚭搴撳崟', name: 'bcpOutOrder', color: 'blue', @@ -134,7 +141,7 @@ ], menu: [], - colorList: ['cyan','blue','purple','mauve','pink','brown','red','orange','yellow','olive','olive','grey' ] + colorList: ['cyan','blue','purple','mauve','pink','brown','red','orange','yellow','olive','cyan','blue','purple','mauve','pink','brown','red','orange','yellow','olive' ] }; }, // onShow() { @@ -165,7 +172,6 @@ } }, toOrder(item) { - console.log(item); uni.navigateTo({ url: `/pages${item.url}`, success(res) { @@ -184,16 +190,29 @@ } for (let i in secMenu) { this.getIcon(secMenu[i].title) - this.elements.unshift({ - title: secMenu[i].name, - name: secMenu[i].title, - color: this.colorList[i], - cuIcon: this.icon, - id: secMenu[i].id, - param: secMenu[i].param, - url: `${secMenu[i].code}` - }) + // 鍏煎2025 02 18 鑿滃崟param + if (secMenu[i].param) { + this.elements.unshift({ + title: secMenu[i].name, + name: secMenu[i].title, + color: this.colorList[i], + cuIcon: this.icon, + id: secMenu[i].id, + param: JSON.parse(secMenu[i].param), + url: `${secMenu[i].code}` + }) + } else { + this.elements.unshift({ + title: secMenu[i].name, + name: secMenu[i].title, + color: this.colorList[i], + cuIcon: this.icon, + id: secMenu[i].id, + url: `${secMenu[i].code}` + }) + } } + console.log(this.elements); }, getAuth(id) { let that = this -- Gitblit v1.9.1