|
|
@ -12,39 +12,167 @@ |
|
|
|
患者姓名:<el-input v-model="confirmData.patientName" style="width: 200px" /> |
|
|
|
</div> |
|
|
|
<div class="flex left_eye"> |
|
|
|
<span class="text">左眼:</span> |
|
|
|
<span class="text">右眼:</span> |
|
|
|
<div style="margin-bottom: 20px"> |
|
|
|
<div class="flex" style="flex-wrap: wrap"> |
|
|
|
<el-input v-model="confirmData.odPunctum" style="width: 100px" /><span class="text">泪小点进针,</span> |
|
|
|
<el-input v-model="confirmData.odReflux" style="width: 100px" /><span class="text">反流(自</span> |
|
|
|
<el-input v-model="confirmData.odPunctumReflux" style="width: 100px" /><span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-input v-model="confirmData.odWet" style="width: 100px" /><span class="text">液体,</span> |
|
|
|
<el-select v-model="confirmData.odPunctum" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点进针,</span> |
|
|
|
<el-select v-model="confirmData.odReflux" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">反流(自</span> |
|
|
|
<el-select v-model="confirmData.odPunctumReflux" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-select v-model="confirmData.odWet" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">液体,</span> |
|
|
|
<el-input v-model="confirmData.odSecretion" style="width: 100px" /><span class="text">分泌物。</span> |
|
|
|
</div> |
|
|
|
<div class="flex" style="flex-wrap: wrap;margin-top: 15px"> |
|
|
|
<el-input v-model="confirmData.odPunctum2" style="width: 100px" /><span class="text">泪小点进针,</span> |
|
|
|
<el-input v-model="confirmData.odReflux2" style="width: 100px" /><span class="text">反流(自</span> |
|
|
|
<el-input v-model="confirmData.odPunctumReflux2" style="width: 100px" /><span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-input v-model="confirmData.odWet2" style="width: 100px" /><span class="text">液体,</span> |
|
|
|
<el-select v-model="confirmData.odPunctum2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点进针,</span> |
|
|
|
<el-select v-model="confirmData.odReflux2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">反流(自</span> |
|
|
|
<el-select v-model="confirmData.odPunctumReflux2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-select v-model="confirmData.odWet2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">液体,</span> |
|
|
|
<el-input v-model="confirmData.odSecretion2" style="width: 100px" /><span class="text">分泌物。</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="flex right_eye"> |
|
|
|
<span class="text">右眼:</span> |
|
|
|
<span class="text">左眼:</span> |
|
|
|
<div style="margin-bottom: 20px"> |
|
|
|
<div class="flex" style="flex-wrap: wrap"> |
|
|
|
<el-input v-model="confirmData.osPunctum" style="width: 100px" /><span class="text">泪小点进针,</span> |
|
|
|
<el-input v-model="confirmData.osReflux" style="width: 100px" /><span class="text">反流(自</span> |
|
|
|
<el-input v-model="confirmData.osPunctumReflux" style="width: 100px" /><span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-input v-model="confirmData.osWet" style="width: 100px" /><span class="text">液体,</span> |
|
|
|
<el-select v-model="confirmData.osPunctum" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点进针,</span> |
|
|
|
<el-select v-model="confirmData.osReflux" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">反流(自</span> |
|
|
|
<el-select v-model="confirmData.osPunctumReflux" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-select v-model="confirmData.osWet" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">液体,</span> |
|
|
|
<el-input v-model="confirmData.osSecretion" style="width: 100px" /><span class="text">分泌物。</span> |
|
|
|
</div> |
|
|
|
<div class="flex" style="flex-wrap: wrap;margin-top: 15px"> |
|
|
|
<el-input v-model="confirmData.osPunctum2" style="width: 100px" /><span class="text">泪小点进针,</span> |
|
|
|
<el-input v-model="confirmData.osReflux2" style="width: 100px" /><span class="text">反流(自</span> |
|
|
|
<el-input v-model="confirmData.osPunctumReflux2" style="width: 100px" /><span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-input v-model="confirmData.osWet2" style="width: 100px" /><span class="text">液体,</span> |
|
|
|
<el-select v-model="confirmData.osPunctum2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点进针,</span> |
|
|
|
<el-select v-model="confirmData.osReflux2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">反流(自</span> |
|
|
|
<el-select v-model="confirmData.osPunctumReflux2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in options" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">泪小点反流),患者自诉咽部</span> |
|
|
|
<el-select v-model="confirmData.osWet2" style="width: 100px" clearable placeholder=""> |
|
|
|
<el-option |
|
|
|
v-for="item in reOptions" |
|
|
|
:key="item.value" |
|
|
|
:label="item.label" |
|
|
|
:value="item.value" |
|
|
|
/> |
|
|
|
</el-select> |
|
|
|
<span class="text">液体,</span> |
|
|
|
<el-input v-model="confirmData.osSecretion2" style="width: 100px" /><span class="text">分泌物。</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -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; |
|
|
|
} |
|
|
|
</style> |
|
|
|