Browse Source

import

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

13
src/views/customerOrg/patientRegisterImport.vue

@ -1525,7 +1525,9 @@ export default {
deep: true, // deep: true, //
handler(newVal,oldVal){ handler(newVal,oldVal){
console.log('watch:readDataOpts.titleRow:',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, // // immediate: true, //
deep: true, // deep: true, //
handler(newVal,oldVal){ 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)
}
} }
}, },
@ -1545,7 +1548,7 @@ export default {
// immediate: true, // // immediate: true, //
deep: true, // deep: true, //
handler(newVal,oldVal){ handler(newVal,oldVal){
if(this.seq == 22){
if(newVal && newVal != oldVal){
this.getGroups(newVal) this.getGroups(newVal)
} }
} }

Loading…
Cancel
Save