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)