From 76af820e2e11366b322705b51c351ace3d40608a Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期二, 01 七月 2025 16:46:04 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region --- src/views/doctor/check/index.vue | 23 ++++++++++++++++++++++- 1 files changed, 22 insertions(+), 1 deletions(-) diff --git a/src/views/doctor/check/index.vue b/src/views/doctor/check/index.vue index db9f5f4..2f34f30 100644 --- a/src/views/doctor/check/index.vue +++ b/src/views/doctor/check/index.vue @@ -198,6 +198,13 @@ <!-- 鐐瑰嚮鍙宠竟寮瑰嚭灞� --> <el-drawer :visible.sync="drawer" :with-header="false" size="70%" :before-close="handleClose"> + <div + v-loading="isLoading" + element-loading-text="姝e湪鍔犺浇鏁版嵁锛岃绋嶅��..." + element-loading-spinner="el-icon-loading" + element-loading-background="rgba(255, 255, 255, 0.8)" + style="height: 100%; padding: 20px; position: relative" + > <div style="font-size: 14px"> <table style=" width: 96%; @@ -577,6 +584,7 @@ <Historicalreport v-show="lishi" :reportHistorydata="reportHistorydata"></Historicalreport> </el-col> </el-row> + </div> </el-drawer> <Public ref="aaa" :row="row" @add="handleChanges" /> <jianceResult ref="bbb" @add="handleChangesZt" /> @@ -909,6 +917,7 @@ proParentList: [], tjNumber: "", DeptadviceAll: [], + isLoading: false, project: {}, summaryList: [], summaryAll: [], @@ -1758,6 +1767,10 @@ this.getDept(row.tjNumber); this.loading = true; this.drawer = true; + this.isLoading = true; + this.Parent = [] + this.tableAll= [] + this.proParentList = {} this.$nextTick(() => this.initInputDOM()); this.tableAll = row; this.tjNumber = row.tjNumber; @@ -1765,6 +1778,7 @@ getParentList(this.tjNumber).then((response) => { if (response.data) { this.loading = false; + this.isLoading = false; this.Parent = response.data; this.Parent.forEach((item) => { if (item.type === 1) item.proName += " 鉁�"; @@ -1782,7 +1796,14 @@ this.Parent = []; this.$modal.msgError("璇ョ瀹や笅鏃犻」鐩紒"); } - }); + }) .catch((error) => { + console.error("璇锋眰澶辫触:", error); + this.$modal.msgError("鏁版嵁鍔犺浇澶辫触"); + }) + .finally(() => { + this.loading = false; + this.isLoading = false; // 纭繚鏈�缁堢姸鎬侀噸缃� + }); this.getbzlist(); }, -- Gitblit v1.8.0