| | |
| | | }, |
| | | taskoptions: [ |
| | | { |
| | | value: "1", |
| | | value: "4", |
| | | label: "出院病人", |
| | | }, |
| | | { |
| | | value: "4", |
| | | value: "1", |
| | | label: "在院病人", |
| | | }, |
| | | { |
| | |
| | | this.overallCase.forEach((item) => { |
| | | this.allpids.push(item.patid); |
| | | }); |
| | | if ( |
| | | this.patientqueryParams.allhosp == 1 |
| | | ) { |
| | | if (this.patientqueryParams.allhosp == 4) { |
| | | this.tableLabelhz = [ |
| | | // { label: "入院日期", width: "170", prop: "starttime" }, |
| | | { label: "出院日期", width: "180", prop: "endtime" }, |
| | |
| | | { label: "科室", width: "180", prop: "dept" }, |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | | ]; |
| | | } else if ( |
| | | this.patientqueryParams.allhosp == 4 |
| | | ) { |
| | | } else if (this.patientqueryParams.allhosp == 1) { |
| | | this.tableLabelhz = [ |
| | | { label: "入院日期", width: "150", prop: "starttime" }, |
| | | { label: "患者", width: "", prop: "name" }, |
| | |
| | | { label: "患者标签", width: "200", prop: "tag" }, |
| | | { label: "出院天数", width: "", prop: "endDay" }, |
| | | { label: "责任护士", width: "", prop: "nurseName" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "180", prop: "dept" }, |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | | ]; |
| | | } else { |
| | | this.tableLabelhz = [ |
| | | { label: "就诊日期", width: "150", prop: "admitdate" }, |
| | | { label: "患者", width: "", prop: "name" }, |
| | | { label: "患者编号", width: "200", prop: "patientno" }, |
| | | { label: "性别", width: "", prop: "sex" }, |
| | | { label: "患者标签", width: "200", prop: "tag" }, |
| | | { label: "医生", width: "", prop: "drname" }, |
| | | { label: "科室", width: "180", prop: "dept" }, |
| | | { label: "病区", width: "150", prop: "leavehospitaldistrictname" }, |
| | |
| | | |
| | | // 科室还是病区 |
| | | |
| | | |
| | | // 出院还是入院 |
| | | 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 = |