工单列表的确认放到状态

This commit is contained in:
2025-11-17 17:02:45 +08:00
parent db1adea70a
commit 3a1b7f5a2a
3 changed files with 14 additions and 12 deletions

View File

@@ -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()
})
}, },
/** /**

View File

@@ -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>

View File

@@ -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;
// 体验版 // 体验版