From 5aca35552e0d6ebbc8f6c837ca002be9654f7606 Mon Sep 17 00:00:00 2001 From: mengfanliang Date: Wed, 4 Sep 2024 08:58:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=94=B3=E8=BE=A9=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E5=88=97=E8=A1=A8=E9=A1=B5=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?loading=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/defense-record/plead-list.vue | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/safetyEnvirSubPackages/pages/defense-record/plead-list.vue b/safetyEnvirSubPackages/pages/defense-record/plead-list.vue index 6fba72e..2cffa70 100644 --- a/safetyEnvirSubPackages/pages/defense-record/plead-list.vue +++ b/safetyEnvirSubPackages/pages/defense-record/plead-list.vue @@ -10,7 +10,8 @@ 申辩时间:{{ item.CREATTIME }} - 申辩状态: {{ item.ISPASS === '0' ? '待审核' : (item.ISPASS === '1' ? '申辩成功' : item.ISPASS === '2' ? '申辩驳回' : '历史数据') + 申辩状态: {{ item.ISPASS === '0' ? '待审核' : (item.ISPASS === '1' ? '申辩成功' : item.ISPASS === '2' ? '申辩驳回' : + '历史数据') }} @@ -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; - this.list = exPlainList; + setTimeout(() => { + this.list = exPlainList; + uni.hideLoading(); + }, 400); }, previewImage(current) { uni.previewImage({