Browse Source

保单保存问题修复

360view
bianyaqi 2 years ago
parent
commit
6708613e6f
  1. 17
      src/components/360View/commonForm/eyesVision.vue
  2. 4
      src/components/360View/commonForm/threeVision.vue
  3. 6
      src/components/360View/opticalFile/index.vue

17
src/components/360View/commonForm/eyesVision.vue

@ -585,7 +585,9 @@ export default {
form.cbzdTjgnyc = form.cbzdTjgnyc ? form.cbzdTjgnyc.split(',') : []
form.cbzdXs = form.cbzdXs ? form.cbzdXs.split(',') : []
this.formData = form
this.setSign()
if (!this.formData.id) {
this.setSign()
}
})
},
//
@ -660,6 +662,19 @@ export default {
.j-c{
justify-content: center;
}
::v-deep .el-select {
height: 100%;
line-height: inherit;
.el-input {
height: 100%;
.el-input__inner {
height: 100% !important;
}
.el-input__icon {
line-height: inherit;
}
}
}
.check {
cursor: pointer;
user-select: none;

4
src/components/360View/commonForm/threeVision.vue

@ -387,7 +387,9 @@ export default {
patientId: this.patientId
}}).then(data => {
this.dataForm = data.data.data
this.setSign()
if (!this.dataForm.id) {
this.setSign()
}
})
},
setSign() {

6
src/components/360View/opticalFile/index.vue

@ -46,23 +46,17 @@
<div class="content-right">
<eyesVision
v-if="name === '双眼视功能检查报告单'"
ref="eyes"
:case-id="id"
:only-read="onlyRead"
:patient-id="patientId"
:is-search="isSearch"
:form-content="eyesData"
@del="deleteForm"
/>
<optometryForm v-if="name === '验光报告单'" ref="optome" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" @del="deleteForm" />
<threeVision
v-if="name === '三级视功能检查报告单'"
ref="three"
:only-read="onlyRead"
:case-id="id"
:patient-id="patientId"
:is-search="isSearch"
:form-content="threeData"
@del="deleteForm"
/>
<deveopmentFile v-show="name === '屈光发育档案'" ref="deveope" :case-id="id" :only-read="onlyRead" :patient-id="patientId" :is-search="isSearch" :form-content="deveopData" @del="deleteForm" />

Loading…
Cancel
Save