From ffd20ad90aa3dfb3ce5b3860f3556cdbb75f1c7a Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Thu, 24 Nov 2022 17:32:23 +0800
Subject: [PATCH] 优化loading
---
src/views/specialCheck/components/wholesaleForm.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/specialCheck/components/wholesaleForm.vue b/src/views/specialCheck/components/wholesaleForm.vue
index 643ec2f..1d1295f 100644
--- a/src/views/specialCheck/components/wholesaleForm.vue
+++ b/src/views/specialCheck/components/wholesaleForm.vue
@@ -168,7 +168,6 @@
methods:{
async getCheckUnitType(){
const t = this
- t.listLoading = true
let res = await getCheckUnitType()
if(res.data.code === "200"){
t.unitType = res.data.result.checkUnitType
@@ -178,10 +177,10 @@
message:res.data.message
})
}
- t.listLoading = false
},
async getCheckTask(){
const t = this
+ t.listLoading = true
const res = await getSpecialCheckTask()
if(res.data.code === "200"){
t.taskId = res.data.result.specialCheckTaskSimplifyInfos[0].id
@@ -194,6 +193,7 @@
message:res.data.message
})
}
+ t.listLoading = false
},
async getEnterpriseCompleteInfoList(){
const t = this
--
Gitblit v1.9.2