seimin 2 роки тому
батько
коміт
e8dbc4eb7b
2 змінених файлів з 2 додано та 2 видалено
  1. 1 1
      src/views/IncidentNewList.vue
  2. 1 1
      src/views/incidentList.vue

+ 1 - 1
src/views/IncidentNewList.vue

@@ -436,7 +436,7 @@ export default {
436 436
       this.$http
437 437
         .post("service/bpm/bpm/delegateTask/" + this.modelsData.taskId, {
438 438
           assginee: selectUserId,
439
-          incidentId: this.modelsData.id,
439
+          incidentId: this.modelsData.assignee ? undefined : this.modelsData.id,
440 440
         })
441 441
         .then(res => {
442 442
           toast.hide();

+ 1 - 1
src/views/incidentList.vue

@@ -396,7 +396,7 @@ export default {
396 396
       this.$http
397 397
         .post("service/bpm/bpm/delegateTask/" + this.modelsData.taskId, {
398 398
           assginee: selectUserId,
399
-          incidentId: this.modelsData.id,
399
+          incidentId: this.modelsData.assignee ? undefined : this.modelsData.id,
400 400
         })
401 401
         .then(res => {
402 402
           toast.hide();