Bladeren bron

bug修复

seimin 7 maanden geleden
bovenliggende
commit
5cdd9845a7

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

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