hanchaobo 2 лет назад
Родитель
Сommit
c071610f80

+ 53
- 28
src/views/caseManagement/caseList.vue Просмотреть файл

@@ -18,8 +18,8 @@
18 18
                     @keyup.enter.native="handleQuery" />
19 19
             </el-form-item> -->
20 20
             <el-form-item label="案件编号" prop="caseNum">
21
-                <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" :disabled='queryDisable' clearable style="width: 240px"
22
-                    @keyup.enter.native="handleQuery" />
21
+                <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" :disabled='queryDisable' clearable
22
+                    style="width: 240px" @keyup.enter.native="handleQuery" />
23 23
             </el-form-item>
24 24
             <el-form-item label="创建时间" prop="caseTime">
25 25
                 <el-date-picker v-model="caseTime" type="daterange" align="right" unlink-panels range-separator="至"
@@ -82,9 +82,9 @@
82 82
             " @click="caseFilingDetails(scope.row)">归档详情</el-button>
83 83
                     <div class="btnList" v-for="item in buttonList" :key="item.id">
84 84
                         <el-button size="mini" type="text" icon="el-icon-tickets" @click="caseClick(scope.row, item.id)"
85
-                            v-if="item.id == scope.row.caseFlowId &&
85
+                            v-if="(item.id == scope.row.caseFlowId &&
86 86
             checkPermi([item.buttonAuthFlag]) &&
87
-            scope.row.signButtonFlag != 1
87
+            scope.row.signButtonFlag != 1) && (scope.row.appOperatorFlag == 1 || scope.row.resOperatorFlag == 1 || scope.row.otherFlag == 1)
88 88
             ">{{ item.nodeName }}</el-button>
89 89
                     </div>
90 90
                 </template>
@@ -211,7 +211,7 @@ export default {
211 211
                 pageNum: 1,
212 212
                 pageSize: 10,
213 213
             },
214
-            queryDisable:false,
214
+            queryDisable: false,
215 215
             // 遮罩层
216 216
             loading: false,
217 217
             // 总条数
@@ -279,9 +279,9 @@ export default {
279 279
     },
280 280
     created() {
281 281
         this.queryParams.caseNum = this.$route.query.caseNum;
282
-        if(this.$route.query.token){
282
+        if (this.$route.query.token) {
283 283
             this.queryDisable = true;
284
-        }else{
284
+        } else {
285 285
             this.queryDisable = false;
286 286
         }
287 287
         // this.getList(this.queryParams);
@@ -469,6 +469,12 @@ export default {
469 469
             caseApplicationSelectById(parms).then((res) => {
470 470
                 this.formPayDetail = res.data;
471 471
                 this.formPayDetailAffiliate = res.data.affiliate;
472
+                let applicantStr = '';
473
+                let resStr = '';
474
+                applicantStr = this.formPayDetailAffiliate.applicant.map(item => item.applicant.name).join(',');
475
+                resStr = this.formPayDetailAffiliate.res.map(item => item.res.name).join(',');
476
+                this.formPayDetailAffiliate.applicationName = applicantStr;
477
+                this.formPayDetailAffiliate.respondentName = resStr;
472 478
                 this.payForm.feePayable = res.data.feePayable;
473 479
                 this.payForm.caseId = res.data.id;
474 480
             });
@@ -477,6 +483,12 @@ export default {
477 483
             caseApplicationSelectById(parms).then((res) => {
478 484
                 this.formResPayDetail = res.data;
479 485
                 this.formResPay = res.data.affiliate;
486
+                let applicantStr = '';
487
+                let resStr = '';
488
+                applicantStr = this.formResPay.applicant.map(item => item.applicant.name).join(',');
489
+                resStr = this.formResPay.res.map(item => item.res.name).join(',');
490
+                this.formResPay.applicationName = applicantStr;
491
+                this.formResPay.respondentName = resStr;
480 492
                 this.resPayForm.feePayable = res.data.feePayable;
481 493
                 this.resPayForm.caseId = res.data.id;
482 494
             });
@@ -698,25 +710,25 @@ export default {
698 710
                 ids: [row.id],
699 711
             };
700 712
             this.$confirm("你确定要案件送达吗?", "提示", {
701
-                    confirmButtonText: '确定',
702
-                    cancelButtonText: '取消',
703
-                    type: 'warning',
704
-                    callback: () => { },
705
-                    beforeClose: (action, ctx, close) => {
706
-                        if (action !== 'confirm') {
707
-                            close();
708
-                            return;
709
-                        }
710
-                        ctx.confirmButtonLoading = true;
711
-                        msCaseFile(paramValues).then((res) => {
712
-                            this.$modal.msgSuccess("案件送达成功");
713
-                            close();
714
-                            this.getList(this.queryParams);
715
-                        }).finally(() => {
716
-                            ctx.confirmButtonLoading = false;
717
-                        })
713
+                confirmButtonText: '确定',
714
+                cancelButtonText: '取消',
715
+                type: 'warning',
716
+                callback: () => { },
717
+                beforeClose: (action, ctx, close) => {
718
+                    if (action !== 'confirm') {
719
+                        close();
720
+                        return;
718 721
                     }
719
-                }).finally(() => { })
722
+                    ctx.confirmButtonLoading = true;
723
+                    msCaseFile(paramValues).then((res) => {
724
+                        this.$modal.msgSuccess("案件送达成功");
725
+                        close();
726
+                        this.getList(this.queryParams);
727
+                    }).finally(() => {
728
+                        ctx.confirmButtonLoading = false;
729
+                    })
730
+                }
731
+            }).finally(() => { })
720 732
             // .then((res) => {
721 733
             //     msCaseFile(paramValues).then((res) => {
722 734
             //         this.$modal.msgSuccess("案件送达成功");
@@ -757,9 +769,22 @@ export default {
757 769
             this.caseFilingData = val;
758 770
             let vals = { id: val.id };
759 771
             caseApplicationSelectById(vals).then((res) => {
760
-                res.data.affiliate.respondentSex = Number(
761
-                    res.data.affiliate.respondentSex
762
-                );
772
+                res.data.affiliate.applicant.forEach(item => {
773
+                    if (!item.applicant) {
774
+                        item.applicant = {}
775
+                    }
776
+                    if (!item.applicantAgent) {
777
+                        item.applicantAgent = {}
778
+                    }
779
+                })
780
+                res.data.affiliate.res.forEach(item => {
781
+                    if (!item.res) {
782
+                        item.res = {}
783
+                    }
784
+                    if (!item.resAgent) {
785
+                        item.resAgent = {}
786
+                    }
787
+                })
763 788
                 this.detailsAwardNum = res.data;
764 789
                 console.log(this.detailsAwardNum);
765 790
                 this.flagLoadingS = false;

+ 44
- 42
src/views/caseManagement/components/addCase.vue Просмотреть файл

@@ -64,7 +64,7 @@
64 64
           <el-col :span="24" v-if="modelFlag && showEvidence">
65 65
             <el-form-item label="证据:">
66 66
               <div v-for="(item, index) in formData.caseAttachList" :key="index" v-if="item.annexType == 2">
67
-                <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath)">
67
+                <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath,1)">
68 68
                   {{ item.annexName }}
69 69
                 </div>
70 70
               </div>
@@ -631,6 +631,7 @@ export default {
631 631
       title: "新增案件",
632 632
       // organizeFlag:0,//选择机构和自然人
633 633
       formData: {
634
+        caseSource:"YC",
634 635
         arbitratClaims: "",
635 636
         facts: "",
636 637
         organizeFlag: 0,
@@ -785,6 +786,7 @@ export default {
785 786
       if (val) {
786 787
         if (this.addModifyData == 1) {
787 788
           this.formData = {
789
+            caseSource:"YC",
788 790
             organizeFlag: 0,
789 791
             affiliate:
790 792
         {
@@ -1024,19 +1026,19 @@ export default {
1024 1026
       this.$set(this.formData, 'organizeFlag', 0);
1025 1027
       this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
1026 1028
       this.$set(this.formData, 'facts', this.formZipData.facts);
1027
-      this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate[0].applicant.home);
1028
-      this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate[0].applicant.address);
1029
-      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate[0].applicantAgent.phone);
1030
-      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate[0].applicantAgent.name);
1031
-      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate[0].applicantAgent.email);
1032
-      this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name);
1033
-      this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone);
1034
-      this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard);
1035
-      this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate[0].res.sex);
1036
-      this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth);
1037
-      this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home);
1038
-      this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email);
1039
-      this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate[0].applicant.compLegalPerson);
1029
+      this.$set(this.formData.affiliate.applicant[0].applicant, 'home', this.formZipData.affiliate.applicant[0].applicant.home);
1030
+      this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0].applicant.address);
1031
+      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate.applicant[0].applicantAgent.phone);
1032
+      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0].applicantAgent.name);
1033
+      this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0].applicantAgent.email);
1034
+      this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name);
1035
+      this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone);
1036
+      this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard);
1037
+      this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate.res[0].res.sex);
1038
+      this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth);
1039
+      this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home);
1040
+      this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email);
1041
+      this.$set(this.formData.affiliate.applicant[0].applicant, 'compLegalPerson', this.formZipData.affiliate.applicant[0].applicant.compLegalPerson);
1040 1042
       // this.$set(this.formData.affiliate,'respondentSex',Number(res.data.affiliate.respondentSex));
