From 4455f9cc363f52faaee9399c2ca1e685ecdc61be Mon Sep 17 00:00:00 2001 From: hongchao <3228015117@qq.com> Date: Mon, 2 Jun 2025 18:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B5=E5=AD=90=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/toolsLease/toolsLease.vue | 35 +++++++++++++++++++---------- 1 file changed, 23 insertions(+), 12 deletions(-) diff --git a/src/pages/toolsLease/toolsLease.vue b/src/pages/toolsLease/toolsLease.vue index 4e69c64..7ccacb6 100644 --- a/src/pages/toolsLease/toolsLease.vue +++ b/src/pages/toolsLease/toolsLease.vue @@ -45,7 +45,7 @@ +
是否签名: + +
@@ -126,6 +133,15 @@ const options = ref([ }, }, ]) +const optionsFinish = ref([ + { + text: '电子签名', + style: { + backgroundColor: '#c6bf3b', + }, + }, +]) + const finish = computed(() => { if (total.value === tableList.value.length) return true }) @@ -191,19 +207,14 @@ const onClickSwipe = async (e, item) => { console.log('🚀 ~ onClickSwipe ~ e:', e, item) if (e.index == 0) { // 电子签名 - const params = JSON.stringify({ - id: item.id, - taskId: item.taskId, - isSign: true, - }) console.log('电子签名-e', e) console.log('电子签名-item', item) - // const params = { - // id: item.id, - // leaseSignUrl: item.leaseSignUrl, - // leaseSignType: item.leaseSignType, - // isLease: true, - // } + const params = { + id: item.id, + leaseSignUrl: item.leaseSignUrl, + // leaseSignType: item.leaseSignType, + isLease: true, + } uni.navigateTo({ url: `/pages/my/signature?params=${JSON.stringify(params)}`, })