ソースを参照

Merge branch 'hcb' of SH-Arbitrate/Mediation-Frontend into dev

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

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

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