Browse Source

doctor

master
pengjun 2 years ago
parent
commit
ec0cf27bc6
  1. 9
      src/components/doctorCheck/ButtonList.vue
  2. 5
      src/components/doctorCheck/CheckItemList.vue
  3. 6
      src/components/doctorCheck/PatientRegisterList.vue

9
src/components/doctorCheck/ButtonList.vue

@ -386,17 +386,15 @@ export default {
return return
} }
lfind = Number(lfind) + Number(lstep) lfind = Number(lfind) + Number(lstep)
this.dataTransOpts.tableS.patient_register.id = this.medicalStartDateDatas[lfind].id
this.dataTransOpts.tableS.patient_register = deepCopy(this.medicalStartDateDatas[lfind])
} }
}else{ }else{
if(this.medicalStartDateDatas && this.medicalStartDateDatas.length > 0){ if(this.medicalStartDateDatas && this.medicalStartDateDatas.length > 0){
this.dataTransOpts.tableS.patient_register.id = this.medicalStartDateDatas[0].id
this.dataTransOpts.tableS.patient_register = deepCopy(this.medicalStartDateDatas[0])
} }
} }
setTimeout(() => {
this.dataTransOpts.refresh.patient_register.S++
}, 20);
this.dataTransOpts.refresh.patient_register.S++
}, },
// //
@ -590,6 +588,7 @@ export default {
// immediate:true, // immediate:true,
handler(newVal,oldVal){ handler(newVal,oldVal){
if(newVal != oldVal){ if(newVal != oldVal){
if(!this.medicalStartDate) return
let body = { let body = {
customerOrgs: [ customerOrgs: [
{ {

5
src/components/doctorCheck/CheckItemList.vue

@ -12,7 +12,7 @@
@input="madeTooltips(scope.$index); computeFun(scope.$index)" v-bind:class="scope.row.class"> @input="madeTooltips(scope.$index); computeFun(scope.$index)" v-bind:class="scope.row.class">
</el-input> </el-input>
<el-input v-else style="width: 100%;" type="textarea" v-model="scope.row.result" placeholder="请输入结果值" <el-input v-else style="width: 100%;" type="textarea" v-model="scope.row.result" placeholder="请输入结果值"
@select="handleSelect" :disabled="rowResultDisabled(scope.row)" :autosize="{ minRows: 2, maxRows: 100 }"
@select="handleSelect" :disabled="rowResultDisabled(scope.row)" :autosize="{ minRows: 2, maxRows: 10 }"
:data-lineModeFlag="scope.row.lineModeFlag" @input="madeTooltips(scope.$index); computeFun(scope.$index)" :data-lineModeFlag="scope.row.lineModeFlag" @input="madeTooltips(scope.$index); computeFun(scope.$index)"
v-bind:class="scope.row.class"> v-bind:class="scope.row.class">
</el-input> </el-input>
@ -31,8 +31,7 @@
<!--弹窗--> <!--弹窗-->
<div> <div>
<!-- 体检人员登记 --> <!-- 体检人员登记 -->
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false"
@close="close_dialogWinMoreResult">
<el-dialog title="结果录入模版" :visible.sync="dialogWinMoreResult" width="800px" :close-on-click-modal="false">
<div style="margin-top: -10px;"> <div style="margin-top: -10px;">
<div style="overflow-y:auto; height:300px;width:100%;display: flex;flex-wrap: wrap;align-content: flex-start;"> <div style="overflow-y:auto; height:300px;width:100%;display: flex;flex-wrap: wrap;align-content: flex-start;">
<div v-for="item in moreResult.data" :key="item.id" style="margin: 5px;cursor:pointer;" <div v-for="item in moreResult.data" :key="item.id" style="margin: 5px;cursor:pointer;"

6
src/components/doctorCheck/PatientRegisterList.vue

@ -285,10 +285,10 @@ export default {
// //
rowClick(row) { rowClick(row) {
this.dataTransOpts.tableS.patient_register.id = row.id
setTimeout(() => {
this.dataTransOpts.tableS.patient_register = deepCopy(row)
// setTimeout(() => {
this.dataTransOpts.refresh.patient_register.S++ // this.dataTransOpts.refresh.patient_register.S++ //
}, 10);
// }, 10);
this.doctorCheckPrBaseInit() this.doctorCheckPrBaseInit()
this.doctorCheck.prBase.patientRegisterNo = row.patientRegisterNo this.doctorCheck.prBase.patientRegisterNo = row.patientRegisterNo

Loading…
Cancel
Save