|
@@ -12,6 +12,7 @@ export class RelationTransDetailModalComponent implements OnInit {
|
12
|
12
|
listOfDisplayData: any[] = [];
|
13
|
13
|
mapOfCheckedId: { [key: string]: boolean } = {};
|
14
|
14
|
isIndeterminate = false;
|
|
15
|
+ currentDept; //当前科室
|
15
|
16
|
|
16
|
17
|
hosId;
|
17
|
18
|
hsLoading = false;
|
|
@@ -24,6 +25,7 @@ export class RelationTransDetailModalComponent implements OnInit {
|
24
|
25
|
specimenDesc: 0,
|
25
|
26
|
}
|
26
|
27
|
@Input() show: Boolean;
|
|
28
|
+ @Input() deptDisplay: string | number;
|
27
|
29
|
@Input() otherBindConfigDto: any;
|
28
|
30
|
|
29
|
31
|
@Output() closeModelHs = new EventEmitter<any>();//1.组件暴露一个 EventEmitter 属性,当事件发生时,子组件利用该属性 emits(向上弹射)事件
|
|
@@ -33,6 +35,7 @@ export class RelationTransDetailModalComponent implements OnInit {
|
33
|
35
|
|
34
|
36
|
ngOnInit() {
|
35
|
37
|
this.hosId = this.tool.getCurrentHospital().id;
|
|
38
|
+ this.currentDept = this.tool.getCurrentUserDept();
|
36
|
39
|
this.tabType = 1;
|
37
|
40
|
this.getOtherTransState();
|
38
|
41
|
}
|
|
@@ -127,6 +130,7 @@ export class RelationTransDetailModalComponent implements OnInit {
|
127
|
130
|
relationTrans: this.otherBindConfigDto.relationTrans,
|
128
|
131
|
hosId: this.hosId,
|
129
|
132
|
state: this.other_trans_state1,
|
|
133
|
+ startDept: this.currentDept.id,
|
130
|
134
|
}
|
131
|
135
|
}
|
132
|
136
|
this.hsLoading = true;
|