diff --git a/src/components/360View/followUpRecord/add-follow-record.vue b/src/components/360View/followUpRecord/add-follow-record.vue index dcb675b..85ce614 100644 --- a/src/components/360View/followUpRecord/add-follow-record.vue +++ b/src/components/360View/followUpRecord/add-follow-record.vue @@ -8,7 +8,7 @@ @close="closeDialog" > - + - + {{ item.name }} diff --git a/src/components/360View/followUpRecord/formList/invalid.vue b/src/components/360View/followUpRecord/formList/invalid.vue index 3edff97..7ef0f66 100644 --- a/src/components/360View/followUpRecord/formList/invalid.vue +++ b/src/components/360View/followUpRecord/formList/invalid.vue @@ -2,7 +2,9 @@ - @@ -39,10 +41,10 @@ export default { } }, watch: { - jsonText(val) { - if (val) { - const data = val && JSON.parse(val) - this.radio = data.radio + followId() { + if (this.jsonText) { + const data = JSON.parse(this.jsonText) + this.radio = data && data.radio } else { this.radio = '0' } @@ -51,6 +53,8 @@ export default { created() { if (this.jsonText) { this.radio = this.jsonText && JSON.parse(this.jsonText).radio + } else { + this.radio = '0' } }, methods: { diff --git a/src/components/360View/followUpRecord/formList/outFollow.vue b/src/components/360View/followUpRecord/formList/outFollow.vue index 7332b1b..8c0dffa 100644 --- a/src/components/360View/followUpRecord/formList/outFollow.vue +++ b/src/components/360View/followUpRecord/formList/outFollow.vue @@ -3,7 +3,9 @@
+ + + 翔安医院
- @@ -258,18 +260,19 @@ export default { } }, watch: { - jsonText(val) { - if (val) { + followId() { + if (this.jsonText) { const data = JSON.parse(this.jsonText) this.patientData = data.patientData this.checks = data.checks this.slitChecks = data.slitChecks this.diaMeasures = data.diaMeasures } else { - this.patientData = this.initData.patientData - this.checks = this.initData.checks - this.slitChecks = this.initData.slitChecks - this.diaMeasures = this.initData.diaMeasures + const data = JSON.parse(JSON.stringify(this.initData)) + this.patientData = data.patientData + this.checks = data.checks + this.slitChecks = data.slitChecks + this.diaMeasures = data.diaMeasures } } }, diff --git a/src/components/360View/followUpRecord/formList/phoneFollow.vue b/src/components/360View/followUpRecord/formList/phoneFollow.vue index 6a529a8..a1ccfbb 100644 --- a/src/components/360View/followUpRecord/formList/phoneFollow.vue +++ b/src/components/360View/followUpRecord/formList/phoneFollow.vue @@ -2,7 +2,9 @@
+ + + 翔安医院
- @@ -46,12 +48,12 @@ - + - + @@ -97,6 +99,8 @@
+ + + 翔安医院
OD OS
视力
眼压