diff --git a/src/components/360View/commonForm/eyesVision.vue b/src/components/360View/commonForm/eyesVision.vue index 7996ee7..0983ea8 100644 --- a/src/components/360View/commonForm/eyesVision.vue +++ b/src/components/360View/commonForm/eyesVision.vue @@ -200,7 +200,7 @@
调节功能异常:
@@ -529,7 +529,7 @@ export default { created() { }, mounted() { - this.originTableData = JSON.parse(JSON.stringify(this.tableData)) + this.originTableData = JSON.parse(JSON.stringify(this.tableData)) this.getPatientData() }, methods: { @@ -548,6 +548,22 @@ export default { fileNUm: '' } this.tableData = this.originTableData + this.getPatientData() + }, + async getPatientData() { + const { data: res } = await this.$http.get( + '/patient/view/getPatientData', + { + params: { + patientId: this.patientId + } + } + ) + if (res.code === 0) { + this.dataForm = res.data + } else { + this.$message.error(res.msg) + } }, handleSaveTable() { const data = {