1041 1043
     },
1042 1044
     handlePreview(file) {
@@ -1067,18 +1069,18 @@ export default {
1067 1069
           this.$set(this.formData, 'organizeFlag', 0);
1068 1070
           this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
1069 1071
           this.$set(this.formData, 'facts', this.formZipData.facts);
1070
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate[0].applicant.name);
1071
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate[0].applicant.address);
1072
-          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate[0].applicantAgent.phone);
1073
-          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate[0].applicantAgent.name);
1074
-          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate[0].applicantAgent.email);
1075
-          this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name);
1076
-          this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone);
1077
-          this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard);
1078
-          this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData.affiliate[0].res.sex));
1079
-          this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth);
1080
-          this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home);
1081
-          this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email);
1072
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate.applicant[0].applicant.name);
1073
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'address', this.formZipData.affiliate.applicant[0].applicant.address);
1074
+          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'phone', this.formZipData.affiliate.applicant[0].applicantAgent.phone);
1075
+          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'name', this.formZipData.affiliate.applicant[0].applicantAgent.name);
1076
+          this.$set(this.formData.affiliate.applicant[0].applicantAgent, 'email', this.formZipData.affiliate.applicant[0].applicantAgent.email);
1077
+          this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name);
1078
+          this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone);
1079
+          this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard);
1080
+          this.$set(this.formData.affiliate.res[0].res, 'sex', Number(this.formZipData.affiliate.res[0].res.sex));
1081
+          this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth);
1082
+          this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home);
1083
+          this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email);
1082 1084
         } else {
1083 1085
           this.formData.affiliate.applicant[0].applicantAgent.name = null;
1084 1086
           this.formData.affiliate.applicant[0].applicantAgent.email = null;
@@ -1092,17 +1094,17 @@ export default {
1092 1094
           this.$set(this.formData, 'organizeFlag', 1);
1093 1095
           this.$set(this.formData, 'arbitratClaims', this.formZipData.arbitratClaims);
1094 1096
           this.$set(this.formData, 'facts', this.formZipData.facts);
1095
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate[0].applicant.name);
1096
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate[0].applicant.code);
1097
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate[0].applicant.email);
1098
-          this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate[0].applicant.phone);
1099
-          this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate[0].res.name);
1100
-          this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate[0].res.phone);
1101
-          this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate[0].res.idCard);
1102
-          this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate[0].res.sex);
1103
-          this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate[0].res.birth);
1104
-          this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate[0].res.home);
1105
-          this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate[0].res.email);
1097
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'name', this.formZipData.affiliate.applicant[0].applicant.name);
1098
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'code', this.formZipData.affiliate.applicant[0].applicant.code);
1099
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'email', this.formZipData.affiliate.applicant[0].applicant.email);
1100
+          this.$set(this.formData.affiliate.applicant[0].applicant, 'phone', this.formZipData.affiliate.applicant[0].applicant.phone);
1101
+          this.$set(this.formData.affiliate.res[0].res, 'name', this.formZipData.affiliate.res[0].res.name);
1102
+          this.$set(this.formData.affiliate.res[0].res, 'phone', this.formZipData.affiliate.res[0].res.phone);
1103
+          this.$set(this.formData.affiliate.res[0].res, 'idCard', this.formZipData.affiliate.res[0].res.idCard);
1104
+          this.$set(this.formData.affiliate.res[0].res, 'sex', this.formZipData.affiliate.res[0].res.sex);
1105
+          this.$set(this.formData.affiliate.res[0].res, 'birth', this.formZipData.affiliate.res[0].res.birth);
1106
+          this.$set(this.formData.affiliate.res[0].res, 'home', this.formZipData.affiliate.res[0].res.home);
1107
+          this.$set(this.formData.affiliate.res[0].res, 'email', this.formZipData.affiliate.res[0].res.email);
1106 1108
         } else {
1107 1109
           this.$set(this.formData.affiliate.applicant[0].applicant, 'name', null);
1108 1110
           this.$set(this.formData.affiliate.applicant[0].applicant, 'idCard', null);
@@ -1121,12 +1123,12 @@ export default {
1121 1123
     handleBlur(index) {
1122 1124
       // console.log(this.formData.affiliate.respondentIdentityNum);
1123 1125
       let idCards = {
1124
-        idCard: this.formData.affiliate[index].res.idCard,
1126
+        idCard: this.formData.affiliate.res[index].res.idCard,
1125 1127
       };
1126 1128
       getInfoByIdCard(idCards).then((res) => {
1127
-        this.formData.affiliate[index].res.sex = res.respondentSex;
1129
+        this.formData.affiliate.res[index].res.sex = res.respondentSex;
1128 1130
         // console.log(res.respondentBirth);
1129
-        this.formData.affiliate[index].res.birth = res.respondentBirth;
1131
+        this.formData.affiliate.res[index].res.birth = res.respondentBirth;
1130 1132
       });
1131 1133
     },
1132 1134
     /**删除新增信息某一项 */
@@ -1177,7 +1179,7 @@ export default {
1177 1179
     addRes(){
1178 1180
       this.formData.affiliate.res.push({
1179 1181
               res: {
1180
-                roleType: 1,
1182
+                roleType: 3,
1181 1183
                 name: "",
1182 1184
                 idCard: "",
1183 1185
                 code: "",
@@ -1193,7 +1195,7 @@ export default {
1193 1195
                 operatorFlag:0
1194 1196
               },
1195 1197
               resAgent: {
1196
-                roleType: 2,
1198
+                roleType: 4,
1197 1199
                 name: "",
1198 1200
                 idCard: "",
1199 1201
                 code: "",

+ 628
- 274
src/views/caseManagement/components/caseFilingDetailsPage.vue Просмотреть файл

@@ -5,252 +5,575 @@
5 5
         <i class="el-icon-loading"></i>
6 6
       </div>
7 7
       <div v-else>
8
-          <el-tabs v-model="activeName"  @tab-click="handleClick">
9
-            <el-tab-pane label="案件信息" name="five"></el-tab-pane>
10
-            <el-tab-pane label="申请人案件证据资料" name="first"></el-tab-pane>
11
-            <!-- <el-tab-pane label="被申请人案件证据资料" name="second"></el-tab-pane> -->
12
-            <el-tab-pane label="调解书" name="third"></el-tab-pane>
13
-            <el-tab-pane label="案件视频" name="fourth" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
14
-            <el-tab-pane label="庭审笔录" name="six" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
15
-         </el-tabs>
16
-         <div v-show="activeName=='first'">
17
-             
18
-             <div v-for="(item,index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType==2" style="margin-top:10px;">
19
-                 <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
20
-             </div>
21
-            <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,2) == 0" description="暂无数据"></el-empty>
22
-         </div>
23
-         <!-- <div v-show="activeName=='second'">
8
+        <el-tabs v-model="activeName" @tab-click="handleClick">
9
+          <el-tab-pane label="案件信息" name="five"></el-tab-pane>
10
+          <el-tab-pane label="申请人案件证据资料" name="first"></el-tab-pane>
11
+          <!-- <el-tab-pane label="被申请人案件证据资料" name="second"></el-tab-pane> -->
12
+          <el-tab-pane label="调解书" name="third"></el-tab-pane>
13
+          <el-tab-pane label="案件视频" name="fourth" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
14
+          <el-tab-pane label="庭审笔录" name="six" v-if="caseFilingData.mediationMethod == '1'"></el-tab-pane>
15
+        </el-tabs>
16
+        <div v-show="activeName == 'first'">
17
+
18
+          <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 2"
19
+            style="margin-top:10px;">
20
+            <el-link target="_blank" type="primary" :href="fileURL + item.annexPath">{{ item.annexName }}</el-link>
21
+          </div>
22
+          <el-empty v-if="isNoData(detailsAwardNum.caseAttachList, 2) == 0" description="暂无数据"></el-empty>
23
+        </div>
24
+        <!-- <div v-show="activeName=='second'">
24 25
             <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType==6" style="margin-top:10px;">
25 26
                  <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
26 27
              </div>
27 28
              <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,6) == 0" description="暂无数据"></el-empty>
28 29
          </div> -->
29
-         <div  v-show="activeName=='third'">
30
-             <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType==7" style="margin-top:10px;">
31
-                 <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
32
-             </div>
33
-             <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,7) == 0" description="暂无数据"></el-empty>
34
-         </div>
35
-         <div  v-show="activeName=='fourth'">
36
-             <div style="margin-top:10px;" v-for="(item,index) in detailsAwardNum.caseAttachList" v-if="item.annexType==5">
37
-                 <video  style="background-color: #181717;width: 350px;height: 200px;margin: 10px;" :key="index"  :src="fileURL+item.annexPath" controls="controls"></video>
38
-             </div>
39
-             <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,5) == 0" description="暂无数据"></el-empty>
40
-         </div>
41
-         <div  v-show="activeName=='six'">
42
-             <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType==6" style="margin-top:10px;">
43
-                 <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
44
-             </div>
45
-             <el-empty v-if="isNoData(detailsAwardNum.caseAttachList,6) == 0" description="暂无数据"></el-empty>
46
-         </div>
47
-         <div v-show="activeName=='five'">
48
-              <el-form  :disabled="true" :model="detailsAwardNum"  label-width="130px"
49
-          class="demo-ruleForm">
50
-          <el-row>
51
-            <div style="display: inline-flex">
52
-              <div class="infoIcon"></div>
53
-              <div class="caseInfo">案件信息:</div>
54
-            </div>
55
-            <el-divider></el-divider>
56
-            <el-col :span="24">
57
-              <el-form-item label="申请人调解请求">
58
-                <el-input v-model="detailsAwardNum.arbitratClaims" placeholder="请输入申请人调解诉求" type="textarea"
59
-                  :autosize="{ minRows: 4, maxRows: 8 }" />
60
-              </el-form-item>
61
-            </el-col>
62
-            <el-col :span="24">
63
-              <el-form-item label="事实和理由">
64
-                <el-input v-model="detailsAwardNum.facts" placeholder="请输入事实和理由" type="textarea"
65
-                  :autosize="{ minRows: 4, maxRows: 8 }" />
66
-              </el-form-item>
67
-            </el-col>
68
-            <el-col :span="12">
69
-              <el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence">
70
-                <el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
71
-                  :action="UploadUrl()" :on-success="handlSuccess" :on-remove="handleRemove" :on-preview="handlePreview"
72
-                  :before-remove="beforeRemove" :data="filedata" :headers="headers" multiple :limit="50"
73
-                  :on-exceed="handleExceed" :file-list="fileList">
74
-                  <el-button size="small" type="primary">点击上传</el-button>
75
-                  <div slot="tip" class="el-upload__tip">
76
-                    文件支持上传.jpg,png,.doc,docx,.txt,.pdf文件
30
+        <div v-show="activeName == 'third'">
31
+          <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType == 7" style="margin-top:10px;">
32
+            <el-link target="_blank" type="primary" :href="fileURL + item.annexPath">{{ item.annexName }}</el-link>
33
+          </div>
34
+          <el-empty v-if="isNoData(detailsAwardNum.caseAttachList, 7) == 0" description="暂无数据"></el-empty>
35
+        </div>
36
+        <div v-show="activeName == 'fourth'">
37
+          <div style="margin-top:10px;" v-for="(item, index) in detailsAwardNum.caseAttachList"
38
+            v-if="item.annexType == 5">
39
+            <video style="background-color: #181717;width: 350px;height: 200px;margin: 10px;" :key="index"
40
+              :src="fileURL + item.annexPath" controls="controls"></video>
41
+          </div>
42
+          <el-empty v-if="isNoData(detailsAwardNum.caseAttachList, 5) == 0" description="暂无数据"></el-empty>
43
+        </div>
44
+        <div v-show="activeName == 'six'">
45
+          <div v-for="item in detailsAwardNum.caseAttachList" v-if="item.annexType == 6" style="margin-top:10px;">
46
+            <el-link target="_blank" type="primary" :href="fileURL + item.annexPath">{{ item.annexName }}</el-link>
47
+          </div>
48
+          <el-empty v-if="isNoData(detailsAwardNum.caseAttachList, 6) == 0" description="暂无数据"></el-empty>
49
+        </div>
50
+        <div v-show="activeName == 'five'">
51
+          <el-form :disabled="true" :model="detailsAwardNum" label-width="130px" class="demo-ruleForm">
52
+            <el-row>
53
+              <div style="display: inline-flex">
54
+                <div class="infoIcon"></div>
55
+                <div class="caseInfo">案件信息:</div>
56
+              </div>
57
+              <el-divider></el-divider>
58
+              <el-col :span="24">
59
+                <el-form-item label="申请人调解请求" prop="arbitratClaims" :rules="[
60
+      {
61
+        required: true,
62
+        message: '申请人调解请求不能为空',
63
+        trigger: 'blur',
64
+      },
65
+    ]">
66
+                  <el-input v-model="detailsAwardNum.arbitratClaims" placeholder="请输入申请人调解诉求" type="textarea"
67
+                    :autosize="{ minRows: 4, maxRows: 8 }" />
68
+                </el-form-item>
69
+              </el-col>
70
+              <el-col :span="24">
71
+                <el-form-item label="事实和理由" prop="facts" :rules="[
72
+      {
73
+        required: true,
74
+        message: '事实和理由不能为空',
75
+        trigger: 'blur',
76
+      },
77
+    ]">
78
+                  <el-input v-model="detailsAwardNum.facts" placeholder="请输入事实和理由" type="textarea"
79
+                    :autosize="{ minRows: 4, maxRows: 8 }" />
80
+                </el-form-item>
81
+              </el-col>
82
+              <el-col :span="24">
83
+                <el-form-item label="调解申请书:">
84
+                  <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 3">
85
+                    <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath, 1)">
86
+                      {{ item.annexName }}
87
+                    </div>
77 88
                   </div>
78
-                </el-upload>
79
-              </el-form-item>
80
-            </el-col>
81
-            <el-col :span="24" v-if="showmediate">
82
-              <el-form-item label="证据:">
83
-                <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 2">
84
-                  <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath)">
85
-                    {{ item.annexName }}
89
+                </el-form-item>
90
+              </el-col>
91
+              <el-col :span="24">
92
+                <el-form-item label="调解书:">
93
+                  <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 7">
94
+                    <div style="color: blue; cursor: pointer" @click="fileDetil(item.onlyOfficeFileId, 2)">
95
+                      {{ item.annexName }}
96
+                    </div>
86 97
                   </div>
