From 5d72fdffd36b2ea2ccd230581e799010d335b463 Mon Sep 17 00:00:00 2001 From: bianyaqi Date: Fri, 14 Apr 2023 16:19:36 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=97=E4=BD=99=E4=BB=A3=E7=A0=81=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../360View/commonForm/eyesVision.vue | 5 ----- .../360View/commonForm/threeVision.vue | 5 ----- src/components/360View/opticalFile/index.vue | 22 +++++-------------- 3 files changed, 6 insertions(+), 26 deletions(-) diff --git a/src/components/360View/commonForm/eyesVision.vue b/src/components/360View/commonForm/eyesVision.vue index bcffd06..0d83c53 100644 --- a/src/components/360View/commonForm/eyesVision.vue +++ b/src/components/360View/commonForm/eyesVision.vue @@ -351,9 +351,6 @@ export default { caseId: { type: String, default: '' - }, - formDate: { - type: String } }, data() { @@ -580,7 +577,6 @@ export default { getSysgnjc() { this.$http.get('/sysgnjc/getSysgnjc', { params: { caseId: this.caseId, - formDate: this.formDate, patientId: this.patientId }}).then(data => { const form = data.data.data @@ -624,7 +620,6 @@ export default { const { data: res } = await this.$http.post('/sysgnjc/saveSysgnjc', params) if (res.code === 0) { this.$message.success('保存成功') - this.$emit('save') } else { this.$message.error(res.msg) } diff --git a/src/components/360View/commonForm/threeVision.vue b/src/components/360View/commonForm/threeVision.vue index 4e2248a..5dcb09c 100644 --- a/src/components/360View/commonForm/threeVision.vue +++ b/src/components/360View/commonForm/threeVision.vue @@ -214,9 +214,6 @@ export default { caseId: { type: String, default: '' - }, - formDate: { - type: String } }, data() { @@ -387,7 +384,6 @@ export default { getSysgnjc() { this.$http.get('/sjsgnjc/getSysgnjc', { params: { caseId: this.caseId, - formDate: this.formDate, patientId: this.patientId }}).then(data => { this.dataForm = data.data.data @@ -430,7 +426,6 @@ export default { const { data: res } = await this.$http.post('/sjsgnjc/savesjsgnjc', params) if (res.code === 0) { this.$message.success('保存成功') - this.$emit('save') } else { this.$message.error(res.msg) } diff --git a/src/components/360View/opticalFile/index.vue b/src/components/360View/opticalFile/index.vue index 9c64a31..1a9738e 100644 --- a/src/components/360View/opticalFile/index.vue +++ b/src/components/360View/opticalFile/index.vue @@ -47,13 +47,11 @@ @@ -62,14 +60,12 @@ ref="three" :only-read="onlyRead" :case-id="id" - :form-date="formDate" :patient-id="patientId" :is-search="isSearch" :form-content="threeData" - @save="updateForm" @del="deleteForm" /> - + @@ -119,8 +115,7 @@ export default { threeData: {}, optomeData: {}, eyesData: {}, - formType: '报告单', - formDate: '' + formType: '报告单' } }, mounted() { @@ -131,15 +126,14 @@ export default { this.curIndex = index this.id = item.id this.name = item.name - this.formDate = item.createTime if (item.name === '验光报告单') { - this.$nextTick(() => { + this.$nextTick(() => { this.$refs.optome.queryForm() - }) + }) } else if (item.name === '屈光发育档案') { - this.$nextTick(() => { + this.$nextTick(() => { this.$refs.deveope.queryForm() - }) + }) } }, // 添加表单 @@ -164,10 +158,6 @@ export default { this.$message.error(res.msg) } }, - // 编辑保存表单内容 - updateForm() { - this.getFormList() - }, async deleteForm() { const params = { id: this.id