|
|
@ -89,6 +89,7 @@ export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
origin: {}, |
|
|
|
originForm: {}, |
|
|
|
confirmData: { |
|
|
|
fmwOd: '', |
|
|
|
fmwOs: '', |
|
|
@ -154,7 +155,7 @@ export default { |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.origin = JSON.parse(JSON.stringify(this.formData)) |
|
|
|
this.originForm = JSON.parse(JSON.stringify(this.formData)) |
|
|
|
this.getReportInfo() |
|
|
|
}, |
|
|
|
methods: { |
|
|
@ -215,18 +216,20 @@ export default { |
|
|
|
} |
|
|
|
this.$http.get('/mzbl/getMzblBgInfo', { params }).then(data => { |
|
|
|
const res = data.data.data |
|
|
|
this.setData(res) |
|
|
|
}) |
|
|
|
}, |
|
|
|
setData(res) { |
|
|
|
this.confirmData = res |
|
|
|
this.handleResValue(res.fmwOd, this.formData.form.OD) |
|
|
|
this.handleResValue(res.fmwOs, this.formData.form.OS) |
|
|
|
this.confirmData.remark = res.remark |
|
|
|
this.confirmData.operator = res.operator |
|
|
|
this.confirmData.operateDate = res.operateDate |
|
|
|
if (!res.jzNumber) { |
|
|
|
this.formData = JSON.parse(JSON.stringify(this.originForm)) |
|
|
|
this.confirmData.patientName = this.patientDetail.patientName |
|
|
|
const userData = JSON.parse(window.sessionStorage.getItem('qg-userData')) |
|
|
|
this.confirmData.operator = userData.signImgBase |
|
|
|
this.confirmData.operateDate = this.$moment().format('YYYY-MM-DD') |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 获取项目id列表 |
|
|
|
async queryProject() { |
|
|
|