98
+                </el-form-item>
99
+              </el-col>
100
+              <el-col :span="24">
101
+                <el-form-item label="调解结果:">
102
+                  <el-link v-if="detailsAwardNum.mediaResult == 1">达成调解</el-link>
103
+                  <el-link v-if="detailsAwardNum.mediaResult == 2">未达成调解</el-link>
104
+                  <el-link v-if="detailsAwardNum.mediaResult == 3">未达成调解但不在争议</el-link>
105
+                  <el-link v-if="detailsAwardNum.mediaResult == 4">未达成调解但同意引入仲裁</el-link>
106
+                  <el-link v-if="detailsAwardNum.mediaResult == 5">达成和解</el-link>
107
+                </el-form-item>
108
+              </el-col>
109
+              <el-col :span="24">
110
+                <div style="display: inline-flex">
111
+                  <div class="infoIcon"></div>
112
+                  <div class="caseInfo">双方信息:</div>
87 113
                 </div>
88
-              </el-form-item>
89
-            </el-col>
90
-            <el-col :span="24" v-if="showEvidence">
91
-              <el-form-item label="调解申请书:">
92
-                <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 3">
93
-                  <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath)">
94
-                    {{ item.annexName }}
114
+                <el-divider></el-divider>
115
+              </el-col>
116
+              <el-col :span="24">
117
+                <el-form-item label="选择机构或自然人" prop="organizeFlag">
118
+                  <el-radio-group v-model="detailsAwardNum.organizeFlag">
119
+                    <el-radio :label="0">自然人</el-radio>
120
+                    <el-radio :label="1">机构</el-radio>
121
+                  </el-radio-group>
122
+                </el-form-item>
123
+              </el-col>
124
+              <div class="applicant" v-for="(item, index) in detailsAwardNum.affiliate.applicant" :key="item.key">
125
+                <el-col :span="24">
126
+                  <div style="display: inline-flex">
127
+                    <div class="infoIcon"></div>
128
+                    <div class="caseInfo">申请人</div>
95 129
                   </div>
