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",