feat: 申辩记录详情列表页添加loading效果
parent
43a4749514
commit
5aca35552e
|
@ -10,7 +10,8 @@
|
||||||
<text>申辩时间:{{ item.CREATTIME }}</text>
|
<text>申辩时间:{{ item.CREATTIME }}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-between mt-10 subtitle">
|
<view class="flex-between mt-10 subtitle">
|
||||||
<text>申辩状态: {{ item.ISPASS === '0' ? '待审核' : (item.ISPASS === '1' ? '申辩成功' : item.ISPASS === '2' ? '申辩驳回' : '历史数据')
|
<text>申辩状态: {{ item.ISPASS === '0' ? '待审核' : (item.ISPASS === '1' ? '申辩成功' : item.ISPASS === '2' ? '申辩驳回' :
|
||||||
|
'历史数据')
|
||||||
}}</text>
|
}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="flex-warp mt-10 subtitle" style="align-items: center">
|
<view class="flex-warp mt-10 subtitle" style="align-items: center">
|
||||||
|
@ -73,13 +74,20 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async getData() {
|
async getData() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: "加载中",
|
||||||
|
});
|
||||||
|
// TODO: 目前因后端资源接口未完成,故注释接口数据接入逻辑
|
||||||
// let resData = await getSafetyenvironmentalExplain({
|
// let resData = await getSafetyenvironmentalExplain({
|
||||||
// INSPECTION_ID: this.INSPECTION_ID,
|
// INSPECTION_ID: this.INSPECTION_ID,
|
||||||
// CORPINFO_ID: this.userInfo.CORPINFO_ID
|
// CORPINFO_ID: this.userInfo.CORPINFO_ID
|
||||||
// });
|
// });
|
||||||
// this.list = resData.list;
|
// this.list = resData.list;
|
||||||
|
|
||||||
this.list = exPlainList;
|
setTimeout(() => {
|
||||||
|
this.list = exPlainList;
|
||||||
|
uni.hideLoading();
|
||||||
|
}, 400);
|
||||||
},
|
},
|
||||||
previewImage(current) {
|
previewImage(current) {
|
||||||
uni.previewImage({
|
uni.previewImage({
|
||||||
|
|
Loading…
Reference in New Issue