96
-                </div>
97
-              </el-form-item>
98
-            </el-col>
99
-            <el-col :span="24">
100
-              <el-form-item label="调解书:" v-if="showConciliation">
101
-                <div v-for="(item, index) in detailsAwardNum.caseAttachList" :key="index" v-if="item.annexType == 7">
102
-                  <div style="color: blue; cursor: pointer" @click="fileDetil(item.annexPath)">
103
-                    {{ item.annexName }}
130
+                  <el-divider></el-divider>
131
+                </el-col>
132
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
133
+                  <el-form-item label="申请机构名称" :prop="'affiliate.applicant.' + index + '.applicant.name'" :rules="[
134
+      {
135
+        required: true,
136
+        message: '申请机构名称不能为空',
137
+        trigger: 'blur',
138
+      },
139
+    ]">
140
+                    <el-input v-model="item.applicant.name" placeholder="请输入申请机构名称" />
141
+                  </el-form-item>
142
+                </el-col>
143
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
144
+                  <el-form-item label="申请人" :prop="'affiliate.applicant.' + index + '.applicant.name'" :rules="[
145
+      {
146
+        required: true,
147
+        message: '申请人名称不能为空',
148
+        trigger: 'blur',
149
+      },
150
+    ]">
151
+                    <el-input v-model="item.applicant.name" placeholder="请输入申请人姓名" />
152
+                  </el-form-item>
153
+                </el-col>
154
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
155
+                  <el-form-item label="是否为操作人" :prop="'affiliate.applicant.' + index + '.applicant.operatorFlag'"
156
+                    :rules="[
157
+      {
158
+        required: true,
159
+        message: '请选择是否为操作人',
160
+        trigger: 'blur',
161
+      },
162
+    ]">
163
+                    <el-select v-model="item.applicant.operatorFlag" placeholder="请选择" auto-complete="off"
164
+                      style="width: 100%;">
165
+                      <el-option v-for="item in roleTypeList" :key="item.id" :label="item.value" :value="item.id">
166
+
167
+                      </el-option>
168
+                    </el-select>
169
+                  </el-form-item>
170
+                </el-col>
171
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
172
+                  <el-form-item label-width="140px" label="统一社会信用代码"
173
+                    :prop="'affiliate.applicant.' + index + '.applicant.code'" :rules="[
174
+      {
175
+        required: true,
176
+        message: '统一社会信用代码不能为空',
177
+        trigger: 'blur',
178
+      },
179
+    ]">
180
+                    <el-input v-model="item.applicant.code" placeholder="请输入统一社会信用代码" />
181
+                  </el-form-item>
182
+                </el-col>
183
+                <el-col :span="12">
184
+                  <el-form-item :prop="'affiliate.applicant.' + index + '.applicant.nationality'" label="国籍" :rules="[
185
+      {
186
+        required: true,
187
+        message: '国籍不能为空',
188
+        trigger: 'blur',
189
+      },
190
+    ]">
191
+                    <el-select v-model="item.applicant.nationality" placeholder="请选择国籍" auto-complete="off"
192
+                      style="width: 100%;">
193
+                      <el-option v-for="item in nationalityList" :key="item.id" :label="item.value" :value="item.id">
194
+
195
+                      </el-option>
196
+                    </el-select>
197
+                  </el-form-item>
198
+                </el-col>
199
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
200
+                  <el-form-item :prop="'affiliate.applicant.' + index + '.applicant.idType'" label="证件类型" :rules="[
201
+      {
202
+        required: true,
203
+        message: '证件类型不能为空',
204
+        trigger: 'blur',
205
+      },
206
+    ]">
207
+                    <el-select v-model="item.applicant.idType" placeholder="证件类型" auto-complete="off"
208
+                      style="width: 100%;">
209
+                      <el-option v-for="item in idTypeList" :key="Number(item.dictValue)" :label="item.dictLabel"
210
+                        :value="Number(item.dictValue)">
211
+
212
+                      </el-option>
213
+                    </el-select>
214
+                  </el-form-item>
215
+                </el-col>
216
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
217
+                  <el-form-item label="证件号码" :prop="'affiliate.applicant.' + index + '.applicant.idCard'" :rules="[
218
+      {
219
+        required: true,
220
+        message: '证件号码不能为空',
221
+        trigger: 'blur',
222
+      },
223
+    ]">
224
+                    <el-input v-model="item.applicant.idCard" placeholder="请输入申请人的证件号码" />
225
+                  </el-form-item>
226
+                </el-col>
227
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
228
+                  <el-form-item label="申请人邮箱" :prop="'affiliate.applicant.' + index + '.applicant.email'" :rules="[
229
+      {
230
+        required: true,
231
+        message: '申请人邮箱不能为空',
232
+        trigger: 'blur',
233
+      },
234
+      {
235
+        pattern:
236
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
237
+        message: '请输入正确的邮箱地址',
238
+        trigger: 'blur',
239
+      },
240
+    ]">
241
+                    <el-input v-model="item.applicant.email" placeholder="请输入申请人邮箱" />
242
+                  </el-form-item>
243
+                </el-col>
244
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
245
+                  <el-form-item label="申请人电话" :prop="'affiliate.applicant.' + index + '.applicant.phone'" :rules="detailsAwardNum.affiliate.nationality == 0 ? [
246
+      {
247
+        required: true,
248
+        message: '申请人联系电话不能为空',
249
+        trigger: 'blur',
250
+      },
251
+      {
252
+        pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
253
+        message: '请输入正确的手机号码',
254
+        trigger: 'blur',
255
+      },
256
+    ] : []">
257
+                    <el-input v-model="item.applicant.phone" placeholder="请输入申请人联系电话" />
258
+                  </el-form-item>
259
+                </el-col>
260
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
261
+                  <el-form-item label="法定代表人" :prop="'affiliate.applicant.' + index + '.applicant.compLegalPerson'"
262
+                    :rules="[
263
+      {
264
+        required: true,
265
+        message: '法定代表人不能为空',
266
+        trigger: 'blur',
267
+      },
268
+    ]">
269
+                    <el-input v-model="item.applicant.compLegalPerson" placeholder="请输入法定代表人" />
270
+                  </el-form-item>
271
+                </el-col>
272
+                <el-col :span="12">
273
+                  <el-form-item label="申请人住所" :prop="'affiliate.applicant.' + index + '.applicant.home'" :rules="[
274
+      {
275
+        required: true,
276
+        message: '申请人住所不能为空',
277
+        trigger: 'blur',
278
+      },
279
+    ]">
280
+                    <el-input v-model="item.applicant.home" placeholder="请输入申请人住所" />
281
+                  </el-form-item>
282
+                </el-col>
283
+                <el-col :span="12">
284
+                  <el-form-item label="申请人联系地址" :prop="'affiliate.applicant.' + index + '.applicant.address'" :rules="[
285
+      {
286
+        required: true,
287
+        message: '申请人联系地址不能为空',
288
+        trigger: 'blur',
289
+      },
290
+    ]">
291
+                    <el-input v-model="item.applicant.address" placeholder="请输入申请人联系地址" />
292
+                  </el-form-item>
293
+                </el-col>
294
+                <el-col :span="24">
295
+                  <div style="display: inline-flex">
296
+                    <div class="infoIcon"></div>
297
+                    <div class="caseInfo">申请人代理人</div>
104 298
                   </div>
