瀏覽代碼

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

gaogaoyujie 2 年之前
父節點
當前提交
6aedf3c23d

+ 17
- 11
src/views/caseManagement/components/addCase.vue 查看文件

@@ -135,7 +135,7 @@
135 135
             </el-col>
136 136
             <el-col :span="24">
137 137
               <el-form-item label="选择机构或自然人">
138
-                <el-radio-group v-model="item.applicant.organizeFlag" :disabled="modelFlag" @change="clearValidate">
138
+                <el-radio-group v-model="item.applicant.organizeFlag" :disabled="modelFlag" @change="clearValidate($event,index)">
139 139
                   <el-radio :label="0">自然人</el-radio>
140 140
                   <el-radio :label="1">机构</el-radio>
141 141
                 </el-radio-group>
@@ -423,7 +423,7 @@
423 423
             </el-col>
424 424
             <el-col :span="24">
425 425
               <el-form-item label="选择机构或自然人">
426
-                <el-radio-group v-model="item.res.organizeFlag" :disabled="modelFlag" @change="clearValidateRes">
426
+                <el-radio-group v-model="item.res.organizeFlag" :disabled="modelFlag" @change="clearValidateRes($event,index)">
427 427
                   <el-radio :label="0">自然人</el-radio>
428 428
                   <el-radio :label="1">机构</el-radio>
429 429
                 </el-radio-group>
@@ -1239,8 +1239,8 @@ export default {
1239 1239
         }
1240 1240
       });
1241 1241
     },
1242
-    clearValidate(val) {
1243
-      console.log(val)
1242
+    clearValidate(val,index) {
1243
+     if(index==0){
1244 1244
       if (val == 0) {
1245 1245
         this.$set(this.formData.affiliate.applicant[0].applicant, "name", this.getUserInfoList.nickName);
1246 1246
         this.$set(this.formData.affiliate.applicant[0].applicant, "idCard", this.getUserInfoList.idCard);
@@ -1249,7 +1249,7 @@ export default {
1249 1249
         this.$set(this.formData.affiliate.applicant[0].applicant, "idType", this.getUserInfoList.idType);
1250 1250
         this.$set(this.formData.affiliate.applicant[0].applicant, "nationality", this.getUserInfoList.nationality);
1251 1251
         if (this.formZipData.affiliate) {
1252
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'organizeFlag', 0);
1252
+          // this.$set(this.formData.affiliate.applicant[0].applicant, 'organizeFlag', 0);
1253 1253
           this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
1254 1254
           this.$set(this.formData, 'facts', this.formZipData.facts);
1255 1255
           this.$set(this.formData.affiliate.applicant[0].applicant, "name", this.getUserInfoList.nickName);
@@ -1269,7 +1269,7 @@ export default {
1269 1269
         this.$set(this.formData.affiliate.applicant[0].applicantAgent, "email", this.getUserInfoList.email);
1270 1270
         this.$set(this.formData.affiliate.applicant[0].applicantAgent, "phone", this.getUserInfoList.phonenumber);
1271 1271
         if (this.formZipData.affiliate) {
1272
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'organizeFlag', 1);
1272
+          // this.$set(this.formData.affiliate.applicant[0].applicant, 'organizeFlag', 1);
1273 1273
           this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
1274 1274
           this.$set(this.formData, 'facts', this.formZipData.facts);
1275 1275
           this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData
@@ -1299,12 +1299,15 @@ export default {
1299 1299
           this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', null);
1300 1300
         }
1301 1301
       }
1302
+     }
1303
+      
1302 1304
       this.$refs["ruleForm"].clearValidate()
1303 1305
     },
1304
-    clearValidateRes(val) {
1305
-      if (val == 0) {
1306
+    clearValidateRes(val,index) {
1307
+      if(index==0){
1308
+        if (val == 0) {
1306 1309
         if (this.formZipData.affiliate) {
1307
-          this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 0);
1310
+          // this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 0);
1308 1311
           this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name);
1309 1312
           this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone);
1310 1313
           this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard);
@@ -1315,7 +1318,7 @@ export default {
1315 1318
         }
1316 1319
       } else if (val == 1) {
1317 1320
         if (this.formZipData.affiliate) {
1318
-          this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 1);
1321
+          // this.$set(this.formData.affiliate.res[0].res, 'organizeFlag', 1);
1319 1322
           this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name);
1320 1323
           this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone);
1321 1324
           this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard);
@@ -1324,8 +1327,11 @@ export default {
1324 1327
           this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home);
1325 1328
           this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email);
1326 1329
         }
1330
+        this.$set(this.formData.affiliate.res[0].res, 'name', null)
1331
+				this.$set(this.formData.affiliate.res[0].res, 'home', null)
1332
+      }
1327 1333
       }
1328
-      console.log(val)
1334
+      
1329 1335
       this.$refs["ruleForm"].clearValidate()
1330 1336
     },
1331 1337
     cancel() {

+ 1
- 1
src/views/caseManagement/components/mediation.vue 查看文件

@@ -56,7 +56,7 @@
56 56
           </el-form-item>
57 57
         </el-col>
58 58
         <el-col :span="24">
59
-          <el-form-item label="是否用印申请" v-if="formData.mediaResult == 1">
59
+          <el-form-item label="是否用印申请" v-if="formData.mediaResult == 1&& mediationData.mediationMethod=='1'">
60 60
              <el-radio-group v-model="formData.sealFlag" :disabled="!selectRoido">
61 61
                 <el-radio :label="1">是</el-radio>
62 62
                 <el-radio :label="0">否</el-radio>

+ 9
- 2
src/views/login.vue 查看文件

@@ -279,8 +279,15 @@ export default {
279 279
     // H5轮询获取E证通Token状态
280 280
     getSelectPCEIDtokenStatus(data) {
281 281
       selectPCEIDtokenStatus(data).then((res) => {
282
-        if (res.data.Text.ErrCode == 0) {
283
-          this.$router.push(this.pathVal);
282
+        if (res.data.certificationStatus == 0) {
283
+          // this.$router.push(this.pathVal);
284
+          this.$router.push({
285
+            path:this.pathVal,
286
+            query:{
287
+              identityNo:res.data.identityNo,
288
+              name:res.data.name
289
+            }
290
+          })
284 291
         }
285 292
       });
286 293
     },

+ 6
- 1
src/views/register.vue 查看文件

@@ -144,7 +144,9 @@ export default {
144 144
         code: "",
145 145
         uuid: "",
146 146
         nationality:0,
147
-        idType:0
147
+        idType:0,
148
+        identityNo:"",
149
+        name:""
148 150
       },
149 151
       registerRules: {
150 152
         userName: [
@@ -241,6 +243,9 @@ export default {
241 243
     this.getCode();
242 244
     this.getListRole();
243 245
     this.getIdTypeFn();
246
+    this.registerForm.identityNo = this.$route.query.identityNo;
247
+    this.registerForm.name = this.$route.query.name;
248
+    console.log(this.$route.query.identityNo)
244 249
   },
245 250
   methods: {
246 251
     changeInput(){