|
|
@ -1525,8 +1525,10 @@ 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(newVal && newVal != oldVal){ |
|
|
if(this.seq == 11) this.readData() |
|
|
if(this.seq == 11) this.readData() |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
//所选体检次数改变时,自动获取登记日期 |
|
|
//所选体检次数改变时,自动获取登记日期 |
|
|
@ -1534,10 +1536,11 @@ export default { |
|
|
// immediate: true, // 立即执行 |
|
|
// immediate: true, // 立即执行 |
|
|
deep: true, // 深度监听复杂类型内变化 |
|
|
deep: true, // 深度监听复杂类型内变化 |
|
|
handler(newVal,oldVal){ |
|
|
handler(newVal,oldVal){ |
|
|
// |
|
|
|
|
|
|
|
|
if(newVal && newVal != oldVal){ |
|
|
this.query.startDate = new Date(this.query.customerOrgRegister.beginTime) |
|
|
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) |
|
|
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) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|