|
@@ -31,6 +31,26 @@ export class ConfigurationSpecimenComponent implements OnInit {
|
31
|
31
|
{label:'是否开启',value: 0}
|
32
|
32
|
];
|
33
|
33
|
|
|
34
|
+ // 退回标本是否填写交接人
|
|
35
|
+ returnSpecimenWhetherHandover:any[] = [
|
|
36
|
+ {label:'是否开启',value: 0}
|
|
37
|
+ ];
|
|
38
|
+
|
|
39
|
+ // 显示接单签到按钮
|
|
40
|
+ bigScanShowSignBtn:any[] = [
|
|
41
|
+ {label:'是否开启',value: 0}
|
|
42
|
+ ];
|
|
43
|
+
|
|
44
|
+ // 支持待到达非本人
|
|
45
|
+ bigScanArriveNotOwner:any[] = [
|
|
46
|
+ {label:'是否开启',value: 0}
|
|
47
|
+ ];
|
|
48
|
+
|
|
49
|
+ // 显示建单并签到按钮
|
|
50
|
+ bigScanShowCreateBtn:any[] = [
|
|
51
|
+ {label:'是否开启',value: 0}
|
|
52
|
+ ];
|
|
53
|
+
|
34
|
54
|
// 配置
|
35
|
55
|
configs:any = {};
|
36
|
56
|
// 任务类型
|
|
@@ -121,6 +141,10 @@ export class ConfigurationSpecimenComponent implements OnInit {
|
121
|
141
|
deptNotAlert: this.deptNotAlert[0].checked ? 1 : 0,
|
122
|
142
|
arriveScanCode: this.arriveScanCode[0].checked ? 1 : 0,
|
123
|
143
|
arriveScanDynamicCode: this.arriveScanDynamicCode[0].checked ? 1 : 0,
|
|
144
|
+ returnSpecimenWhetherHandover: this.returnSpecimenWhetherHandover[0].checked ? 1 : 0,
|
|
145
|
+ bigScanShowSignBtn: this.bigScanShowSignBtn[0].checked ? 1 : 0,
|
|
146
|
+ bigScanArriveNotOwner: this.bigScanArriveNotOwner[0].checked ? 1 : 0,
|
|
147
|
+ bigScanShowCreateBtn: this.bigScanShowCreateBtn[0].checked ? 1 : 0,
|
124
|
148
|
deptNotAlertIds: this.deptNotAlertIds.length ? this.deptNotAlertIds.toString() : undefined,
|
125
|
149
|
};
|
126
|
150
|
this.btnLoading = true;
|
|
@@ -184,6 +208,10 @@ export class ConfigurationSpecimenComponent implements OnInit {
|
184
|
208
|
this.deptNotAlert[0].checked = this.configs.deptNotAlert == 1;
|
185
|
209
|
this.arriveScanCode[0].checked = this.configs.arriveScanCode == 1;
|
186
|
210
|
this.arriveScanDynamicCode[0].checked = this.configs.arriveScanDynamicCode == 1;
|
|
211
|
+ this.returnSpecimenWhetherHandover[0].checked = this.configs.returnSpecimenWhetherHandover == 1;
|
|
212
|
+ this.bigScanShowSignBtn[0].checked = this.configs.bigScanShowSignBtn == 1;
|
|
213
|
+ this.bigScanArriveNotOwner[0].checked = this.configs.bigScanArriveNotOwner == 1;
|
|
214
|
+ this.bigScanShowCreateBtn[0].checked = this.configs.bigScanShowCreateBtn == 1;
|
187
|
215
|
this.deptNotAlertIds = this.configs.deptNotAlertIds ? this.configs.deptNotAlertIds.split(',').map(v => +v) : [];
|
188
|
216
|
this.deptList = this.configs.deptNotAlertList || [];
|
189
|
217
|
}
|