From 699df9534daddd6718516cd0a7d0692a14589aa7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Tue, 26 Aug 2025 09:48:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=89=E5=AE=A1=E5=A4=84=E7=90=86=E4=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common/home.vue | 5 +++-- src/views/main-content.vue | 5 +++-- .../modules/medicalrecords/medicalList.vue | 22 ++++++++++++++++--- 3 files changed, 25 insertions(+), 7 deletions(-) diff --git a/src/views/common/home.vue b/src/views/common/home.vue index 9353361..5faf0a8 100644 --- a/src/views/common/home.vue +++ b/src/views/common/home.vue @@ -26,7 +26,7 @@ 待处理医案

待审核:{{ medicalNum }}

-

待审批: +

三审待审批: {{ medicalNum2 }}

{ this.medicalNum2 = data.page.total; diff --git a/src/views/main-content.vue b/src/views/main-content.vue index 0b0ca87..17c2789 100644 --- a/src/views/main-content.vue +++ b/src/views/main-content.vue @@ -186,7 +186,8 @@ export default { data: this.$http.adornData({ current: 1, limit: 999999, - state: 3 + state: 3, + infoCount: 2 }) }) ]).then(([res1, res3]) => { @@ -209,7 +210,7 @@ export default { messageNodes.push( h("i", { style: "color: #2568d9; display: block;" - }, `待审批的共有 【${totalApprove}】 条,请及时处理!`) + }, `三审待审批的共有 【${totalApprove}】 条,请及时处理!`) ); } diff --git a/src/views/modules/medicalrecords/medicalList.vue b/src/views/modules/medicalrecords/medicalList.vue index e5a5e69..f1d8b54 100644 --- a/src/views/modules/medicalrecords/medicalList.vue +++ b/src/views/modules/medicalrecords/medicalList.vue @@ -1985,16 +1985,32 @@ console.log('formattedData at line 1286:', formattedData) limit: 999999, state: 3 }) + }), + this.$http({ + url: this.$http.adornUrl( + "/master/medicalRecords/getMedicalRecordsListCheck" + ), + method: "post", + data: this.$http.adornData({ + current: 1, + limit: 999999, + state: 3, + infoCount: 2 + }) }) - ]).then(([res1, res3]) => { + ]).then(([res1, res2,res3]) => { const totalCheck = res1.data.page.total || 0; // 待审核 - const totalApprove = res3.data.page.total || 0; // 待审批 + const totalApprove = res2.data.page.total || 0; // 待审批 + const totalApprove3 = res3.data.page.total || 0; // 待审批 if (totalCheck > 0) { this.$set(this.treeDataList[1], "number", totalCheck); } if (totalApprove > 0) { - this.$set(this.treeDataList[4], "number", totalApprove); + this.$set(this.treeDataList[3], "number", totalApprove); + } + if (totalApprove3 > 0) { + this.$set(this.treeDataList[4], "number", totalApprove3); } }); // this.treeDataList = data.labelList;