From 0a48655d2162b709ecb80d249a4085971add6140 Mon Sep 17 00:00:00 2001 From: Houjie <714924425@qq.com> Date: 星期一, 07 七月 2025 17:26:30 +0800 Subject: [PATCH] 企业微信 --- pages/checkList/checkList.vue | 36 +++++++++++++++++++++++++++--------- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/pages/checkList/checkList.vue b/pages/checkList/checkList.vue index feebc11..88c2b17 100644 --- a/pages/checkList/checkList.vue +++ b/pages/checkList/checkList.vue @@ -2,7 +2,7 @@ <view class="container"> <cu-custom :bgColor="NavBarColor" :isBack="true" backRouterName="productionTask"> <block slot="backText">杩斿洖</block> - <block slot="content">鐐规鍒楄〃</block> + <block slot="content">寰呯偣妫�</block> <block slot="right"> <view @click="search"> <image class="search" src="/static/icon/sear.png" style="width: 25px; height: 25px;" alt="" /> @@ -62,6 +62,18 @@ </view> </view> <view class="flex"> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">璁惧鍚嶇О:</view> + <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> + {{item.equipmentName}} + </view> + </view> + <view class="flex"> + <view class="flex-sub text-light bg-white padding-xs margin-xs radius">瀹夎浣嶇疆:</view> + <view class="flex-sub bg-white padding-xs margin-xs radius text-right"> + {{item.installationPosition}} + </view> + </view> + <view class="flex"> <view class="flex-sub text-light bg-white padding-xs margin-xs radius">鐐规鏃ユ湡:</view> <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> {{item.inspectionDate}} @@ -69,7 +81,7 @@ </view> <view class="flex"> <view class="flex-sub text-light bg-white padding-xs margin-xs radius">鐐规杩囨湡鏃ユ湡:</view> - <view class="flex-sub bg-white padding-xs margin-xs text-blue radius text-right"> + <view class="flex-sub bg-white padding-xs margin-xs text-red radius text-right"> {{item.expirationTime}} </view> </view> @@ -233,15 +245,21 @@ * @param {Object} item * 璇︽儏椤甸潰 */ - onClickProductionTask(item) { - + onClickProductionTask(item, flag = 'task', from = 'detils') { + let url = '/pages/ToDoList/ToDoListCheckSure/ToDoListCheckSure'; uni.navigateTo({ - url: '/pages/checkList/checkListDetils/checkListDetils?item=' + - encodeURIComponent(JSON.stringify(item)) - - }) - + url: `${url}?item=${encodeURIComponent(JSON.stringify(item))}&flag=${flag}&from=${from}` + }); }, + // onClickProductionTask(item) { + + // uni.navigateTo({ + // url: '/pages/checkList/checkListDetils/checkListDetils?item=' + + // encodeURIComponent(JSON.stringify(item)) + + // }) + + // }, search() { this.$refs.popup.open(); -- Gitblit v1.9.3