|
|
@ -226,7 +226,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api"; |
|
|
import { getPagePriv, checkPagePriv, deepCopy, arrayExistObj } from '../../utlis/proFunc'; |
|
|
import { getPagePriv, checkPagePriv, deepCopy, arrayExistObj } from '../../utlis/proFunc'; |
|
|
export default { |
|
|
export default { |
|
|
components: {}, |
|
|
components: {}, |
|
|
props: ["patientRegisterId"], |
|
|
|
|
|
|
|
|
props: ["patientRegisterId","tabChoosed"], |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
pagePriv: { |
|
|
pagePriv: { |
|
|
@ -431,6 +431,7 @@ export default { |
|
|
summaryList.push({ id: `summary_${i}`, summaryTitle: ' ', details }) |
|
|
summaryList.push({ id: `summary_${i}`, summaryTitle: ' ', details }) |
|
|
}); |
|
|
}); |
|
|
this.sumDoctorCheck.summaryList = deepCopy(summaryList) |
|
|
this.sumDoctorCheck.summaryList = deepCopy(summaryList) |
|
|
|
|
|
|
|
|
// 自动高度有问题,需要这样处理一下 |
|
|
// 自动高度有问题,需要这样处理一下 |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.sumDoctorCheck.summaryList = deepCopy(res.data); |
|
|
this.sumDoctorCheck.summaryList = deepCopy(res.data); |
|
|
@ -879,7 +880,7 @@ export default { |
|
|
// immediate:true, |
|
|
// immediate:true, |
|
|
handler(newVal, oldVal) { |
|
|
handler(newVal, oldVal) { |
|
|
console.log(`watch 总检--综述建议 newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.dataTransOpts.tableS.patient_register.id}`); |
|
|
console.log(`watch 总检--综述建议 newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.dataTransOpts.tableS.patient_register.id}`); |
|
|
this.getHaveSumData(this.dataTransOpts.tableS.patient_register.id) |
|
|
|
|
|
|
|
|
if(newVal != oldVal && this.tabChoosed == '1') this.getHaveSumData(this.dataTransOpts.tableS.patient_register.id) |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
}, |
|
|
|