diff --git a/public/index.html b/public/index.html index 6f52be6..f449c2f 100644 --- a/public/index.html +++ b/public/index.html @@ -39,8 +39,8 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> diff --git a/src/page-subspecialty/views/modules/optometryManagement/dioptric/HIS-add.vue b/src/page-subspecialty/views/modules/optometryManagement/dioptric/HIS-add.vue index a582c01..89d97dc 100644 --- a/src/page-subspecialty/views/modules/optometryManagement/dioptric/HIS-add.vue +++ b/src/page-subspecialty/views/modules/optometryManagement/dioptric/HIS-add.vue @@ -7,13 +7,13 @@ > - + - + - + @@ -60,9 +60,7 @@ export default { dataFormHis: { patientId: '', patientName: '', - patientIdNumber: '', - mzDoctorId: '', - region: '' + patientIdNumber: '' }, dataForm: {}, tableData: [], @@ -96,10 +94,10 @@ export default { }, // His查询按钮 async findHandle(flag) { - this.loading = true if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { return this.$message.error('搜索内容不能为空') } + this.loading = true const { data: res } = await this.$http.get('/patient/getHisPatient', { params: this.dataFormHis }) @@ -119,7 +117,7 @@ export default { }, // 点击引入按钮 async introduceHandle(scopwRow) { - console.log(scopwRow) + this.visible = false this.$parent.addOrUpdateHandle('', scopwRow, 'HIS引入') } } diff --git a/src/page-subspecialty/views/modules/outpatientManagement/call/HIS-add.vue b/src/page-subspecialty/views/modules/outpatientManagement/call/HIS-add.vue index 6067d7b..02a2b39 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/call/HIS-add.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/call/HIS-add.vue @@ -7,13 +7,13 @@ > - + - + - + @@ -60,9 +60,7 @@ export default { dataFormHis: { patientId: '', patientName: '', - patientIdNumber: '', - mzDoctorId: '', - region: '' + patientIdNumber: '' }, dataForm: {}, tableData: [], @@ -96,10 +94,10 @@ export default { }, // His查询按钮 async findHandle(flag) { - this.loading = true if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { return this.$message.error('搜索内容不能为空') } + this.loading = true const { data: res } = await this.$http.get('/patient/getHisPatient', { params: this.dataFormHis }) @@ -119,6 +117,7 @@ export default { }, // 点击引入按钮 introduceHandle(item) { + this.visible = false this.$emit('openAdd', item) } } diff --git a/src/page-subspecialty/views/modules/outpatientManagement/treat/HIS-add.vue b/src/page-subspecialty/views/modules/outpatientManagement/treat/HIS-add.vue index 6e2b2ae..198fecb 100644 --- a/src/page-subspecialty/views/modules/outpatientManagement/treat/HIS-add.vue +++ b/src/page-subspecialty/views/modules/outpatientManagement/treat/HIS-add.vue @@ -7,13 +7,13 @@ > - + - + - + @@ -93,10 +93,10 @@ export default { }, // His查询按钮 async findHandle(flag) { - this.loading = true if (flag === 2 && !this.dataFormHis.patientId && !this.dataFormHis.patientName && !this.dataFormHis.patientIdNumber) { return this.$message.error('搜索内容不能为空') } + this.loading = true const { data: res } = await this.$http.get('/patient/getHisPatient', { params: this.dataFormHis }) @@ -116,6 +116,7 @@ export default { }, // 点击引入按钮 introduceHandle(item) { + this.visible = false this.$emit('openAdd', item) } }