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

+ 1 - 1
src/views/incidentList.vue

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