From 775070f13cee436b0792c119f75539363874d10d Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Thu, 27 Apr 2023 16:03:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E7=AA=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index.html | 14 ++++++-------- .../views/modules/nurseManagement/addProject.vue | 6 ++++-- .../views/modules/nurseManagement/myDialog.vue | 4 +--- 3 files changed, 11 insertions(+), 13 deletions(-) diff --git a/public/index.html b/public/index.html index 76d1c81..6f52be6 100644 --- a/public/index.html +++ b/public/index.html @@ -5,7 +5,7 @@ - + + q <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'staging') { %> <% } %> @@ -55,8 +54,7 @@ <% } %> diff --git a/src/page-subspecialty/views/modules/nurseManagement/addProject.vue b/src/page-subspecialty/views/modules/nurseManagement/addProject.vue index a8898cb..c2c890e 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/addProject.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/addProject.vue @@ -206,7 +206,9 @@ export default { watch: { isShow(val) { this.show = val - this.getDetailData() + if (val) { + this.getDetailData() + } } }, created() { @@ -224,8 +226,8 @@ export default { if (this.title === '修改项目') { this.$nextTick(() => { this.message = '修改成功' - this.tableData = JSON.parse(JSON.stringify(this.projectDetail.openVoList)) this.form = JSON.parse(JSON.stringify(this.projectDetail)) + this.tableData = JSON.parse(JSON.stringify(this.projectDetail.openVoList)) || this.originTable this.form.project = this.projectDetail.itemId }) } else { diff --git a/src/page-subspecialty/views/modules/nurseManagement/myDialog.vue b/src/page-subspecialty/views/modules/nurseManagement/myDialog.vue index 3c67899..7358373 100644 --- a/src/page-subspecialty/views/modules/nurseManagement/myDialog.vue +++ b/src/page-subspecialty/views/modules/nurseManagement/myDialog.vue @@ -2,6 +2,7 @@ @@ -43,9 +44,6 @@ export default { this.dialogVisible = val } }, - created() { - console.log('asdfasdf') - }, methods: { handleClose() { this.$emit('close', false)