From 8799a4fe9c5739057ecb7c94f3624ffe7cd51c32 Mon Sep 17 00:00:00 2001 From: yangzhe Date: Fri, 16 May 2025 11:19:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=82=E5=B8=B8=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/cleanPlan.vue | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/pages/index/cleanPlan.vue b/pages/index/cleanPlan.vue index 297145e..4b84706 100644 --- a/pages/index/cleanPlan.vue +++ b/pages/index/cleanPlan.vue @@ -321,10 +321,34 @@ export default { }); return; } else { - // 未保洁 - uni.navigateTo({ - url: "/pages/index/list?params=" + params, + uni.showModal({ + title: item.aeraNmae, + content: "已完成任务,请直接刷卡\n如卡片异常请进行上报。", + confirmText: "确定", + cancelText: "异常上报", + confirmColor: "#333333", + cancelColor: "#007aff", + showCancel: true, + success: function (res) { + if (res.confirm) { + // 点击确定 + // console.log("点击确定"); + + return; + } else { + // 点击异常上报 + // console.log("params", params); + uni.navigateTo({ + url: "/pages/index/list?params=" + params, + }); + } + }, }); + + // 未保洁 + // uni.navigateTo({ + // url: "/pages/index/list?params=" + params, + // }); } },