Browse Source

bug修复

seimin 7 months ago
parent
commit
5cdd9845a7

+ 2 - 0
src/app/components/incidentManagement/incident-substitution/incident-substitution.component.ts

@@ -136,6 +136,7 @@ export class IncidentSubstitutionComponent implements OnInit {
136 136
       } else {
137 137
         // 派组
138 138
         postData.incident.candidateGroups = this.redeploy.validateForm.value.groupId;
139
+        delete postData.incident.assignee;
139 140
       }
140 141
 
141 142
       this.mainService
@@ -175,6 +176,7 @@ export class IncidentSubstitutionComponent implements OnInit {
175 176
       } else {
176 177
         // 派组
177 178
         postData.incident.candidateGroups = this.assign.validateForm.value.groupId;
179
+        delete postData.incident.assignee;
178 180
       }
179 181
 
180 182
       postData.incident.duty = { id: this.assign.validateForm.value.dutyId };