Browse Source

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

gaogaoyujie 2 years ago
parent
commit
ad594ba920

+ 8
- 3
src/views/caseManagement/caseList.vue View File

@@ -4,7 +4,7 @@
4 4
       <el-form-item label="案件编号" prop="caseNum">
5 5
         <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
6 6
       </el-form-item>
7
-      <el-form-item label="申请人(机构)" prop="applicantName">
7
+      <el-form-item label="申请人" prop="applicantName">
8 8
         <!-- <el-input
9 9
           v-model="queryParams.applicantName"
10 10
           placeholder="请输入机构名称"
@@ -74,7 +74,7 @@
74 74
         </template>
75 75
       </el-table-column>
76 76
       <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
77
-      <el-table-column label="申请人(机构)" align="center" prop="applicantName" :show-overflow-tooltip="true" />
77
+      <el-table-column label="申请人" align="center" prop="applicantName" :show-overflow-tooltip="true" />
78 78
       <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
79 79
       <el-table-column label="仲裁方式" align="center" prop="arbitratMethodName" :show-overflow-tooltip="true" />
80 80
       <!-- 仲裁员 -->
@@ -179,7 +179,7 @@
179 179
     <!-- 立案申请弹框 -->
180 180
     <caseentryDialog :visible="visible" @cancel="cancel" :form="form" :queryParams="queryParams"
181 181
       :dialogtitle="dialogtitle" :getcaseApply="getcaseApply" :flag="flag" :caseAttachList="caseAttachList"
182
-      :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1"></caseentryDialog>
182
+      :initpaymentArr="initpaymentArr" :initpaymentArr1="initpaymentArr1" :columnValues="columnValues"></caseentryDialog>
183 183
     <!-- 批量申请弹框 openbatch-->
184 184
     <batchDialog :openbatch="openbatch" :queryParams="queryParams" @cancelBatch="cancelBatch"
185 185
       :getcaseApply="getcaseApply"></batchDialog>
@@ -312,6 +312,8 @@ export default {
312 312
       isapply: "申请人:",
313 313
       // 表格数据
314 314
       dataList: [],
315
+      // 抓取数据
316
+      columnValues:[],
315 317
       // 查询参数
316 318
       queryParams: {
317 319
         caseNum: undefined,
@@ -670,6 +672,7 @@ export default {
670 672
           res.data.caseStatusName = "待缴费";
671 673
         }
672 674
         this.form = res.data;
675
+        console.log(this.form)
673 676
         this.payForm.feePayable = res.data.feePayable;
674 677
         this.payForm.caseId = res.data.id;
675 678
       });
@@ -806,6 +809,8 @@ export default {
806 809
             this.initpaymentArr1.push(item);
807 810
           }
808 811
         });
812
+        this.columnValues = res.data.columnValues;
813
+        console.log(res.data.columnValues)
809 814
         this.caseAttachList = res.data.caseAttachList;
810 815
         // console.log(this.caseAttachList,"caseAttachList")
811 816
         this.form.requestRule = res.data.requestRule;

+ 63
- 10
src/views/caseManagement/components/caseentryDialog.vue View File

@@ -2,7 +2,13 @@
2 2
   <div>
3 3
     <el-dialog :title="dialogtitle" :visible="visible" @close="cancel" width="1000px" append-to-body
4 4
       :destroy-on-close="true" center>
5
-      <!-- 案件信息 -->
5
+      <!-- tab页 -->
6
+       <el-tabs v-model="activeName" @tab-click="handleClick" v-show="form.id != undefined && form.id != null">
7
+          <el-tab-pane label="案件基本信息" name="first"></el-tab-pane>
8
+          <el-tab-pane label="抓取内容" name="second"></el-tab-pane>
9
+      </el-tabs>
10
+      <div v-show="activeName=='first'">
11
+           <!-- 案件信息 -->
6 12
       <el-form ref="form" :model="formData" :rules="rules" label-width="150px" :disabled="flag == '0'">
7 13
         <div style="display: inline-flex">
8 14
           <div class="infoIcon"></div>
@@ -583,19 +589,47 @@
583 589
         @click="generateForm1()"
584 590
         >新增被申请人主体信息</el-button
585 591
       > -->
586
-      <div>
587
-         <div style="display: inline-flex">
588
-            <div class="infoIcon"></div>
589
-            <div class="caseInfo2">仲裁申请书:</div>
592
+        <div>
593
+          <div style="display: inline-flex">
594
+              <div class="infoIcon"></div>
595
+              <div class="caseInfo2">仲裁申请书:</div>
596
+            </div>
597
+          <div v-for="item in caseAttachList" :key ="item.annexId" v-if="item.annexType==1" style="margin-top:-25px;margin-left:100px;">
598
+            <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
590 599
           </div>
