|
@@ -285,6 +285,9 @@ export class HushijiandanComponent implements OnInit {
|
285
|
285
|
case "suggestionBox":
|
286
|
286
|
coopBtns.suggestionBox = true; //意见箱
|
287
|
287
|
break;
|
|
288
|
+ case "surgery":
|
|
289
|
+ coopBtns.surgery = true; //手术排程信息
|
|
290
|
+ break;
|
288
|
291
|
case "inquiryOfHistoricalSpecimens":
|
289
|
292
|
coopBtns.inquiryOfHistoricalSpecimens = true; //历史标本查询
|
290
|
293
|
break;
|
|
@@ -447,6 +450,9 @@ export class HushijiandanComponent implements OnInit {
|
447
|
450
|
}else if(this.coopBtns.suggestionBox){
|
448
|
451
|
this.checkedTableType = 'advice';
|
449
|
452
|
this.checkTable(this.checkedTableType);
|
|
453
|
+ }else if(this.coopBtns.surgery){
|
|
454
|
+ this.checkedTableType = 'surgery';
|
|
455
|
+ this.checkTable(this.checkedTableType);
|
450
|
456
|
}else if(this.coopBtns.inquiryOfHistoricalSpecimens){
|
451
|
457
|
this.checkedTableType = 'historySpecimen';
|
452
|
458
|
this.checkTable(this.checkedTableType);
|
|
@@ -1272,6 +1278,9 @@ export class HushijiandanComponent implements OnInit {
|
1272
|
1278
|
}else if(this.coopBtns.suggestionBox){
|
1273
|
1279
|
this.checkedTableType = 'advice';
|
1274
|
1280
|
this.checkTable(this.checkedTableType);
|
|
1281
|
+ }else if(this.coopBtns.surgery){
|
|
1282
|
+ this.checkedTableType = 'surgery';
|
|
1283
|
+ this.checkTable(this.checkedTableType);
|
1275
|
1284
|
}else if(this.coopBtns.inquiryOfHistoricalSpecimens){
|
1276
|
1285
|
this.checkedTableType = 'historySpecimen';
|
1277
|
1286
|
this.checkTable(this.checkedTableType);
|
|
@@ -3367,7 +3376,9 @@ export class HushijiandanComponent implements OnInit {
|
3367
|
3376
|
this.positionY = 0;
|
3368
|
3377
|
this.selectOtherId = null;
|
3369
|
3378
|
this.otherSearch = '';
|
3370
|
|
- if (type === "historySpecimen") {
|
|
3379
|
+ if (type === "surgery") {
|
|
3380
|
+ this.getSurgery();
|
|
3381
|
+ } else if (type === "historySpecimen") {
|
3371
|
3382
|
this.getHistorySpecimen();
|
3372
|
3383
|
} else if (type === "historyDrugsbag") {
|
3373
|
3384
|
this.getHistoryDrugsbag();
|
|
@@ -3476,6 +3487,37 @@ export class HushijiandanComponent implements OnInit {
|
3476
|
3487
|
that.adviceListLength = data.totalNum || 0;
|
3477
|
3488
|
});
|
3478
|
3489
|
}
|
|
3490
|
+ // 手术排程信息表格数据
|
|
3491
|
+ surgeryList: any = [];
|
|
3492
|
+ surgeryPageIndex: number = 1; //表格当前页码
|
|
3493
|
+ surgeryPageSize: number = 10; //表格每页展示条数
|
|
3494
|
+ surgeryListLength: number = 10; //表格总数据量
|
|
3495
|
+ surgeryCodeSearchInp: string = ""; //标本编码搜索
|
|
3496
|
+ surgeryParentSearchInp: string = ""; //患者信息搜索
|
|
3497
|
+ surgeryInfoLoading = false;
|
|
3498
|
+ getSurgery(idx?) {
|
|
3499
|
+ if (idx) {
|
|
3500
|
+ this.surgeryPageIndex = 1;
|
|
3501
|
+ }
|
|
3502
|
+ let postData = {
|
|
3503
|
+ surgery: {
|
|
3504
|
+ applyDateStart: format(startOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
|
|
3505
|
+ applyDateEnd: format(endOfDay(new Date()), "yyyy-MM-dd HH:mm:ss"),
|
|
3506
|
+ hosId: this.currentHospital.id,
|
|
3507
|
+ surgeryDept: this.loginUserDeptId,
|
|
3508
|
+ },
|
|
3509
|
+ idx: this.surgeryPageIndex - 1,
|
|
3510
|
+ sum: this.surgeryPageSize,
|
|
3511
|
+ };
|
|
3512
|
+ this.surgeryInfoLoading = true;
|
|
3513
|
+ this.mainService
|
|
3514
|
+ .getFetchDataList("simple/data", "surgery", postData)
|
|
3515
|
+ .subscribe((data) => {
|
|
3516
|
+ this.surgeryInfoLoading = false;
|
|
3517
|
+ this.surgeryList = data.list || [];
|
|
3518
|
+ this.surgeryListLength = data.totalNum || 0;
|
|
3519
|
+ });
|
|
3520
|
+ }
|
3479
|
3521
|
// 历史标本查询表格数据
|
3480
|
3522
|
historySpecimenList: any = [];
|
3481
|
3523
|
historySpecimenPageIndex: number = 1; //表格当前页码
|