|
|
|
@ -610,6 +610,7 @@ export default { |
|
|
|
completeFlag: '2', //总检状态 |
|
|
|
historySummary: '', // 历史综述 |
|
|
|
}, |
|
|
|
patient_registerInit:{}, // 重置用到 |
|
|
|
|
|
|
|
// 综述建议部份 |
|
|
|
summaryList: [], |
|
|
|
@ -691,6 +692,8 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
created() { |
|
|
|
this.patient_registerInit = Object.assign({},this.patient_register) |
|
|
|
|
|
|
|
if (this.$route.query.patient_register) { |
|
|
|
this.patient_register = Object.assign({},this.$route.query.patient_register) |
|
|
|
} else { |
|
|
|
@ -1529,8 +1532,19 @@ export default { |
|
|
|
//重置 |
|
|
|
btnReset() { |
|
|
|
// location.reload() |
|
|
|
this.patient_register.id = '' |
|
|
|
this.patient_register = Object.assign({},this.patient_registerInit) |
|
|
|
this.refParamsQuery.id = '' |
|
|
|
|
|
|
|
// 查询条件清空 |
|
|
|
this.refParamsQuery.resetTimes++ |
|
|
|
|
|
|
|
// 综述建议清空、状态 |
|
|
|
// this.summaryList = [] |
|
|
|
// this.suggestionList = [] |
|
|
|
this.refParamsQuery.brushSummary++ |
|
|
|
|
|
|
|
// 、明细、图文…… 清空 |
|
|
|
this.refParamsQuery.brushTimes++ |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
@ -1803,6 +1817,7 @@ export default { |
|
|
|
getHaveSumData(patientRegisterId) { |
|
|
|
this.summaryList = []; |
|
|
|
this.suggestionList = []; |
|
|
|
|
|
|
|
if (!patientRegisterId) return |
|
|
|
|
|
|
|
// console.log('getHaveSumData', this.patient_register.completeFlag) |
|
|
|
@ -1885,13 +1900,12 @@ export default { |
|
|
|
|
|
|
|
//获取历次综述 |
|
|
|
getHistorySummary(patientRegisterId, isGetExistData) { |
|
|
|
|
|
|
|
// 报告不获历次综述 |
|
|
|
if (this.history_summary_years_limit == '0') return |
|
|
|
|
|
|
|
if (!patientRegisterId) { |
|
|
|
this.patient_register.historySummary = ''; |
|
|
|
return |
|
|
|
} |
|
|
|
if (!patientRegisterId) return |
|
|
|
|
|
|
|
let body = { |
|
|
|
patientRegisterId, |
|
|
|
@ -2724,7 +2738,19 @@ export default { |
|
|
|
// immediate:true, |
|
|
|
handler(newVal, oldVal) { |
|
|
|
console.log(`watch 总检--综述建议refParamsQuery.brushSummary newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.refParamsQuery.id}`); |
|
|
|
if (newVal != oldVal && this.tabChoosed == '1') this.getHaveSumData(this.refParamsQuery.id) |
|
|
|
// if (newVal != oldVal && this.tabChoosed == '1') |
|
|
|
if (newVal != oldVal) this.getHaveSumData(this.refParamsQuery.id) |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
// 重置查询条件 |
|
|
|
"refParams.resetTimes": { |
|
|
|
// immediate:true, |
|
|
|
handler(newVal, oldVal) { |
|
|
|
console.log(`watch.refParams.resetTimes newVal: ${newVal} oldVal: ${oldVal}`); |
|
|
|
if(newVal && newVal != oldVal){ |
|
|
|
this.prBase = Object.assign({},this.prBase,this.prBaseInit) |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
|