|
@@ -285,6 +285,9 @@ export class HushijiandanComponent implements OnInit {
|
285
|
285
|
case "surgery":
|
286
|
286
|
coopBtns.surgery = true; //手术排程信息
|
287
|
287
|
break;
|
|
288
|
+ case "outpatientHelpAppointment":
|
|
289
|
+ coopBtns.outpatientHelpAppointment = true; //门诊帮扶预约
|
|
290
|
+ break;
|
288
|
291
|
case "inquiryOfHistoricalSpecimens":
|
289
|
292
|
coopBtns.inquiryOfHistoricalSpecimens = true; //历史标本查询
|
290
|
293
|
break;
|
|
@@ -450,6 +453,9 @@ export class HushijiandanComponent implements OnInit {
|
450
|
453
|
}else if(this.coopBtns.surgery){
|
451
|
454
|
this.checkedTableType = 'surgery';
|
452
|
455
|
this.checkTable(this.checkedTableType);
|
|
456
|
+ }else if(this.coopBtns.outpatientHelpAppointment){
|
|
457
|
+ this.checkedTableType = 'outpatientHelpAppointment';
|
|
458
|
+ this.checkTable(this.checkedTableType);
|
453
|
459
|
}else if(this.coopBtns.inquiryOfHistoricalSpecimens){
|
454
|
460
|
this.checkedTableType = 'historySpecimen';
|
455
|
461
|
this.checkTable(this.checkedTableType);
|
|
@@ -1452,6 +1458,9 @@ export class HushijiandanComponent implements OnInit {
|
1452
|
1458
|
}else if(this.coopBtns.surgery){
|
1453
|
1459
|
this.checkedTableType = 'surgery';
|
1454
|
1460
|
this.checkTable(this.checkedTableType);
|
|
1461
|
+ }else if(this.coopBtns.outpatientHelpAppointment){
|
|
1462
|
+ this.checkedTableType = 'outpatientHelpAppointment';
|
|
1463
|
+ this.checkTable(this.checkedTableType);
|
1455
|
1464
|
}else if(this.coopBtns.inquiryOfHistoricalSpecimens){
|
1456
|
1465
|
this.checkedTableType = 'historySpecimen';
|
1457
|
1466
|
this.checkTable(this.checkedTableType);
|
|
@@ -3568,6 +3577,8 @@ export class HushijiandanComponent implements OnInit {
|
3568
|
3577
|
this.otherSearch = '';
|
3569
|
3578
|
if (type === "surgery") {
|
3570
|
3579
|
this.getSurgery(true);
|
|
3580
|
+ } else if (type === "outpatientHelpAppointment") {
|
|
3581
|
+ this.getOutpatientHelpAppointment(true);
|
3571
|
3582
|
} else if (type === "historySpecimen") {
|
3572
|
3583
|
this.getHistorySpecimen(true);
|
3573
|
3584
|
} else if (type === "historyDrugsbag") {
|
|
@@ -3715,6 +3726,35 @@ export class HushijiandanComponent implements OnInit {
|
3715
|
3726
|
this.surgeryListLength = data.totalNum || 0;
|
3716
|
3727
|
});
|
3717
|
3728
|
}
|
|
3729
|
+ // 门诊帮扶表格数据
|
|
3730
|
+ outpatientHelpAppointmentList: any = [];
|
|
3731
|
+ outpatientHelpAppointmentPageIndex: number = 1; //表格当前页码
|
|
3732
|
+ outpatientHelpAppointmentPageSize: number = 10; //表格每页展示条数
|
|
3733
|
+ outpatientHelpAppointmentListLength: number = 10; //表格总数据量
|
|
3734
|
+ outpatientHelpAppointmentDateSearchInp = new Date(); //预约时间搜索
|
|
3735
|
+ outpatientHelpAppointmentInfoLoading = false;
|
|
3736
|
+ getOutpatientHelpAppointment(idx?) {
|
|
3737
|
+ if (idx) {
|
|
3738
|
+ this.outpatientHelpAppointmentPageIndex = 1;
|
|
3739
|
+ }
|
|
3740
|
+ let postData:any = {
|
|
3741
|
+ patientAppointment: {
|
|
3742
|
+ escortTime: this.outpatientHelpAppointmentDateSearchInp ? format(startOfDay(this.outpatientHelpAppointmentDateSearchInp), "yyyy-MM-dd HH:mm:ss") : undefined,
|
|
3743
|
+ hosId: this.currentHospital.id,
|
|
3744
|
+ },
|
|
3745
|
+ idx: this.outpatientHelpAppointmentPageIndex - 1,
|
|
3746
|
+ sum: this.outpatientHelpAppointmentPageSize,
|
|
3747
|
+ };
|
|
3748
|
+
|
|
3749
|
+ this.outpatientHelpAppointmentInfoLoading = true;
|
|
3750
|
+ this.mainService
|
|
3751
|
+ .getFetchDataList("simple/data", "patientAppointment", postData)
|
|
3752
|
+ .subscribe((data) => {
|
|
3753
|
+ this.outpatientHelpAppointmentInfoLoading = false;
|
|
3754
|
+ this.outpatientHelpAppointmentList = data.list || [];
|
|
3755
|
+ this.outpatientHelpAppointmentListLength = data.totalNum || 0;
|
|
3756
|
+ });
|
|
3757
|
+ }
|
3718
|
3758
|
// 历史标本查询表格数据
|
3719
|
3759
|
historySpecimenList: any = [];
|
3720
|
3760
|
historySpecimenPageIndex: number = 1; //表格当前页码
|