| | |
| | | if (type == 1) { |
| | | obj.drcode = row.drcode; |
| | | } |
| | | // 统计类型:病区统计(1)传病区code,科室统计(2)传科室code |
| | | if (this.queryParams.statisticaltype == 1) { |
| | | obj.leavehospitaldistrictcodes = [row.leavehospitaldistrictcode]; |
| | | obj.deptcodes = []; |
| | |
| | | obj.deptcodes = [row.deptcode]; |
| | | obj.leavehospitaldistrictcodes = []; |
| | | } |
| | | // 应随访时间范围 |
| | | if (this.queryParams.endTime) { |
| | | obj.endTime = this.queryParams.endTime; |
| | | obj.startTime = this.queryParams.startTime; |
| | |
| | | obj.startTime = this.parseTime(this.queryParams.dateRange[0]); |
| | | obj.endTime = this.parseTime(this.queryParams.dateRange[1]); |
| | | } |
| | | // 出院时间范围 |
| | | if (this.queryParams.hospitalEndTime) { |
| | | obj.hospitalEndTime = this.queryParams.hospitalEndTime; |
| | | obj.hospitalStartTime = this.queryParams.hospitalStartTime; |
| | | } else { |
| | | obj.hospitalStartTime = this.parseTime(this.queryParams.dateRangecy[0]); |
| | | obj.hospitalEndTime = this.parseTime(this.queryParams.dateRangecy[1]); |
| | | } |
| | | |
| | | obj.statisticaltype = this.queryParams.statisticaltype; |
| | | |