Browse Source

import

master
pengjun 2 years ago
parent
commit
0716fadbf5
  1. 17
      src/views/customerOrg/patientRegisterImport.vue

17
src/views/customerOrg/patientRegisterImport.vue

@ -1525,7 +1525,9 @@ export default {
deep: true, //
handler(newVal,oldVal){
console.log('watch:readDataOpts.titleRow:',newVal,oldVal)
if(this.seq == 11) this.readData()
if(newVal && newVal != oldVal){
if(this.seq == 11) this.readData()
}
}
},
@ -1534,9 +1536,10 @@ export default {
// immediate: true, //
deep: true, //
handler(newVal,oldVal){
//
this.query.startDate = new Date(this.query.customerOrgRegister.beginTime)
this.query.endDate = this.query.customerOrgRegister.isComplete == 'N' ? new Date(): new Date(this.query.customerOrgRegister.endTime)
if(newVal && newVal != oldVal){
this.query.startDate = new Date(this.query.customerOrgRegister.beginTime)
this.query.endDate = this.query.customerOrgRegister.isComplete == 'N' ? new Date(): new Date(this.query.customerOrgRegister.endTime)
}
}
},
@ -1544,10 +1547,10 @@ export default {
"customerOrgRegister.id":{
// immediate: true, //
deep: true, //
handler(newVal,oldVal){
if(this.seq == 22){
handler(newVal,oldVal){
if(newVal && newVal != oldVal){
this.getGroups(newVal)
}
}
}
},

Loading…
Cancel
Save