|
@@ -34,6 +34,7 @@ export class SysConfigComponent implements OnInit {
|
34
|
34
|
this.validateForm = this.fb.group({
|
35
|
35
|
defaultPwd: [null, [Validators.required]],
|
36
|
36
|
effectiveDuration: [null, [Validators.required]],
|
|
37
|
+ specimenButton: [null, [Validators.required]],
|
37
|
38
|
orderClearUserSwitch: [null, [Validators.required]],
|
38
|
39
|
deptQRCode: [null, [Validators.required]],
|
39
|
40
|
workOrderSettings: [5, [Validators.required]],
|
|
@@ -93,6 +94,7 @@ export class SysConfigComponent implements OnInit {
|
93
|
94
|
(item) =>
|
94
|
95
|
item.keyconfig === "pwd" ||
|
95
|
96
|
item.keyconfig === "conversationSeconds" ||
|
|
97
|
+ item.keyconfig === "specimenButton" ||
|
96
|
98
|
item.keyconfig === "orderClearUserSwitch" ||
|
97
|
99
|
item.keyconfig === "deptQRCode" ||
|
98
|
100
|
item.keyconfig === "workOrderSettings" ||
|
|
@@ -106,6 +108,8 @@ export class SysConfigComponent implements OnInit {
|
106
|
108
|
item.valueconfig = this.validateForm.controls.defaultPwd.value;
|
107
|
109
|
} else if (item.keyconfig === "conversationSeconds") {
|
108
|
110
|
item.valueconfig = this.validateForm.controls.effectiveDuration.value;
|
|
111
|
+ } else if (item.keyconfig === "specimenButton") {
|
|
112
|
+ item.valueconfig = this.validateForm.controls.specimenButton.value;
|
109
|
113
|
} else if (item.keyconfig === "orderClearUserSwitch") {
|
110
|
114
|
item.valueconfig =
|
111
|
115
|
this.validateForm.controls.orderClearUserSwitch.value;
|
|
@@ -173,6 +177,9 @@ export class SysConfigComponent implements OnInit {
|
173
|
177
|
case "conversationSeconds":
|
174
|
178
|
this.validateForm.controls.effectiveDuration.setValue(c[1]);
|
175
|
179
|
break;
|
|
180
|
+ case "specimenButton":
|
|
181
|
+ this.validateForm.controls.specimenButton.setValue(c[1]);
|
|
182
|
+ break;
|
176
|
183
|
case "orderClearUserSwitch":
|
177
|
184
|
this.validateForm.controls.orderClearUserSwitch.setValue(
|
178
|
185
|
c[1]
|