105
-                </div>
106
-              </el-form-item>
107
-            </el-col>
108
-            <el-col :span="24">
109
-                 <el-form-item label="调解结果:" v-if="detailsAwardNum.mediaResult">
110
-                    <el-link v-if="detailsAwardNum.mediaResult==1">达成调解</el-link>
111
-                    <el-link v-if="detailsAwardNum.mediaResult==2">未达成调解</el-link>
112
-                    <el-link v-if="detailsAwardNum.mediaResult==3">未达成调解但不在争议</el-link>
113
-                    <el-link v-if="detailsAwardNum.mediaResult==4">未达成调解但同意引入仲裁</el-link>
114
-                    <el-link v-if="detailsAwardNum.mediaResult==5">达成和解</el-link>
115
-                 </el-form-item>
116
-            </el-col>
117
-            <el-col :span="24">
118
-              <div style="display: inline-flex">
119
-                <div class="infoIcon"></div>
120
-                <div class="caseInfo">双方信息:</div>
299
+                  <el-divider></el-divider>
300
+                </el-col>
301
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
302
+                  <el-form-item label="代理人联系电话" :prop="'affiliate.applicant.' + index + '.applicantAgent.phone'" :rules="[
303
+      {
304
+        required: true,
305
+        message: '代理人联系电话不能为空',
306
+        trigger: 'blur',
307
+      },
308
+      {
309
+        pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
310
+        message: '请输入正确的手机号码',
311
+        trigger: 'blur',
312
+      },
313
+    ]">
314
+                    <el-input v-model="item.applicantAgent.phone" placeholder="请输入代理人联系电话" />
315
+                  </el-form-item>
316
+                </el-col>
317
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
318
+                  <el-form-item label="代理人联系电话" :prop="'affiliate.applicant.' + index + '.applicantAgent.phone'">
319
+                    <el-input v-model="item.applicantAgent.phone" placeholder="请输入代理人联系电话" />
320
+                  </el-form-item>
321
+                </el-col>
322
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
323
+                  <el-form-item label="代理人姓名" :prop="'affiliate.applicant.' + index + '.applicantAgent.name'" :rules="[
324
+      {
325
+        required: true,
326
+        message: '代理人姓名不能为空',
327
+        trigger: 'blur',
328
+      },
329
+    ]">
330
+                    <el-input v-model="item.applicantAgent.name" placeholder="请输入代理人姓名" />
331
+                  </el-form-item>
332
+                </el-col>
333
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
334
+                  <el-form-item label="代理人姓名" :prop="'affiliate.applicant.' + index + '.applicantAgent.name'">
335
+                    <el-input v-model="item.applicantAgent.name" placeholder="请输入代理人姓名" />
336
+                  </el-form-item>
337
+                </el-col>
338
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
339
+                  <el-form-item label="是否为操作人" :prop="'affiliate.applicant.' + index + '.applicant.operatorFlag'">
340
+                    <el-select v-model="item.applicantAgent.operatorFlag" placeholder="请选择" auto-complete="off"
341
+                      style="width: 100%;">
342
+                      <el-option v-for="item in roleTypeList" :key="item.id" :label="item.value" :value="item.id">
343
+
344
+                      </el-option>
345
+                    </el-select>
346
+                  </el-form-item>
347
+                </el-col>
348
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
349
+                  <el-form-item label="代理人邮箱" :prop="'affiliate.applicant.' + index + '.applicantAgent.email'" :rules="[
350
+      {
351
+        required: true,
352
+        message: '代理人邮箱不能为空',
353
+        trigger: 'blur',
354
+      },
355
+      {
356
+        pattern:
357
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
358
+        message: '请输入正确的邮箱地址',
359
+        trigger: 'blur',
360
+      },
361
+    ]">
362
+                    <el-input v-model="item.applicantAgent.email" placeholder="请输入代理人邮箱" />
363
+                  </el-form-item>
364
+                </el-col>
365
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
366
+                  <el-form-item label="代理人邮箱" :prop="'affiliate.applicant.' + index + '.applicantAgent.email'" :rules="[
367
+      {
368
+        pattern:
369
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
370
+        message: '请输入正确的邮箱地址',
371
+        trigger: 'blur',
372
+      },
373
+    ]">
374
+                    <el-input v-model="item.applicantAgent.email" placeholder="请输入代理人邮箱" />
375
+                  </el-form-item>
376
+                </el-col>
121 377
               </div>
