From 9169a74e1d7b2d24d20d708b4498d7ca17eda9d8 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期一, 28 四月 2025 13:42:52 +0800 Subject: [PATCH] 1. 新增自动评估监测数据统计导入功能 2. 修改问题审核界面巡查点次统计没有根据场景类型切换的问题 --- src/views/fysp/check/components/CompLedgerPhoto.vue | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/fysp/check/components/CompLedgerPhoto.vue b/src/views/fysp/check/components/CompLedgerPhoto.vue index 5d60c8c..79f5d31 100644 --- a/src/views/fysp/check/components/CompLedgerPhoto.vue +++ b/src/views/fysp/check/components/CompLedgerPhoto.vue @@ -1,5 +1,6 @@ <template> <FYImageSelectDialog + v-loading="loading" title="鍙拌处鍥剧墖" :typeList="typeList" :typeImgMap="typeImgMap" @@ -11,7 +12,7 @@ import userApi from '@/api/fysp/userApi.js'; import { svToTz } from '@/enum/scene'; import { $fytz } from '@/api/index'; -import { useCloned } from '@vueuse/core'; +const loading = ref(true) const props = defineProps({ // 灞曠ず妯″紡 mode: { @@ -27,6 +28,7 @@ const typeImgMap = ref(new Map()); function getList() { userApi.getTzId(props.subtask.sceneId).then((res) => { + loading.value = true let tzUserId = res.tzUserId; problemApiFytz @@ -62,7 +64,7 @@ typeImgMap.value.get(type.typeId).push(item); }); } - }); + }).finally(() => loading.value = false); }); } function getMonth() { -- Gitblit v1.9.3