|
@@ -3499,16 +3499,20 @@ export class HushijiandanComponent implements OnInit {
|
3499
|
3499
|
if (idx) {
|
3500
|
3500
|
this.surgeryPageIndex = 1;
|
3501
|
3501
|
}
|
3502
|
|
- let postData = {
|
|
3502
|
+ let postData:any = {
|
3503
|
3503
|
surgery: {
|
3504
|
3504
|
applyDateStart: format(startOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
|
3505
|
3505
|
applyDateEnd: format(endOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
|
3506
|
3506
|
hosId: this.currentHospital.id,
|
3507
|
|
- surgeryDept: this.loginUserDeptId,
|
3508
|
3507
|
},
|
3509
|
3508
|
idx: this.surgeryPageIndex - 1,
|
3510
|
3509
|
sum: this.surgeryPageSize,
|
3511
|
3510
|
};
|
|
3511
|
+ if(this.currentDept.typeValue == 'surgery'){
|
|
3512
|
+ postData.surgery.surgeryDept = this.loginUserDeptId;
|
|
3513
|
+ }else{
|
|
3514
|
+ postData.surgery.areaDept = this.loginUserDeptId;
|
|
3515
|
+ }
|
3512
|
3516
|
this.surgeryInfoLoading = true;
|
3513
|
3517
|
this.mainService
|
3514
|
3518
|
.getFetchDataList("simple/data", "surgery", postData)
|