122
-              <el-divider></el-divider>
123
-            </el-col>
124
-            <el-col :span="24">
125
-              <el-form-item label="选择机构或自然人" prop="affiliate.organizeFlag">
126
-                <el-radio-group v-model="detailsAwardNum.affiliate.organizeFlag">
127
-                  <el-radio :label="0">自然人</el-radio>
128
-                  <el-radio :label="1">机构</el-radio>
129
-                </el-radio-group>
130
-              </el-form-item>
131
-            </el-col>
132
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
133
-              <el-form-item label="申请机构名称">
134
-                <el-input v-model="detailsAwardNum.affiliate.applicationName" placeholder="请输入申请机构名称" />
135
-              </el-form-item>
136
-            </el-col>
137
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
138
-              <el-form-item label="申请人">
139
-                <el-input v-model="detailsAwardNum.affiliate.applicationName"  placeholder="请输入申请人姓名" />
140
-              </el-form-item>
141
-            </el-col>
142
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
143
-              <el-form-item label="统一社会信用代码">
144
-                <el-input v-model="detailsAwardNum.affiliate.code" placeholder="请输入统一社会信用代码" />
145
-              </el-form-item>
146
-            </el-col>
147
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
148
-              <el-form-item label="申请人身份证号码">
149
-                <el-input v-model="detailsAwardNum.affiliate.code"  placeholder="请输入申请人的身份证号" />
150
-              </el-form-item>
151
-            </el-col>
152
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
153
-              <el-form-item label="申请人邮箱">
154
-                <el-input v-model="detailsAwardNum.affiliate.applicationEmail"  placeholder="请输入申请人邮箱" />
155
-              </el-form-item>
156
-            </el-col>
157
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
158
-              <el-form-item label="申请人电话">
159
-                <el-input v-model="detailsAwardNum.affiliate.applicationPhone"  placeholder="请输入申请人联系电话" />
160
-              </el-form-item>
161
-            </el-col>
162
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
163
-              <el-form-item label="法定代表人">
164
-                <el-input v-model="detailsAwardNum.affiliate.compLegalPerson" placeholder="请输入法定代表人" />
165
-              </el-form-item>
166
-            </el-col>
167
-            <el-col :span="12">
168
-              <el-form-item label="申请人住所">
169
-                <el-input v-model="detailsAwardNum.affiliate.applicantHome" placeholder="请输入申请人住所" />
170
-              </el-form-item>
171
-            </el-col>
172
-            <el-col :span="12">
173
-              <el-form-item label="申请人联系地址">
174
-                <el-input v-model="detailsAwardNum.affiliate.applicantAddress" placeholder="请输入申请人联系地址" />
175
-              </el-form-item>
176
-            </el-col>
177
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
178
-              <el-form-item label="代理人联系电话">
179
-                <el-input v-model="detailsAwardNum.affiliate.contactTelphoneAgent"  placeholder="请输入代理人联系电话" />
180
-              </el-form-item>
181
-            </el-col>
182
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
183
-              <el-form-item label="代理人联系电话" prop="affiliate.contactTelphoneAgent">
184
-                <el-input v-model="detailsAwardNum.affiliate.contactTelphoneAgent" placeholder="请输入代理人联系电话" />
185
-              </el-form-item>
186
-            </el-col>
187
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
188
-              <el-form-item label="代理人姓名" prop="affiliate.nameAgent">
189
-                <el-input v-model="detailsAwardNum.affiliate.nameAgent"  placeholder="请输入代理人姓名" />
190
-              </el-form-item>
191
-            </el-col>
192
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
193
-              <el-form-item label="代理人姓名" prop="affiliate.nameAgent">
194
-                <el-input v-model="detailsAwardNum.affiliate.nameAgent" placeholder="请输入代理人姓名" />
195
-              </el-form-item>
196
-            </el-col>
197
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 1">
198
-              <el-form-item label="代理人邮箱">
199
-                <el-input v-model="detailsAwardNum.affiliate.agentEmail"  placeholder="请输入代理人邮箱" />
200
-              </el-form-item>
201
-            </el-col>
202
-            <el-col :span="12" v-if="detailsAwardNum.affiliate.organizeFlag == 0">
203
-              <el-form-item label="代理人邮箱">
204
-                <el-input v-model="detailsAwardNum.affiliate.agentEmail" placeholder="请输入代理人邮箱" />
205
-              </el-form-item>
206
-            </el-col>
207
-            <el-col :span="12">
208
-              <el-form-item label="被申请人姓名">
209
-                <el-input v-model="detailsAwardNum.affiliate.respondentName" placeholder="请输入被申请人姓名" />
210
-              </el-form-item>
211
-            </el-col>
212
-            <el-col :span="12">
213
-              <el-form-item label="被申请人联系电话" >
214
-                <el-input v-model="detailsAwardNum.affiliate.respondentPhone" placeholder="请输入被申请人联系电话" />
215
-              </el-form-item>
216
-            </el-col>
217
-            <el-col :span="12">
218
-              <el-form-item label="被申请人身份证号">
219
-                <el-input v-model="detailsAwardNum.affiliate.respondentIdentityNum"  placeholder="请输入被申请人身份证号" />
220
-              </el-form-item>
221
-            </el-col>
222
-            <el-col :span="12">
223
-              <el-form-item label="被申请人性别:">
224
-                <el-radio-group v-model="detailsAwardNum.affiliate.respondentSex">
225
-                  <el-radio :label="0">男</el-radio>
226
-                  <el-radio :label="1">女</el-radio>
227
-                </el-radio-group>
228
-              </el-form-item>
229
-            </el-col>
230
-            <el-col :span="12">
231
-              <el-form-item label="被申请人出生年月日:" prop="affiliate.respondentBirth">
232
-                <el-date-picker  v-model="detailsAwardNum.affiliate.respondentBirth" type="date" placeholder="被申请人出生年月日">
233
-                </el-date-picker>
234
-              </el-form-item>
235
-            </el-col>
236
-            <el-col :span="12">
237
-              <el-form-item label="被申请人申请人住所">
238
-                <el-input v-model="detailsAwardNum.affiliate.respondentHome" placeholder="请输入被申请人申请人住所" />
239
-              </el-form-item>
240
-            </el-col>
241
-            <el-col :span="12">
242
-              <el-form-item label="被申请人邮箱">
243
-                <el-input v-model="detailsAwardNum.affiliate.respondentEmail" placeholder="请输入被申请人邮箱" />
244
-              </el-form-item>
245
-            </el-col>
246
-          </el-row>
247
-          <el-col :span="24">
248
-            <el-form-item v-for="item in detailsAwardNum.columnValueList" :label="item.name" :key="item.id">
249
-              <el-input type="textarea" v-model="item.value"></el-input>
250
-            </el-form-item>
251
-          </el-col>
252
-        </el-form>
253
-         </div>
378
+              <div class="res" v-for="(item, index) in detailsAwardNum.affiliate.res" :key="index">
379
+                <el-col :span="24">
380
+                  <div style="display: inline-flex">
381
+                    <div class="infoIcon"></div>
382
+                    <div class="caseInfo" style="margin-right: 40px;">被申请人</div>
383
+                  </div>
384
+                  <el-divider></el-divider>
385
+                </el-col>
386
+                <el-col :span="12">
387
+                  <el-form-item label="被申请人姓名" :prop="'affiliate.res.' + index + '.res.name'" :rules="[
388
+      {
389
+        required: true,
390
+        message: '被申请人姓名不能为空',
391
+        trigger: 'blur',
392
+      },
393
+    ]">
394
+                    <el-input v-model="item.res.name" placeholder="请输入被申请人姓名" />
395
+                  </el-form-item>
396
+                </el-col>
397
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
398
+                  <el-form-item label="是否为操作人" :prop="'affiliate.res.' + index + '.res.operatorFlag'">
399
+                    <el-select v-model="item.res.operatorFlag" placeholder="请选择" auto-complete="off"
400
+                      style="width: 100%;">
401
+                      <el-option v-for="item in roleTypeList" :key="item.id" :label="item.value" :value="item.id">
402
+
403
+                      </el-option>
404
+                    </el-select>
405
+                  </el-form-item>
406
+                </el-col>
407
+                <el-col :span="12">
408
+                  <el-form-item label-width="140px" label="被申请人联系电话" :prop="'affiliate.res.' + index + '.res.phone'"
409
+                    :rules="[
410
+      {
411
+        required: true,
412
+        message: '被申请人联系电话不能为空',
413
+        trigger: 'blur',
414
+      },
415
+      {
416
+        pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
417
+        message: '请输入正确的手机号码',
418
+        trigger: 'blur',
419
+      },
420
+    ]">
421
+                    <el-input v-model="item.res.phone" placeholder="请输入被申请人联系电话" />
422
+                  </el-form-item>
423
+                </el-col>
424
+                <el-col :span="12">
425
+                  <el-form-item label-width="150px" label="被申请人申请人住所" :prop="'affiliate.res.' + index + '.res.home'"
426
+                    :rules="[
427
+      {
428
+        required: true,
429
+        message: '被申请人申请人住所不能为空',
430
+        trigger: 'blur',
431
+      },
432
+    ]">
433
+                    <el-input v-model="item.res.home" placeholder="请输入被申请人申请人住所" />
434
+                  </el-form-item>
435
+                </el-col>
436
+                <el-col :span="12">
437
+                  <el-form-item label="被申请人邮箱" :prop="'affiliate.res.' + index + '.res.email'" :rules="[
438
+      {
439
+        required: true,
440
+        message: '被申请人邮箱不能为空',
441
+        trigger: 'blur',
442
+      },
443
+      {
444
+        pattern:
445
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
446
+        message: '请输入正确的邮箱地址',
447
+        trigger: 'blur',
448
+      },
449
+    ]">
450
+                    <el-input v-model="item.res.email" placeholder="请输入被申请人邮箱" />
451
+                  </el-form-item>
452
+                </el-col>
453
+                <el-col :span="12">
454
+                  <el-form-item label-width="140px" label="被申请人身份证号" :prop="'affiliate.res.' + index + '.res.idCard'"
455
+                    :rules="[
456
+      {
457
+        required: true,
458
+        message: '被申请人身份证号不能为空',
459
+        trigger: 'blur',
460
+      },
461
+      {
462
+        pattern:
463
+          /^[1-9]\d{5}(18|19|([23]\d))\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/,
464
+        message: '请输入正确的身份证号码',
465
+        trigger: 'blur',
466
+      },
467
+    ]">
468
+                    <el-input v-model="item.res.idCard" @blur="handleBlur(index)" placeholder="请输入被申请人身份证号" />
469
+                  </el-form-item>
470
+                </el-col>
471
+                <el-col :span="12">
472
+                  <el-form-item label-width="140px" label="被申请人出生年月:" :prop="'affiliate.res.' + index + '.res.birth'">
473
+                    <el-date-picker disabled v-model="item.res.birth" type="date" placeholder="被申请人出生年月日">
474
+                    </el-date-picker>
475
+                  </el-form-item>
476
+                </el-col>
477
+                <el-col :span="12">
478
+                  <el-form-item label="被申请人性别:" :prop="'affiliate.res.' + index + '.res.sex'" :rules="[
479
+      {
480
+        required: true,
481
+        message: '请选择性别',
482
+      },
483
+    ]">
484
+                    <el-radio-group v-model="item.res.sex" disabled>
485
+                      <el-radio :label="'0'">男</el-radio>
486
+                      <el-radio :label="'1'">女</el-radio>
487
+                    </el-radio-group>
488
+                  </el-form-item>
489
+                </el-col>
490
+                <el-col :span="24">
491
+                  <div style="display: inline-flex">
492
+                    <div class="infoIcon"></div>
493
+                    <div class="caseInfo">被申请人代理人</div>
494
+                  </div>
495
+                  <el-divider></el-divider>
496
+                </el-col>
497
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
498
+                  <el-form-item label="代理人联系电话" :prop="'affiliate.res.' + index + '.resAgent.phone'" :rules="[
499
+      {
500
+        required: true,
501
+        message: '代理人联系电话不能为空',
502
+        trigger: 'blur',
503
+      },
504
+      {
505
+        pattern: /^[1][3,4,5,6,7,8,9][0-9]{9}$/,
506
+        message: '请输入正确的手机号码',
507
+        trigger: 'blur',
508
+      },
509
+    ]">
510
+                    <el-input v-model="item.resAgent.phone" placeholder="请输入代理人联系电话" />
511
+                  </el-form-item>
512
+                </el-col>
513
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
514
+                  <el-form-item label="代理人联系电话" :prop="'affiliate.res.' + index + '.resAgent.phone'">
515
+                    <el-input v-model="item.resAgent.phone" placeholder="请输入代理人联系电话" />
516
+                  </el-form-item>
517
+                </el-col>
518
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
519
+                  <el-form-item label="代理人姓名" :prop="'affiliate.res.' + index + '.resAgent.name'" :rules="[
520
+      {
521
+        required: true,
522
+        message: '代理人姓名不能为空',
523
+        trigger: 'blur',
524
+      },
525
+    ]">
526
+                    <el-input v-model="item.resAgent.name" placeholder="请输入代理人姓名" />
527
+                  </el-form-item>
528
+                </el-col>
529
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
530
+                  <el-form-item label="是否为操作人" :prop="'affiliate.res.' + index + '.resAgent.operatorFlag'">
531
+                    <el-select v-model="item.resAgent.operatorFlag" placeholder="请选择" auto-complete="off"
532
+                      style="width: 100%;">
533
+                      <el-option v-for="item in roleTypeList" :key="item.id" :label="item.value" :value="item.id">
534
+
535
+                      </el-option>
536
+                    </el-select>
537
+                  </el-form-item>
538
+                </el-col>
539
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
540
+                  <el-form-item label="代理人姓名" :prop="'affiliate.res.' + index + '.resAgent.name'">
541
+                    <el-input v-model="item.resAgent.name" placeholder="请输入代理人姓名" />
542
+                  </el-form-item>
543
+                </el-col>
544
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 1">
545
+                  <el-form-item label="代理人邮箱" :prop="'affiliate.res.' + index + '.resAgent.email'" :rules="[
546
+      {
547
+        required: true,
548
+        message: '代理人邮箱不能为空',
549
+        trigger: 'blur',
550
+      },
551
+      {
552
+        pattern:
553
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
554
+        message: '请输入正确的邮箱地址',
555
+        trigger: 'blur',
556
+      },
557
+    ]">
558
+                    <el-input v-model="item.resAgent.email" placeholder="请输入代理人邮箱" />
559
+                  </el-form-item>
560
+                </el-col>
561
+                <el-col :span="12" v-if="detailsAwardNum.organizeFlag == 0">
562
+                  <el-form-item label="代理人邮箱" :prop="'affiliate.res.' + index + '.resAgent.email'" :rules="[
563
+      {
564
+        pattern:
565
+          /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/,
566
+        message: '请输入正确的邮箱地址',
567
+        trigger: 'blur',
568
+      },
569
+    ]">
570
+                    <el-input v-model="item.resAgent.email" placeholder="请输入代理人邮箱" />
571
+                  </el-form-item>
572
+                </el-col>
573
+                </div>
574
+                </el-row>
575
+          </el-form>
576
+        </div>
254 577
       </div>
