From 544af2a4d2ded048c64265bfcba81e556a14e02f 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, 29 Jul 2025 15:18:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/common/common.vue | 4 +- src/views/common/js/commonJS copy.js | 90 +++++ src/views/common/js/commonJS.js | 178 +++++---- .../modules/medicalrecords/addCertificate.vue | 366 ++++++++++++++---- .../modules/medicalrecords/medicalList.vue | 113 +++++- 5 files changed, 585 insertions(+), 166 deletions(-) create mode 100644 src/views/common/js/commonJS copy.js diff --git a/src/views/common/common.vue b/src/views/common/common.vue index 9cbd3af..9081a1e 100644 --- a/src/views/common/common.vue +++ b/src/views/common/common.vue @@ -1,8 +1,8 @@ diff --git a/src/views/modules/medicalrecords/medicalList.vue b/src/views/modules/medicalrecords/medicalList.vue index 9b8dbe6..4406a77 100644 --- a/src/views/modules/medicalrecords/medicalList.vue +++ b/src/views/modules/medicalrecords/medicalList.vue @@ -18,7 +18,9 @@ >
基本标签信息
@@ -86,7 +88,14 @@ > ( {{ currentNode.data ? currentNode.data.title : "" }} ) - + 新增 @@ -115,7 +124,7 @@ :isNoPaging="true" :isShowPagination="true" :isShowNewOperation=" - addForm.id == 'wait' || addForm.id == 'false' ? true : false + addForm.id == 'wait' || addForm.id == 'false' || addForm.id == 'caogao'? true : false " getAssociatedGoodsListValue="result" :tableColumnList="tableColumnList" @@ -134,7 +143,9 @@ :style="{ height: currentNode.data && - ['wait', 'false', 'success'].includes(currentNode.data.id) + ['wait', 'false', 'success', 'caogao'].includes( + currentNode.data.id + ) ? 'calc(100vh - 200px) !important' : 'calc(100vh - 340px)' }" @@ -199,6 +210,7 @@ + + + + + + + { if (data && data.code === 0) { - this.refresh() - + this.refresh(); } else { this.$message.error(data.msg); } }); - }, refresh() { this.$nextTick(() => { @@ -1048,7 +1113,7 @@ export default { // name: "audio--" // }); // } - if (!["wait", "false"].includes(form.id)) { + if (!["wait", "false", "caogao"].includes(form.id)) { await this.getDataList(); this.$nextTick(() => { // this.$refs.commonShop.clear(); @@ -1548,6 +1613,16 @@ export default { console.log("🚀 ~ getDataList ~ data:", data); if (data && data.code === 0) { this.treeDataList = [ + { + title: "草稿箱", + id: "caogao", + disabled: true, + isDisableAddChild: true, + color: "#bbb", + bgcolor: "#f0f0f0", + children: [], + state: 0 + }, { title: "待审核", id: "wait",