gyj 2 年 前
コミット
fb97f76070
共有1 個のファイルを変更した3 個の追加2 個の削除を含む
  1. 3
    2
      src/views/caseManagement/components/addCase.vue

+ 3
- 2
src/views/caseManagement/components/addCase.vue ファイルの表示

1233
         if (valid) {
1233
         if (valid) {
1234
           if (this.addModifyData == 3) {
1234
           if (this.addModifyData == 3) {
1235
             this.formData.affiliate.applicant.forEach((item) => {
1235
             this.formData.affiliate.applicant.forEach((item) => {
1236
+              console.log(item)
1236
               // this.$set(item,"organizeFlag",0);
1237
               // this.$set(item,"organizeFlag",0);
1237
               // this.$set(item,"roleType",2)
1238
               // this.$set(item,"roleType",2)
1238
               item.applicantAgent.organizeFlag = 0;
1239
               item.applicantAgent.organizeFlag = 0;
1239
-              item.applicantAgent.roleType = 2;
1240
+              item.applicantAgent['roleType'] = 2;
1240
             })
1241
             })
1241
             this.formData.affiliate.res.forEach((item) => {
1242
             this.formData.affiliate.res.forEach((item) => {
1242
               // this.$set(item,"organizeFlag",0);
1243
               // this.$set(item,"organizeFlag",0);
1243
               // this.$set(item,"roleType",4)
1244
               // this.$set(item,"roleType",4)
1244
               item.resAgent.organizeFlag = 0;
1245
               item.resAgent.organizeFlag = 0;
1245
-              item.applicantAgent.roleType = 4;
1246
+              item.applicantAgent['roleType'] = 4;
1246
             })
1247
             })
1247
             this.modifyData(this.formData);
1248
             this.modifyData(this.formData);
1248
           } else if (this.addModifyData == 1) {
1249
           } else if (this.addModifyData == 1) {