Browse Source

泪道冲洗表单修改

360view
bianyaqi 2 years ago
parent
commit
c9e41d009c
  1. 2
      src/components/360View/medicalRecord/index.vue
  2. 224
      src/page-subspecialty/views/modules/formList/Lacrimal.vue

2
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"
/>
<InjectionTherapy

224
src/page-subspecialty/views/modules/formList/Lacrimal.vue

@ -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>

Loading…
Cancel
Save