feat: 申辩记录详情列表页添加loading效果

mengfanliang-dev-pitfall
mengfanliang 2024-09-04 08:58:24 +08:00
parent 43a4749514
commit 5aca35552e
1 changed files with 10 additions and 2 deletions

View File

@ -10,7 +10,8 @@
<text>申辩时间{{ item.CREATTIME }}</text>
</view>
<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>
</view>
<view class="flex-warp mt-10 subtitle" style="align-items: center">
@ -73,13 +74,20 @@ export default {
},
methods: {
async getData() {
uni.showLoading({
title: "加载中",
});
// TODO: ,
// let resData = await getSafetyenvironmentalExplain({
// INSPECTION_ID: this.INSPECTION_ID,
// CORPINFO_ID: this.userInfo.CORPINFO_ID
// });
// this.list = resData.list;
setTimeout(() => {
this.list = exPlainList;
uni.hideLoading();
}, 400);
},
previewImage(current) {
uni.previewImage({