|
@@ -211,8 +211,7 @@ export class TaskTypeManagementComponent implements OnInit {
|
211
|
211
|
addEndDeptIds: any = []; //自动(手动)建单追加终点科室
|
212
|
212
|
autoAddDeptSwitch: any = false; //自动建单追加终点科室开关
|
213
|
213
|
handAddDeptSwitch: any = false; //手动建单追加终点科室开关
|
214
|
|
- xxx: any = false; //根据对接数据自动建单(静配)
|
215
|
|
- yyy: any = false; //根据对接数据自动建单(药品)
|
|
214
|
+ bagOrderSwitch: any = false; //根据对接数据自动建单(静配,药品)
|
216
|
215
|
createRuleConfiguration = []; //自动建单字段
|
217
|
216
|
levelData; //护理级别字段
|
218
|
217
|
specimen_types = false; //标本选择显示隐藏字段
|
|
@@ -788,8 +787,8 @@ export class TaskTypeManagementComponent implements OnInit {
|
788
|
787
|
data.carryingCourses[0].autoAddDeptSwitch == 1 ? true : false; //自动建单追加终点科室开关
|
789
|
788
|
this.handAddDeptSwitch =
|
790
|
789
|
data.carryingCourses[0].handAddDeptSwitch == 1 ? true : false; //手动建单追加终点科室开关
|
791
|
|
- this.xxx = data.carryingCourses[0].xxx == 1 ? true : false; //根据对接数据自动建单(静配)
|
792
|
|
- this.yyy = data.carryingCourses[0].yyy == 1 ? true : false; //根据对接数据自动建单(药品)
|
|
790
|
+ this.bagOrderSwitch =
|
|
791
|
+ data.carryingCourses[0].bagOrderSwitch == 1 ? true : false; //根据对接数据自动建单(静配,药品)
|
793
|
792
|
if (data.carryingCourses) {
|
794
|
793
|
if (this.indexs == 2 && this.association.value != "inspect") {
|
795
|
794
|
this.indexs = 1;
|
|
@@ -1059,6 +1058,10 @@ export class TaskTypeManagementComponent implements OnInit {
|
1059
|
1058
|
this.taskData.taskType.remarksSwitch = this.isRemarks === "1" ? 1 : 0; //是否需要备注信息
|
1060
|
1059
|
this.taskData.taskType.remarksPrompts = this.remarks; //备注信息提示用语
|
1061
|
1060
|
this.taskData.taskType.customRemarks = this.quickRemarks; //备注快速输入
|
|
1061
|
+ this.taskData.taskType.carryingCourses[0].bagOrderSwitch = this
|
|
1062
|
+ .bagOrderSwitch
|
|
1063
|
+ ? 1
|
|
1064
|
+ : 0; //根据对接数据自动建单(静配,药品)
|
1062
|
1065
|
if (this.addEndDeptIds.length) {
|
1063
|
1066
|
this.taskData.taskType.carryingCourses[0].addEndDeptIds =
|
1064
|
1067
|
this.addEndDeptIds.join(","); //自动(手动)建单追加终点科室
|
|
@@ -1070,14 +1073,10 @@ export class TaskTypeManagementComponent implements OnInit {
|
1070
|
1073
|
.handAddDeptSwitch
|
1071
|
1074
|
? 1
|
1072
|
1075
|
: 0; //手动建单追加终点科室开关
|
1073
|
|
- this.taskData.taskType.carryingCourses[0].xxx = this.xxx ? 1 : 0; //根据对接数据自动建单(静配)
|
1074
|
|
- this.taskData.taskType.carryingCourses[0].yyy = this.yyy ? 1 : 0; //根据对接数据自动建单(药品)
|
1075
|
1076
|
} else {
|
1076
|
1077
|
this.taskData.taskType.carryingCourses[0].addEndDeptIds = ""; //自动(手动)建单追加终点科室
|
1077
|
1078
|
this.taskData.taskType.carryingCourses[0].autoAddDeptSwitch = 0; //自动建单追加终点科室开关
|
1078
|
1079
|
this.taskData.taskType.carryingCourses[0].handAddDeptSwitch = 0; //手动建单追加终点科室开关
|
1079
|
|
- this.taskData.taskType.carryingCourses[0].xxx = 0; //根据对接数据自动建单(静配)
|
1080
|
|
- this.taskData.taskType.carryingCourses[0].yyy = 0; //根据对接数据自动建单(药品)
|
1081
|
1080
|
}
|
1082
|
1081
|
console.log(this.taskData);
|
1083
|
1082
|
// return;
|
|
@@ -1163,8 +1162,7 @@ export class TaskTypeManagementComponent implements OnInit {
|
1163
|
1162
|
this.addEndDeptIds = []; //自动(手动)建单追加终点科室
|
1164
|
1163
|
this.autoAddDeptSwitch = false; //自动建单追加终点科室开关
|
1165
|
1164
|
this.handAddDeptSwitch = false; //手动建单追加终点科室开关
|
1166
|
|
- this.xxx = false; //根据对接数据自动建单(静配)
|
1167
|
|
- this.yyy = false; //根据对接数据自动建单(药品)
|
|
1165
|
+ this.bagOrderSwitch = false; //根据对接数据自动建单(静配,药品)
|
1168
|
1166
|
this.remarks = ""; //提前生效时间,默认20分钟
|
1169
|
1167
|
this.quickRemarks = ""; //备注快速输入
|
1170
|
1168
|
this.styleType = false;
|