|
@@ -1229,6 +1229,11 @@ export class TaskTypeManagementComponent implements OnInit {
|
1229
|
1229
|
this.taskData.taskType.carryingCourses[0].autoAddDeptSwitch = 0; //自动建单追加终点科室开关
|
1230
|
1230
|
this.taskData.taskType.carryingCourses[0].handAddDeptSwitch = 0; //手动建单追加终点科室开关
|
1231
|
1231
|
}
|
|
1232
|
+ // 其他临床服务,是否支持多动作签到开启后,必须配置至少确认动作,拍照动作
|
|
1233
|
+ if(this.taskData.taskType.associationType.value === 'other' && this.taskData.taskType.carryingCourses[1].actionsSwitch && !this.taskData.taskType.carryingCourses[1].actionConfirmSwitch && !this.taskData.taskType.carryingCourses[1].actionPhotoSwitch){
|
|
1234
|
+ this.showPromptModal("提示", false, "是否支持多动作签到开启后,请配置确认动作或拍照动作!");
|
|
1235
|
+ return;
|
|
1236
|
+ }
|
1232
|
1237
|
// 其他临床服务,多动作开启后,必须配置至少一个动作
|
1233
|
1238
|
if(this.taskData.taskType.associationType.value === 'other' && this.taskData.taskType.carryingCourses[1].actionConfirmSwitch && !this.taskData.taskType.carryingCourses[1].actionRemarks){
|
1234
|
1239
|
this.showPromptModal("提示", false, "确认动作开启后,至少配置一个动作!");
|
|
@@ -2508,4 +2513,18 @@ export class TaskTypeManagementComponent implements OnInit {
|
2508
|
2513
|
});
|
2509
|
2514
|
}
|
2510
|
2515
|
}
|
|
2516
|
+
|
|
2517
|
+ // 修改是否支持多院区签到
|
|
2518
|
+ changeActionsSwitch(e){
|
|
2519
|
+ if(!e){
|
|
2520
|
+ this.carryingCourses[this.indexs].actionRemarks = '';
|
|
2521
|
+ }
|
|
2522
|
+ }
|
|
2523
|
+
|
|
2524
|
+ // 修改是否确认动作
|
|
2525
|
+ changeActionConfirmSwitch(e){
|
|
2526
|
+ if(!e){
|
|
2527
|
+ this.carryingCourses[this.indexs].actionRemarks = '';
|
|
2528
|
+ }
|
|
2529
|
+ }
|
2511
|
2530
|
}
|