Browse Source

peter

360view
newPeter7 2 years ago
parent
commit
e2a6c074de
  1. 11
      src/components/360View/commonForm/deveopmentFIle-copy.vue
  2. 16
      src/components/360View/commonForm/optometryForm-copy.vue
  3. 4
      src/components/360View/medicalRecord/index.vue
  4. 4
      src/components/360View/opticalFile/index.vue

11
src/components/360View/commonForm/deveopmentFIle-copy.vue

@ -326,6 +326,7 @@ export default {
}, },
dataForm: { dataForm: {
id: '', id: '',
caseId: this.caseId,
patientId: '', patientId: '',
patientName: '', patientName: '',
patientSex: '', patientSex: '',
@ -511,9 +512,15 @@ export default {
}] }]
} }
}, },
watch: {
caseId: {
handler: function(newV, oldV) {
this.queryForm()
}
}
},
mounted() { mounted() {
// this.originTableData = JSON.parse(JSON.stringify(this.tableData))
// this.originHeadData = JSON.parse(JSON.stringify(this.headData))
this.queryForm()
this.getPatientData() this.getPatientData()
}, },
methods: { methods: {

16
src/components/360View/commonForm/optometryForm-copy.vue

@ -13,7 +13,7 @@
验光报告单 验光报告单
</p> </p>
<div style="display: flex;justify-content: space-around"> <div style="display: flex;justify-content: space-around">
<span class="bold">登记号<el-input v-model="dataForm.patientId" style="width: 80px" placeholder="" /></span>
<span class="bold">登记号<el-input v-model="dataForm.patientId" style="width: 95px" placeholder="" /></span>
<span class="bold">姓名<el-input v-model="dataForm.patientName" style="width: 90px" placeholder="" /></span> <span class="bold">姓名<el-input v-model="dataForm.patientName" style="width: 90px" placeholder="" /></span>
<span class="bold">性别<el-input v-model="dataForm.patientSex" style="width: 60px" placeholder="" /></span> <span class="bold">性别<el-input v-model="dataForm.patientSex" style="width: 60px" placeholder="" /></span>
<span class="bold">年龄<el-input v-model="dataForm.patientAge" style="width: 60px" placeholder="" /></span> <span class="bold">年龄<el-input v-model="dataForm.patientAge" style="width: 60px" placeholder="" /></span>
@ -537,6 +537,14 @@ export default {
} }
} }
}, },
watch: {
caseId: {
handler: function(newV, oldV) {
this.queryForm()
this.initWebSoket()
}
}
},
beforeUnmount() { beforeUnmount() {
clearTimeout(this.timeoutObj) clearTimeout(this.timeoutObj)
clearTimeout(this.serverTimeoutObj) clearTimeout(this.serverTimeoutObj)
@ -978,6 +986,12 @@ export default {
margin-right: 5px; margin-right: 5px;
} }
} }
.el-input__inner {
padding: 0;
border: none;
text-align: center;
border-bottom: 1px solid #8e8c8c;
}
.bold{ .bold{
font-weight: 700; font-weight: 700;
} }

4
src/components/360View/medicalRecord/index.vue

@ -63,8 +63,8 @@
/> />
</div> </div>
</template> </template>
<div style="height: 100%;background: #fff;display: flex;align-items: center;justify-content: center">
<img v-if="!formList.length" src="@/assets/img/nodata.png" alt="">
<div v-if="!formList.length" style="height: 100%;background: #fff;display: flex;align-items: center;justify-content: center">
<img src="@/assets/img/nodata.png" alt="">
</div> </div>
</div> </div>
</div> </div>

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

@ -44,8 +44,8 @@
</div> </div>
</div> </div>
<div class="content-right"> <div class="content-right">
<div style="height: 100%;background: #fff;display: flex;align-items: center;justify-content: center">
<img v-if="!formList.length" src="@/assets/img/nodata.png" alt="">
<div v-if="!formList.length" style="height: 100%;background: #fff;display: flex;align-items: center;justify-content: center">
<img src="@/assets/img/nodata.png" alt="">
</div> </div>
<eyesVision <eyesVision
v-if="name === '双眼视功能检查报告单'" v-if="name === '双眼视功能检查报告单'"

Loading…
Cancel
Save