确认工单参数问题

This commit is contained in:
2025-11-18 16:04:56 +08:00
parent 4779cc1718
commit 51a50fcd8d
2 changed files with 5 additions and 1 deletions

View File

@@ -85,6 +85,10 @@ onMenuSelect(e) {
this.handleDoNotice(id); this.handleDoNotice(id);
break; break;
} }
},
handleDoNoticeBtn(e) {
const id = e.currentTarget.dataset.id;
this.handleDoNotice(id)
}, },
async handleDoNotice(id) { async handleDoNotice(id) {
const { code, message } = await doNoticeFlow(id) const { code, message } = await doNoticeFlow(id)

View File

@@ -64,7 +64,7 @@
class="primaryTextBtn" class="primaryTextBtn"
wx:if="{{item.flow_status === 1}}" wx:if="{{item.flow_status === 1}}"
data-id="{{item.id}}" data-id="{{item.id}}"
bind:tap="handleDoNotice" bind:tap="handleDoNoticeBtn"
> 确认 </view> > 确认 </view>
<view wx:else> 已确认 </view> <view wx:else> 已确认 </view>
</view> </view>