确认工单参数问题
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user