From 51a50fcd8d48ca9df19270b7c68f1a900d272f52 Mon Sep 17 00:00:00 2001 From: qiaomu <3520484422@qq.com> Date: Tue, 18 Nov 2025 16:04:56 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E5=B7=A5=E5=8D=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/workBenchTodoList/index.js | 4 ++++ pages/workBenchTodoList/index.wxml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/workBenchTodoList/index.js b/pages/workBenchTodoList/index.js index 6b8133b..84c5a6d 100644 --- a/pages/workBenchTodoList/index.js +++ b/pages/workBenchTodoList/index.js @@ -85,6 +85,10 @@ onMenuSelect(e) { this.handleDoNotice(id); break; } +}, +handleDoNoticeBtn(e) { + const id = e.currentTarget.dataset.id; + this.handleDoNotice(id) }, async handleDoNotice(id) { const { code, message } = await doNoticeFlow(id) diff --git a/pages/workBenchTodoList/index.wxml b/pages/workBenchTodoList/index.wxml index 2f31823..7655ff8 100644 --- a/pages/workBenchTodoList/index.wxml +++ b/pages/workBenchTodoList/index.wxml @@ -64,7 +64,7 @@ class="primaryTextBtn" wx:if="{{item.flow_status === 1}}" data-id="{{item.id}}" - bind:tap="handleDoNotice" + bind:tap="handleDoNoticeBtn" > 确认 已确认