|
@@ -170,7 +170,7 @@ export class HushijiandanComponent implements OnInit {
|
170
|
170
|
coopBtns: any = {};
|
171
|
171
|
surgeryDataId: any; //手术id
|
172
|
172
|
patientDataId: any; //病人id
|
173
|
|
-
|
|
173
|
+
|
174
|
174
|
ngOnInit() {
|
175
|
175
|
this.getCoopBtns();
|
176
|
176
|
this.currentHospital = this.tool.getCurrentHospital();
|
|
@@ -311,7 +311,7 @@ export class HushijiandanComponent implements OnInit {
|
311
|
311
|
this.coopBtns = coopBtns;
|
312
|
312
|
console.log(this.coopBtns);
|
313
|
313
|
}
|
314
|
|
-
|
|
314
|
+
|
315
|
315
|
// 手术排程-病理申请单
|
316
|
316
|
pathologyAddItem(e,item){
|
317
|
317
|
this.surgeryDataId = item.id
|
|
@@ -335,7 +335,7 @@ export class HushijiandanComponent implements OnInit {
|
335
|
335
|
}
|
336
|
336
|
});
|
337
|
337
|
}
|
338
|
|
-
|
|
338
|
+
|
339
|
339
|
// 病理申请单
|
340
|
340
|
pathologyAdd(e){
|
341
|
341
|
this.surgeryDataId = this.surgeryWKOMsg.id
|
|
@@ -359,11 +359,11 @@ export class HushijiandanComponent implements OnInit {
|
359
|
359
|
}
|
360
|
360
|
});
|
361
|
361
|
}
|
362
|
|
-
|
|
362
|
+
|
363
|
363
|
pathologyDetailCancel(){
|
364
|
364
|
this.pathologyDetailModal = false
|
365
|
365
|
}
|
366
|
|
-
|
|
366
|
+
|
367
|
367
|
pathologyCancel(){
|
368
|
368
|
this.pathologyModal = false
|
369
|
369
|
}
|
|
@@ -501,7 +501,7 @@ export class HushijiandanComponent implements OnInit {
|
501
|
501
|
if (result.status == 200) {
|
502
|
502
|
this.isShowBx = result.list.find(v => v.key == 'hos_itsmIncident').value == 1;
|
503
|
503
|
this.isAssign = result.list.find(v => v.key == 'nurseSendOrder').value == 1;
|
504
|
|
- if (this.isShowBx && (this.coopBtns.repairList || this.coopBtns.quickReportForRepair)) {
|
|
504
|
+ if (this.isShowBx && (this.coopBtns.repairList || this.coopBtns.quickReportForRepair) && !this.checkedTableType) {
|
505
|
505
|
// 初始化默认显示第一个
|
506
|
506
|
if(this.tabPermission.length){
|
507
|
507
|
this.checkedTableType = (this.tabPermission[0] && this.tabPermission[0].system) ? 'other' : this.tabPermission[0].id;
|
|
@@ -1507,7 +1507,7 @@ export class HushijiandanComponent implements OnInit {
|
1507
|
1507
|
this.tabPermission = this.tabPermission.filter(v => !v.system);
|
1508
|
1508
|
}
|
1509
|
1509
|
// 初始化默认显示第一个
|
1510
|
|
- if(search === undefined){
|
|
1510
|
+ if(search === undefined && !this.checkedTableType){
|
1511
|
1511
|
if(this.tabPermission.length){
|
1512
|
1512
|
this.checkedTableType = (this.tabPermission[0] && this.tabPermission[0].system) ? 'other' : this.tabPermission[0].id;
|
1513
|
1513
|
}else if(this.coopBtns.suggestionBox){
|
|
@@ -1532,6 +1532,9 @@ export class HushijiandanComponent implements OnInit {
|
1532
|
1532
|
this.checkedTableType = 'bxlb';
|
1533
|
1533
|
this.checkTable(this.checkedTableType);
|
1534
|
1534
|
}
|
|
1535
|
+ }else{
|
|
1536
|
+ console.log('this.checkedTableType', this.checkedTableType);
|
|
1537
|
+ this.checkTable(this.checkedTableType);
|
1535
|
1538
|
}
|
1536
|
1539
|
this.othersList = {};
|
1537
|
1540
|
this.tabPermission.forEach(v => {
|