|
|
|
@ -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) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|