|
@@ -663,21 +663,19 @@ export class HushijiandanComponent implements OnInit {
|
663
|
663
|
);
|
664
|
664
|
}
|
665
|
665
|
//是否需要医护陪同检查
|
666
|
|
- let isAccompany = false;
|
667
|
|
- if (this.patientMsg.careLevel && !isAccompany) {
|
|
666
|
+ if (this.patientMsg.careLevel && this.currentTasktype.isAccompany == 1) {
|
668
|
667
|
//特级护理或一级护理
|
669
|
668
|
if (
|
670
|
669
|
this.patientMsg.careLevel.value === "0" ||
|
671
|
670
|
this.patientMsg.careLevel.value === "1"
|
672
|
671
|
) {
|
673
|
|
- isAccompany = true;
|
674
|
672
|
this.btnLoading = false;
|
675
|
673
|
this.btnLoading1 = false;
|
676
|
674
|
this.accompany(this.confirmPostData, this.confirmYuyue, "patient-yy");
|
677
|
675
|
return;
|
678
|
676
|
}
|
679
|
677
|
}
|
680
|
|
- if (this.patientMsg.illnessState && !isAccompany) {
|
|
678
|
+ if (this.patientMsg.illnessState && this.currentTasktype.isAccompany == 1) {
|
681
|
679
|
//病危或病重
|
682
|
680
|
if (
|
683
|
681
|
this.patientMsg.illnessState.value === "2" ||
|
|
@@ -970,21 +968,22 @@ export class HushijiandanComponent implements OnInit {
|
970
|
968
|
postData.workOrder["isRemand"] = this.isRemand ? 1 : 0;
|
971
|
969
|
}
|
972
|
970
|
//是否需要医护陪同检查
|
973
|
|
- let isAccompany = false;
|
974
|
|
- if (this.patientMsg.careLevel && !isAccompany) {
|
|
971
|
+ if (this.patientMsg.careLevel && this.currentTasktype.isAccompany == 1) {
|
975
|
972
|
//特级护理或一级护理
|
976
|
973
|
if (
|
977
|
974
|
this.patientMsg.careLevel.value === "0" ||
|
978
|
975
|
this.patientMsg.careLevel.value === "1"
|
979
|
976
|
) {
|
980
|
|
- isAccompany = true;
|
981
|
977
|
this.btnLoading = false;
|
982
|
978
|
this.btnLoading1 = false;
|
983
|
979
|
this.accompany(postData, yuyue, "patient");
|
984
|
980
|
return;
|
985
|
981
|
}
|
986
|
982
|
}
|
987
|
|
- if (this.patientMsg.illnessState && !isAccompany) {
|
|
983
|
+ if (
|
|
984
|
+ this.patientMsg.illnessState &&
|
|
985
|
+ this.currentTasktype.isAccompany == 1
|
|
986
|
+ ) {
|
988
|
987
|
//病危或病重
|
989
|
988
|
if (
|
990
|
989
|
this.patientMsg.illnessState.value === "2" ||
|
|
@@ -1077,7 +1076,13 @@ export class HushijiandanComponent implements OnInit {
|
1077
|
1076
|
});
|
1078
|
1077
|
}
|
1079
|
1078
|
}
|
1080
|
|
- hideAccompanyModal() {
|
|
1079
|
+ hideAccompanyModal(e) {
|
|
1080
|
+ console.log(e);
|
|
1081
|
+ if (e === "x") {
|
|
1082
|
+ //关闭
|
|
1083
|
+ this.accompanyModal = false;
|
|
1084
|
+ return;
|
|
1085
|
+ }
|
1081
|
1086
|
this.accompanyPostData.workOrder.isAccompany = 0;
|
1082
|
1087
|
this.cancenlLoading = true;
|
1083
|
1088
|
if (this.accompanyType == "patient") {
|
|
@@ -1130,9 +1135,13 @@ export class HushijiandanComponent implements OnInit {
|
1130
|
1135
|
// 切换患者送检检查项目
|
1131
|
1136
|
checkedShowMsg: any = {}; //患者送检检查项目对应展示信息
|
1132
|
1137
|
current_allowUrgent = false; //当前任务类型是否允许加急
|
|
1138
|
+ currentTasktype; //当前选中的任务类型对象
|
1133
|
1139
|
changeCheckedType() {
|
1134
|
1140
|
this.clickYYFlag = false;
|
1135
|
1141
|
this.clickYYZyFlag = false;
|
|
1142
|
+ this.currentTasktype = this.checkTypeLis.find(
|
|
1143
|
+ (item) => item.id == this.patientForm.controls.checkedType.value
|
|
1144
|
+ );
|
1136
|
1145
|
// 获取患者其他服务,护士端是否预约建单
|
1137
|
1146
|
let appointmentZyBuildFlag = this.checkTypeLis.filter(
|
1138
|
1147
|
(item) =>
|