工单确认
This commit is contained in:
@@ -14,12 +14,14 @@ Page({
|
||||
size: 20,
|
||||
noticeFlowType,
|
||||
actionItems: [{
|
||||
name: '确认',
|
||||
value: 'status'
|
||||
}],
|
||||
name: '详情',
|
||||
value: 'detail'
|
||||
},{
|
||||
name: '确认',
|
||||
value: 'ok'
|
||||
}],
|
||||
},
|
||||
showActionMenu(e) {
|
||||
console.log("e", e)
|
||||
this.setData({
|
||||
currentActionSheet: e.currentTarget.dataset.id
|
||||
});
|
||||
@@ -55,9 +57,9 @@ onMenuSelect(e) {
|
||||
},
|
||||
jumpToDetail(id) {
|
||||
|
||||
// wx.navigateTo({
|
||||
// url: '/pages/workOrderDetail/index?id=' + id,
|
||||
// })
|
||||
wx.navigateTo({
|
||||
url: '/pages/workOrderDetail/index?id=' + id,
|
||||
})
|
||||
},
|
||||
onConfirm(e) {
|
||||
const { type, data = {}, way } = e.detail;
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
{{ item.flow_status === 1 ? "处理中" : "已确认" }}
|
||||
</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-data="{{index}}" class="more-icon" />
|
||||
<van-icon name="ellipsis" size="24px" bind:tap="showActionMenu" data-id="{{item.id}}" data-data="{{index}}" class="more-icon" />
|
||||
<van-action-sheet
|
||||
show="{{ currentActionSheet === item.id }}"
|
||||
actions="{{ actionItems }}"
|
||||
|
||||
Reference in New Issue
Block a user