|
@@ -26,6 +26,10 @@ export class BloodProductsConfigComponent implements OnInit {
|
26
|
26
|
autoCreateOrders:any[] = [
|
27
|
27
|
{label:'是否开启',value: 0}
|
28
|
28
|
];
|
|
29
|
+ // 是否指定人派单
|
|
30
|
+ autoSendUsers:any[] = [
|
|
31
|
+ {label:'是否指定人派单',value: 0}
|
|
32
|
+ ];
|
29
|
33
|
// 是否根据开通科室建单
|
30
|
34
|
autoDepts:any[] = [
|
31
|
35
|
{label:'是否根据开通科室建单',value: 0}
|
|
@@ -131,6 +135,7 @@ export class BloodProductsConfigComponent implements OnInit {
|
131
|
135
|
taskType: this.tasktype.id,
|
132
|
136
|
hosId: this.hosId,
|
133
|
137
|
autoCreate: this.autoCreateOrders[0].checked ? 1 : 0,
|
|
138
|
+ autoSendUser: this.autoSendUsers[0].checked ? 1 : 0,
|
134
|
139
|
autoDept: this.autoDepts[0].checked ? 1 : 0,
|
135
|
140
|
autoDeptLimit: this.autoDeptLimits[0].checked ? 1 : 0,
|
136
|
141
|
limitDeptIds: String(this.limitDeptIds),
|
|
@@ -232,6 +237,7 @@ export class BloodProductsConfigComponent implements OnInit {
|
232
|
237
|
this.handoverMode = this.configs.handoverType?this.configs.handoverType.id:undefined;
|
233
|
238
|
this.radioCheckModesValue = this.configs.checkType.id;
|
234
|
239
|
this.autoCreateOrders[0].checked = this.configs.autoCreate == 1;
|
|
240
|
+ this.autoSendUsers[0].checked = this.configs.autoSendUser == 1;
|
235
|
241
|
this.autoDepts[0].checked = this.configs.autoDept == 1;
|
236
|
242
|
this.autoDeptLimits[0].checked = this.configs.autoDeptLimit == 1;
|
237
|
243
|
this.getDeptList(true, '', true);
|