From 9259c2235e31708f954a3578bde3c6a7ab9753e8 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期一, 30 十二月 2024 15:51:40 +0800 Subject: [PATCH] 1、工作流相关组件更新 2、偶尔出现退出登录时路由报错的bug导致无法回到登录页面 3、全局配置文件修改,移除VITE_UPLOAD_URL配置等 --- src/views/data/plan/item/ItemChart.vue | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/views/data/plan/item/ItemChart.vue b/src/views/data/plan/item/ItemChart.vue index d590f1b..4f43986 100644 --- a/src/views/data/plan/item/ItemChart.vue +++ b/src/views/data/plan/item/ItemChart.vue @@ -44,7 +44,7 @@ </el-button> </el-form-item> </el-form> - <div ref="chartDomPlan" class="result-chart"></div> + <div ref="chartDomPlan" class="result-chart" v-loading="loading"></div> </el-dialog> </template> @@ -70,6 +70,7 @@ start: undefined, end: undefined, }) +const loading = ref(true) // 列表的加载中 function getYMDHMS() { let timestamp = new Date().getTime(); @@ -123,12 +124,14 @@ async function getDataList() { visible.value = true; + loading.value = true if (dataForm.value.id) { try { queryParams.itemNos = [dataForm.value.itemNo]; queryParams.start = dataForm.value.startTime; queryParams.end = dataForm.value.endTime; const data = await ItemApi.getPlanChart(queryParams) + loading.value = false let seriesData = [] data.series.forEach(item => { seriesData.push({ -- Gitblit v1.9.3