255 578
       <div slot="footer" class="dialog-footer">
256 579
         <el-button @click="cancel">取 消</el-button>
@@ -262,15 +585,16 @@
262 585
 import { getToken } from "@/utils/auth";
263 586
 import {
264 587
   caseApplicationSelectById,
588
+  getIdType
265 589
 } from "@/api/caseManagement/caseManagement.js";
266 590
 export default {
267
-    props: ["showarchiveDetails","detailsAwardNum","videoList","flagLoadingS","trialTranscripts","caseFilingData"],
591
+  props: ["showarchiveDetails", "detailsAwardNum", "videoList", "flagLoadingS", "trialTranscripts", "caseFilingData"],
268 592
   components: {
269
-    
593
+
270 594
   },
271 595
   data() {
272 596
     return {
273
-     activeName: 'five',
597
+      activeName: 'five',
274 598
       fileURL: window.location.origin + "/API",
275 599
       noData: false,
276 600
       filedata: {
@@ -280,71 +604,99 @@ export default {
280 604
       headers: {
281 605
         Authorization: "Bearer " + getToken(),
282 606
       },
283
-      showEvidence:false,
284
-      showmediate:false,
285
-      showConciliation:false
607
+      showEvidence: false,
608
+      showmediate: false,
609
+      showConciliation: false,
610
+      roleTypeList: [
611
+        {
612
+          value: '否',
613
+          id: 0
614
+        },
615
+        {
616
+          value: '是',
617
+          id: 1
618
+        }
619
+      ],
620
+      nationalityList: [
621
+        {
622
+          value: '境内',
623
+          id: 0
624
+        },
625
+        {
626
+          value: '境外',
627
+          id: 1
628
+        }
629
+      ],
630
+      idTypeList: [
631
+       
632
+      ]
286 633
     };
287 634
   },
288
-watch: {
635
+  watch: {
289 636
     showarchiveDetails: {
290 637
       handler(val) {
291 638
         if (val) {
639
+          this.getIdTypeFn();
292 640
           this.activeName = 'five'
293 641
           this.caseApplicationSelectByIdFn(this.caseFilingData.id)
294
-          this.showEvidence=false,
295
-          this.showmediate=false,
296
-          this.showConciliation=false
642
+          this.showEvidence = false,
643
+            this.showmediate = false,
644
+            this.showConciliation = false
297 645
           // this.detailsAwardNum.affiliate.respondentSex = Number(this.detailsAwardNum.affiliate.respondentSex)
298 646
         }
299 647
       },
300 648
     },
301
-    
302
-  },
303
-  created(){
304
-    
305 649
 
306
-    
650
+  },
651
+  created() {
652
+   
307 653
   },
308 654
   methods: {
309
-    isNoData(data,type){
310
-        let resNumber = 0
311
-        if(data){
312
-            let list = data.filter(item => item.annexType == type)
313
-            if(list){
314
-                resNumber = list.length
315
-            }
655
+    isNoData(data, type) {
656
+      let resNumber = 0
657
+      if (data) {
658
+        let list = data.filter(item => item.annexType == type)
659
+        if (list) {
660
+          resNumber = list.length
316 661
         }
317
-        return resNumber
662
+      }
663
+      return resNumber
664
+    },
665
+    /** 获取证件类型 */
666
+    getIdTypeFn() {
667
+      getIdType().then(res => {
668
+        this.idTypeList = res.data;
669
+      })
318 670
     },
319 671
     /** 根据案件id获取对应信息 */
320
-     caseApplicationSelectByIdFn(data) {
321
-       caseApplicationSelectById({ id: data }).then((res) => {
322
-         res.data.caseAttachList.forEach(item => {
323
-           if(item.annexType==2){
324
-             this.showmediate = true
325
-           }else if(item.annexType==3){
326
-             this.showEvidence = true
327
-           }else if(item.annexType==7){
328
-             this.showConciliation = true
329
-           }
330
-         });
672
+    caseApplicationSelectByIdFn(data) {
673
+      caseApplicationSelectById({ id: data }).then((res) => {
674
+        res.data.caseAttachList.forEach(item => {
675
+          if (item.annexType == 2) {
676
+            this.showmediate = true
677
+          } else if (item.annexType == 3) {
678
+            this.showEvidence = true
679
+          } else if (item.annexType == 7) {
680
+            this.showConciliation = true
681
+          }
682
+        });
331 683
       });
332 684
     },
333
-      /** 查看证据 */
685
+    /** 查看证据 */
334 686
     fileDetil(val) {
335 687
       window.open(this.fileURL + val);
336 688
     },
337
-       /** 文件上传地址 */
689
+    /** 文件上传地址 */
338 690
     UploadUrl() {
339 691
       return window.location.origin + "/API/common/upload";
340 692
     },
341
-        /**文件上传成功*/
693
+    /**文件上传成功*/
342 694
     handlSuccess(res, file) {
343 695
       this.detailsAwardNum.caseAttachList.push({
344 696
         annexId: res.annexId,
345 697
       });
346 698
     },
347
-        /**文件超出个数限制时的钩子*/
699
+    /**文件超出个数限制时的钩子*/
348 700
     handleExceed(files, fileList) {
349 701
       this.$message.warning(
350 702
         `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length
@@ -369,7 +721,7 @@ watch: {
369 721
     handleClick(tab, event) {
370 722
 
371 723
     },
372
-    
724
+
373 725
     cancel() {
374 726
       this.$emit("cancelDetail");
375 727
     },
@@ -381,11 +733,13 @@ watch: {
381 733
   height: 500px !important;
382 734
   overflow: auto !important;
383 735
 }
736
+
384 737
 ::v-deep .el-dialog {
385 738
   width: 925px;
386 739
   background: #ffffff;
387 740
   border-radius: 20px;
388 741
 }
742
+
389 743
 .loading {
390 744
   width: 100%;
391 745
   height: 100%;

+ 2
- 1
src/views/caseManagement/components/mediation.vue Просмотреть файл

@@ -205,7 +205,8 @@ export default {
205 205
     // 根据用户id查询是否为调解员
206 206
     secretaryRoleByUserIdFn() {
207 207
       secretaryRoleByUserId({
208
-        userId: this.userId
208
+        userId: this.userId,
209
+        caseId: this.mediationData.id
209 210
       }).then(res => {
210 211
          this.isSecretaryRole = res.data.isSecretaryRole;
211 212
       })

+ 1
- 1
src/views/caseManagement/components/payDialog.vue Просмотреть файл

@@ -189,7 +189,7 @@ export default {
189 189
       this.submitForm.caseId = this.payId;
190 190
       }
191 191
     }
192
-  }
192
+  },
193 193
 };
194 194
 </script>
195 195