Kaynağa Gözat

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

gaogaoyujie 2 yıl önce
ebeveyn
işleme
ad594ba920

+ 8
- 3
src/views/caseManagement/caseList.vue Dosyayı Görüntüle

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

+ 63
- 10
src/views/caseManagement/components/caseentryDialog.vue Dosyayı Görüntüle

2
   <div>
2
   <div>
3
     <el-dialog :title="dialogtitle" :visible="visible" @close="cancel" width="1000px" append-to-body
3
     <el-dialog :title="dialogtitle" :visible="visible" @close="cancel" width="1000px" append-to-body
4
       :destroy-on-close="true" center>
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
       <el-form ref="form" :model="formData" :rules="rules" label-width="150px" :disabled="flag == '0'">
12
       <el-form ref="form" :model="formData" :rules="rules" label-width="150px" :disabled="flag == '0'">
7
         <div style="display: inline-flex">
13
         <div style="display: inline-flex">
8
           <div class="infoIcon"></div>
14
           <div class="infoIcon"></div>
583
         @click="generateForm1()"
589
         @click="generateForm1()"
584
         >新增被申请人主体信息</el-button
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
           </div>
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
         </div>
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
       </div>
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
       </div>
630
       </div>
631
+      
632
+     
599
     </el-dialog>
633
     </el-dialog>
600
   </div>
634
   </div>
601
 </template>
635
 </template>
615
     "initpaymentArr1",
649
     "initpaymentArr1",
616
     "queryParams",
650
     "queryParams",
617
     "caseAttachList",
651
     "caseAttachList",
652
+    "columnValues"
618
   ],
653
   ],
619
   data() {
654
   data() {
620
     return {
655
     return {
656
+      activeName: 'first',
621
       fileURL: window.location.origin + "/API",
657
       fileURL: window.location.origin + "/API",
622
       formData: this.form,
658
       formData: this.form,
623
       filedata: {
659
       filedata: {
664
           },
700
           },
665
         ],
701
         ],
666
       }, //被申请人主体信息
702
       }, //被申请人主体信息
703
+      // 抓取内容
704
+      formGrab:{
705
+        list:[]
706
+      },
667
       // 表单校验
707
       // 表单校验
668
       rules: {
708
       rules: {
669
         // caseNum: [
709
         // caseNum: [
772
   watch: {
812
   watch: {
773
     initpaymentArr: {
813
     initpaymentArr: {
774
       handler(val) {
814
       handler(val) {
815
+        this.activeName = "first"
816
+        this.formGrab.list = this.columnValues
775
          this.caseAttachListArr = []
817
          this.caseAttachListArr = []
776
         if (val) {
818
         if (val) {
777
           this.applicateArr = [];
819
           this.applicateArr = [];
781
           if (this.flag == "1" || this.flag == "0") {
823
           if (this.flag == "1" || this.flag == "0") {
782
             this.form2.paymentArr = this.initpaymentArr;
824
             this.form2.paymentArr = this.initpaymentArr;
783
             this.form3.paymentArr1 = this.initpaymentArr1;
825
             this.form3.paymentArr1 = this.initpaymentArr1;
826
+            console.log(this.caseAttachList)
784
             this.caseAttachList.forEach((item) => {
827
             this.caseAttachList.forEach((item) => {
785
               if (item.annexType == 2) {
828
               if (item.annexType == 2) {
786
                 this.applicateArr.push({
829
                 this.applicateArr.push({
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
     toFile(item, index) {
1074
     toFile(item, index) {
1026
       window.open(
1075
       window.open(
1035
         "_black"
1084
         "_black"
1036
       );
1085
       );
1037
     },
1086
     },
1087
+    // tabs页
1088
+     handleClick(tab, event) {
1089
+        // console.log(tab, event);
1090
+    }
1038
   },
1091
   },
1039
 };
1092
 };
1040
 </script>
1093
 </script>

+ 4
- 1
src/views/caseManagement/components/payDialog.vue Dosyayı Görüntüle

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