工单列表的确认放到状态
This commit is contained in:
@@ -228,9 +228,7 @@ onMenuSelect(e) {
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
loadingFunc(async () => {
|
||||
await this.init()
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
@@ -244,7 +242,9 @@ onMenuSelect(e) {
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
loadingFunc(async () => {
|
||||
await this.init()
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -60,7 +60,13 @@
|
||||
{{ item.address }}
|
||||
</view>
|
||||
<view class="th" style="flex: 0 0 150rpx;">
|
||||
{{ item.current_user_audit_status === 0 ? "处理中" : "已确认" }}
|
||||
<view
|
||||
class="primaryTextBtn"
|
||||
wx:if="{{item.flow_status === 1}}"
|
||||
data-id="{{item.id}}"
|
||||
bind:tap="handleDoNotice"
|
||||
> 确认 </view>
|
||||
<view wx:else> 已确认 </view>
|
||||
</view>
|
||||
<view class="th" style="flex: 0 0 120rpx; justify-content: flex-end; display: flex; align-items: center;">
|
||||
<van-icon name="ellipsis" size="24px" bind:tap="showActionMenu" data-id="{{item.id}}" data-data="{{index}}" data-status="{{item.current_user_audit_status}}" class="more-icon" />
|
||||
@@ -73,11 +79,7 @@
|
||||
|
||||
close-on-click-action
|
||||
/>
|
||||
<!-- <view
|
||||
class="primaryTextBtn"
|
||||
wx:if="{{item.flow_status === 1}}"
|
||||
data-id="{{item.id}}"
|
||||
> 确认 </view> -->
|
||||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user