| | |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if ( |
| | | this.patientqueryParams.allhosp == 1 |
| | | this.patientqueryParams.allhosp == 4 |
| | | ) { |
| | | this.tableLabelhz = [ |
| | | // { label: "入院日期", width: "170", prop: "starttime" }, |
| | |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | | ]; |
| | | } else if ( |
| | | this.patientqueryParams.allhosp == 4 |
| | | this.patientqueryParams.allhosp == 1 |
| | | ) { |
| | | this.tableLabelhz = [ |
| | | { label: "入院日期", width: "150", prop: "starttime" }, |
| | |
| | | |
| | | |
| | | // 出院还是入院 |
| | | if (this.patientqueryParams.allhosp == 1) { |
| | | if (this.patientqueryParams.allhosp == 4) { |
| | | this.patientqueryParams.hospitaldistrictcodes = []; |
| | | this.patientqueryParams.deptcodes = []; |
| | | } else if (this.patientqueryParams.allhosp == 4) { |
| | | } else if (this.patientqueryParams.allhosp == 1) { |
| | | this.patientqueryParams.deptcodes = |
| | | this.patientqueryParams.leaveldeptcodes; |
| | | this.patientqueryParams.hospitaldistrictcodes = |