|
|
|
@ -58,11 +58,11 @@ export default { |
|
|
|
|
|
|
|
//挂载完成 |
|
|
|
mounted() { |
|
|
|
this.CheckDetails(this.dataTransOpts.tableS.patient_register.id); |
|
|
|
this.CheckDetails(this.dataTransOpts.tableS.patient_register.id); |
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
...mapState(['window', 'dict','dataTransOpts', 'doctorCheck', 'sumDoctorCheck']), |
|
|
|
...mapState(['window', 'dict', 'dataTransOpts', 'doctorCheck', 'sumDoctorCheck']), |
|
|
|
|
|
|
|
divHeight() { |
|
|
|
let tempHeight = this.window.pageHeight < 600 ? 600 : this.window.pageHeight |
|
|
|
@ -72,13 +72,14 @@ export default { |
|
|
|
|
|
|
|
methods: { |
|
|
|
//获取结果明细 |
|
|
|
CheckDetails(RegisterId) { |
|
|
|
if (!RegisterId) { |
|
|
|
CheckDetails(patientRegisterId) { |
|
|
|
if (!patientRegisterId) { |
|
|
|
this.tableData = [] |
|
|
|
return |
|
|
|
} |
|
|
|
console.log(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${RegisterId}`) |
|
|
|
getapi(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${RegisterId}`) |
|
|
|
console.log(`/api/app/sumsummaryreport/getdetailedresultslist?PatientRegisterId=${patientRegisterId}`) |
|
|
|
|
|
|
|
postapi('/api/app/SumSummaryReport/GetDetailResults', { patientRegisterId }) |
|
|
|
.then((res) => { |
|
|
|
console.log("获取结果明细 CheckDetails", res.data); |
|
|
|
if (res.code != -1) { |
|
|
|
@ -101,7 +102,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
//监听事件 |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|
// 虚拟表 触发强制刷新 (sumDoctor.M 合并包含:综述、建议、对比、历史等,不包含总检诊断) |
|
|
|
"dataTransOpts.refresh.sumDoctor.M": { |
|
|
|
// immediate:true, |
|
|
|
|