591
-        <div v-for="item in caseAttachList" :key ="item.annexId" v-if="item.annexType==1" style="margin-top:-25px;margin-left:100px;">
592
-          <el-link target="_blank" type="primary" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
593 600
         </div>
601
+            <div slot="footer" class="dialog-footer" style="text-align:center;margin-top:20px;">
602
+            <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
603
+            <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
604
+          </div>
605
+        
594 606
       </div>
595
-      <div slot="footer" class="dialog-footer">
596
-        <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
597
-        <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
607
+      
608
+      <div v-show="activeName=='second'" style="margin-top:20px;">
609
+        <el-form :model="formGrab" ref="formGrabRef" label-width="120px" :disabled ="flag == '0'">
610
+          <el-col :span="15">
611
+            <el-form-item  v-for="(item,index) in formGrab.list" :prop="'list.' + index + '.value'" :label="item.column" :key="item.id" 
612
+           :rules="{
613
+                  required: true,
614
+                  message: '内容不能为空',
615
+                  trigger: 'blur'
616
+                }"
617
+            >
618
+                <el-input type="textarea" v-model="item.value"></el-input>
619
+            </el-form-item>
620
+          </el-col>   
621
+        </el-form>  
622
+        <el-col :span="24">
623
+          <div style="text-align:center;margin-top:50px;">
624
+            <el-button type="primary" @click="submitFormGrab" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
625
+            <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
626
+          </div>
627
+        </el-col>
628
+          
629
+        
598 630
       </div>
631
+      
632
+     
599 633
     </el-dialog>
600 634
   </div>
601 635
 </template>
@@ -615,9 +649,11 @@ export default {
615 649
     "initpaymentArr1",
616 650
     "queryParams",
617 651
     "caseAttachList",
652
+    "columnValues"
618 653
   ],
619 654
   data() {
620 655
     return {
656
+      activeName: 'first',
621 657
       fileURL: window.location.origin + "/API",
622 658
       formData: this.form,
623 659
       filedata: {
@@ -664,6 +700,10 @@ export default {
664 700
           },
665 701
         ],
666 702
       }, //被申请人主体信息
703
+      // 抓取内容
704
+      formGrab:{
705
+        list:[]
706
+      },
667 707
       // 表单校验
668 708
       rules: {
669 709
         // caseNum: [
@@ -772,6 +812,8 @@ export default {
772 812
   watch: {
773 813
     initpaymentArr: {
774 814
       handler(val) {
815
+        this.activeName = "first"
816
+        this.formGrab.list = this.columnValues
775 817
          this.caseAttachListArr = []
776 818
         if (val) {
777 819
           this.applicateArr = [];
@@ -781,6 +823,7 @@ export default {
781 823
           if (this.flag == "1" || this.flag == "0") {
782 824
             this.form2.paymentArr = this.initpaymentArr;
783 825
             this.form3.paymentArr1 = this.initpaymentArr1;
826
+            console.log(this.caseAttachList)
784 827
             this.caseAttachList.forEach((item) => {
785 828
               if (item.annexType == 2) {
786 829
                 this.applicateArr.push({
@@ -1021,6 +1064,12 @@ export default {
1021 1064
         }
1022 1065
       });
1023 1066
     },
1067
+    // 提交抓取内容修改
1068
+    submitFormGrab(){
1069
+      this.$refs['formGrabRef'].validate((valid) => {
1070
+         console.log(this.formGrab.list,valid)
1071
+      });
1072
+    },
1024 1073
     // 详情显示,展示申请人案件文件
1025 1074
     toFile(item, index) {
1026 1075
       window.open(
@@ -1035,6 +1084,10 @@ export default {
1035 1084
         "_black"
1036 1085
       );
1037 1086
     },
1087
+    // tabs页
1088
+     handleClick(tab, event) {
1089
+        // console.log(tab, event);
1090
+    }
1038 1091
   },
1039 1092
 };
1040 1093
 </script>

+ 4
- 1
src/views/caseManagement/components/payDialog.vue View File

@@ -23,8 +23,11 @@
23 23
             {{ form.caseStatusName }}
24 24
           </el-tag>
25 25
         </el-descriptions-item>
26
-        <el-descriptions-item label="申请人仲裁诉求">{{
26
+        <!-- <el-descriptions-item label="申请人仲裁诉求">{{
27 27
           form.arbitratClaims
28
+        }}</el-descriptions-item> -->
29
+        <el-descriptions-item label="案件理由">{{
30
+          form.facts
28 31
         }}</el-descriptions-item>
29 32
       </el-descriptions>
30 33
       <div class="paySelectType">