工单列表的确认放到状态
This commit is contained in:
@@ -228,9 +228,7 @@ onMenuSelect(e) {
|
|||||||
* 生命周期函数--监听页面加载
|
* 生命周期函数--监听页面加载
|
||||||
*/
|
*/
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
loadingFunc(async () => {
|
|
||||||
await this.init()
|
|
||||||
})
|
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -244,7 +242,9 @@ onMenuSelect(e) {
|
|||||||
* 生命周期函数--监听页面显示
|
* 生命周期函数--监听页面显示
|
||||||
*/
|
*/
|
||||||
onShow() {
|
onShow() {
|
||||||
|
loadingFunc(async () => {
|
||||||
|
await this.init()
|
||||||
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -60,7 +60,13 @@
|
|||||||
{{ item.address }}
|
{{ item.address }}
|
||||||
</view>
|
</view>
|
||||||
<view class="th" style="flex: 0 0 150rpx;">
|
<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>
|
||||||
<view class="th" style="flex: 0 0 120rpx; justify-content: flex-end; display: flex; align-items: center;">
|
<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" />
|
<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
|
close-on-click-action
|
||||||
/>
|
/>
|
||||||
<!-- <view
|
|
||||||
class="primaryTextBtn"
|
|
||||||
wx:if="{{item.flow_status === 1}}"
|
|
||||||
data-id="{{item.id}}"
|
|
||||||
> 确认 </view> -->
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|||||||
@@ -45,10 +45,10 @@ export function getConfigByEnv() {
|
|||||||
switch (envVersion) {
|
switch (envVersion) {
|
||||||
// 开发版
|
// 开发版
|
||||||
case 'develop':
|
case 'develop':
|
||||||
// api = "http://localhost:8000"
|
api = "http://localhost:8000"
|
||||||
// api = "https://zgd.hbhcbn.com/api3"
|
// api = "https://zgd.hbhcbn.com/api3"
|
||||||
// TODO: 发布正式时使用此路径
|
// TODO: 发布正式时使用此路径
|
||||||
api = "https://zgd.hbhcbn.com/wxApi"
|
// api = "https://zgd.hbhcbn.com/wxApi"
|
||||||
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
|
// api = "http://127.0.0.1:4523/m1/4143821-0-default"
|
||||||
break;
|
break;
|
||||||
// 体验版
|
// 体验版
|
||||||
|
|||||||
Reference in New Issue
Block a user