bug修复

This commit is contained in:
bb_pan 2025-05-27 16:59:12 +08:00
parent eadf6e799a
commit 7984bf3a0a
5 changed files with 11 additions and 7 deletions

View File

@ -10,7 +10,7 @@ class HttpConfig {
// baseUrl = "http://112.29.103.165:21626" // baseUrl = "http://112.29.103.165:21626"
// baseUrl = "http://172.20.10.3:8080" // baseUrl = "http://172.20.10.3:8080"
// baseUrl = "http://10.40.92.8:8080" // baseUrl = "http://10.40.92.8:8080"
// baseUrl = "http://192.168.0.96:28080" // baseUrl = "http://192.168.0.96:18080"
// baseUrl = "http://10.40.92.78:28080" // baseUrl = "http://10.40.92.78:28080"
// baseUrl = "http://192.168.2.127:28080" // baseUrl = "http://192.168.2.127:28080"
// baseUrl = "https://z.csgmall.com.cn/gl" // baseUrl = "https://z.csgmall.com.cn/gl"
@ -170,7 +170,7 @@ class HttpConfig {
}, },
preCrashExam: { preCrashExam: {
fetchPreCrashList: "/scrap/getScrapApplyList", //获取预报废审核列表 fetchPreCrashList: "/scrap/getScrapApplyList", //获取预报废审核列表
fetchPreCrashDetail: "/scrap/getScrapRefuseList", //获取预报废审核列表详情 fetchPreCrashDetail: "/scrap/getScrapAuditList", //获取预报废审核列表详情
submitPreExam: "/scrap/forecastWasteAudit", //提交审核 submitPreExam: "/scrap/forecastWasteAudit", //提交审核
}, },
preCrashList: { preCrashList: {

View File

@ -23,10 +23,10 @@
<checkbox :checked="fetch.checked" /> <checkbox :checked="fetch.checked" />
</checkbox-group> --> </checkbox-group> -->
<view class="upper-lef"> <view class="upper-lef">
{{ fetch.createBy == null ? '' : fetch.createBy.slice(0, 1) }} {{ fetch.applyFor == null ? '' : fetch.applyFor.slice(0, 1) }}
</view> </view>
<view class="upper-rig"> <view class="upper-rig">
<h4 style="font-size: 16px;">{{ fetch.createBy }}</h4> <h4 style="font-size: 16px;">{{ fetch.applyFor }}</h4>
<h4 style="color: #989898;">{{ fetch.phoneNumber }}</h4> <h4 style="color: #989898;">{{ fetch.phoneNumber }}</h4>
</view> </view>
</view> </view>

View File

@ -16,10 +16,10 @@
</checkbox-group> --> </checkbox-group> -->
<view class="upper-lef"> <view class="upper-lef">
<!-- {{ fetch.purchaserName.slice(0, 1) }} --> <!-- {{ fetch.purchaserName.slice(0, 1) }} -->
{{ fetch.purchaserName == null ? '' : fetch.purchaserName.slice(0, 1) }} {{ fetch.inputUser == null ? '' : fetch.inputUser.slice(0, 1) }}
</view> </view>
<view class="upper-rig"> <view class="upper-rig">
<h4 style="font-size: 16px;">{{ fetch.purchaserName }}</h4> <h4 style="font-size: 16px;">{{ fetch.inputUser }}</h4>
</view> </view>
</view> </view>
<view class="fetch-lower" > <view class="fetch-lower" >

View File

@ -370,6 +370,8 @@ import { basePath } from '../../public';
} }
}) })
} }
}).catch(() => {
that.btnDisabled = false
}) })
} }
}, },

View File

@ -158,7 +158,7 @@
item.checked = false; item.checked = false;
}); });
that.preDetailList = res.data.rows; that.preDetailList = res.data.rows;
console.log(that.preDetailList); console.log('🚀 ~ .then ~ that.preDetailList:', that.preDetailList)
} }
}) })
.catch((err) => { .catch((err) => {
@ -290,6 +290,7 @@
} }
}); });
} }
console.log('🚀 ~ this.preDetailList.map ~ this.preDetailList:', this.preDetailList)
}, },
clickPass() { clickPass() {
let that = this; let that = this;
@ -353,6 +354,7 @@
}, },
}, },
onLoad(params) { onLoad(params) {
console.log('🚀 ~ onLoad ~ params:', params)
this.showBtn = params.showBtn; this.showBtn = params.showBtn;
this.taskId = params.taskId; this.taskId = params.taskId;
}, },