diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue
index c39550e..0d1ef12 100644
--- a/src/components/360View/medicalRecord/index.vue
+++ b/src/components/360View/medicalRecord/index.vue
@@ -108,7 +108,7 @@
:is-platform="isPlatform"
:patient-detail="patientData"
:case-id="id"
- @handleSaveTable="updateForm"
+ @handleSaveTable="saveFormData"
@formDelete="formDelete"
/>
-
右眼:
+
左眼:
- 泪小点进针,
- 反流(自
- 泪小点反流),患者自诉咽部
- 液体,
+
+
+
+ 泪小点进针,
+
+
+
+ 反流(自
+
+
+
+ 泪小点反流),患者自诉咽部
+
+
+
+ 液体,
分泌物。
- 泪小点进针,
- 反流(自
- 泪小点反流),患者自诉咽部
- 液体,
+
+
+
+ 泪小点进针,
+
+
+
+ 反流(自
+
+
+
+ 泪小点反流),患者自诉咽部
+
+
+
+ 液体,
分泌物。
@@ -92,6 +220,27 @@ export default {
print: {
id: 'lacrimal'
},
+ options: [
+ {
+ label: '上',
+ value: 1
+ },
+ {
+ label: '下',
+ value: 2
+ }
+ ],
+ reOptions: [
+ {
+ label: '有',
+ value: 3
+ },
+ {
+ label: '无',
+ value: 4
+ }
+ ],
+ orgin: '',
confirmData: {
patientName: '',
operator: '',
@@ -119,21 +268,37 @@ export default {
}
}
},
+ watch: {
+ caseId(val) {
+ if (val) {
+ this.queryFormData()
+ }
+ }
+ },
created() {
- this.confirmData.patientName = this.patientDetail.patientName
- const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
- this.confirmData.operator = userData.signImgBase
+ this.orgin = JSON.parse(JSON.stringify(this.confirmData))
+ this.queryFormData()
},
methods: {
// 保存
handleSaveTable() {
- // this.confirmData.jzNumber = window.sessionStorage.getItem('jzNumber')
- // this.$http.post('/mzbl/saveMzblJgshzl', {
- // caseId: this.caseId,
- // ...this.confirmData
- // }).then(() => {
- // this.$emit('handleSaveTable')
- // })
+ const data = JSON.stringify(this.confirmData)
+ this.$emit('handleSaveTable', data)
+ },
+ queryFormData() {
+ this.$http.get('/case/getCaseById', { params: {
+ id: this.caseId
+ }}).then(data => {
+ const detail = data.data.data
+ if (detail.jsonText) {
+ this.confirmData = JSON.parse(detail.jsonText)
+ } else {
+ this.confirmData = JSON.parse(JSON.stringify(this.orgin))
+ this.confirmData.patientName = this.patientDetail.patientName
+ const userData = JSON.parse(window.sessionStorage.getItem('qg-userData'))
+ this.confirmData.operator = userData.signImgBase
+ }
+ })
},
// 删除
formDelete() {
@@ -202,4 +367,7 @@ export default {
::v-deep .el-input__prefix{
display: none;
}
+::v-deep .el-icon-arrow-up{
+ display: none;
+}