Przeglądaj źródła

案件归档,审核修改tab,修改bug,模板字段接口联调

gyj 2 lat temu
rodzic
commit
91a0a4ec9c

+ 9
- 1
src/api/caseFiling/caseFiling.js Wyświetl plik

@@ -19,4 +19,12 @@ export function videoList(data) {
19 19
     method: 'get',
20 20
     params: data
21 21
   })
22
-}
22
+}
23
+// 下载案件压缩包
24
+export function downloadCaseZipFile(data) {
25
+  return request({
26
+    url: '/caseApplication/downloadCaseZipFile',
27
+    method: 'post',
28
+    data: data
29
+  })
30
+}

+ 8
- 0
src/api/officialSeal/officialSeal.js Wyświetl plik

@@ -160,4 +160,12 @@ export function saveFatchRules(data) {
160 160
         method: 'post',
161 161
         data: data
162 162
     })
163
+}
164
+// 模板字段列表
165
+export function getTemplateInfoById(data) {
166
+    return request({
167
+        url: '/deptIdentify/getTemplateInfoById',
168
+        method: 'get',
169
+        params: data
170
+    })
163 171
 }

+ 7
- 6
src/views/caseFiling/archiveList.vue Wyświetl plik

@@ -34,9 +34,6 @@
34 34
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
35 35
       </el-form-item>
36 36
     </el-form>
37
-    <!-- <el-row style="margin-bottom:5px;">
38
-         <el-button type="primary" size="mini" icon="el-icon-download" @click="downloadZips">案件归档</el-button>
39
-    </el-row> -->
40 37
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
41 38
       <el-table-column label="序号" type="index" align="center">
42 39
         <template slot-scope="scope">
@@ -59,7 +56,7 @@
59 56
             v-if="scope.row.filearbitraUrl && scope.row.filearbitraUrl !== ''"
60 57
             @click="showModel(scope.row)">查看裁决书</el-button>
61 58
           <el-button size="mini" type="text" icon="el-icon-reading" @click="showDetail(scope.row)">归档详情</el-button>
62
-          <!-- <el-button type="text" size="mini" icon="el-icon-download" @click="downloadZips(scope.row)">下载案件压缩包</el-button> -->
59
+          <el-button type="text" size="mini" icon="el-icon-download" @click="downloadZips(scope.row)">下载案件压缩包</el-button>
63 60
         </template>
64 61
       </el-table-column>
65 62
     </el-table>
@@ -75,7 +72,7 @@
75 72
 <script>
76 73
 import { caseApplicationList, selectSignSealUrl,caseApplicationDetail } from "@/api/awardManagement/awardManagement";
77 74
 import { caseLogRecordList, logistics } from "@/api/caseManagement/caseManagement";
78
-import { adjudicationArchives, videoList } from "@/api/caseFiling/caseFiling";
75
+import { adjudicationArchives, videoList,downloadCaseZipFile} from "@/api/caseFiling/caseFiling";
79 76
 import archiveDetailsDialog from "./components/archiveDetailsDialog.vue";
80 77
 export default {
81 78
   name: "archiveList",
@@ -83,6 +80,7 @@ export default {
83 80
   components: { archiveDetailsDialog },
84 81
   data() {
85 82
     return {
83
+      fileURL: window.location.origin + "/API",
86 84
       queryParams: {
87 85
         pageNum: 1,
88 86
         pageSize: 10,
@@ -133,7 +131,10 @@ export default {
133 131
     },
134 132
     // 下在案件归档压缩包
135 133
     downloadZips(row){
136
-      //  console.log(this.download) 
134
+       downloadCaseZipFile({ id: row.id }).then(res => {
135
+         let url = this.fileURL+res.data.annexPath
136
+        window.open(url)
137
+      })
137 138
     },
138 139
     // 查询列表数据
139 140
     getList(parms) {

+ 9
- 4
src/views/caseManagement/caseList.vue Wyświetl plik

@@ -231,8 +231,8 @@
231 231
       :uploadCaseData="uploadCaseData">
232 232
     </uploadCaseDialog>
233 233
     <!-- 秘书审核修改页面 -->
234
-    <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams"
235
-    :getcaseApply="getcaseApply"
234
+    <caseentryExamineDialog :dialogtitle="dialogtitle" :caseentryExamineVisible="caseentryExamineVisible" :queryParams="queryParams" :afterColumnValues="afterColumnValues"
235
+    :getcaseApply="getcaseApply" 
236 236
     @caseentryExamineCancel="caseentryExamineCancel" :caseentryExamineData="caseentryExamineData" :caseentryExamineDataAll="caseentryExamineDataAll"></caseentryExamineDialog>
237 237
     <caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" @cancelCompreess="cancelCompreess"
238 238
       :getcaseApply="getcaseApply">
@@ -314,6 +314,8 @@ export default {
314 314
       dataList: [],
315 315
       // 抓取数据
316 316
       columnValues:[],
317
+      // 审核修改抓取数据
318
+      afterColumnValues:[],
317 319
       // 查询参数
318 320
       queryParams: {
319 321
         caseNum: undefined,
@@ -690,9 +692,10 @@ export default {
690 692
     },
691 693
     // 审核案件 selectCompareCase caseentryExamineData
692 694
     reviewCase(row) {
693
-      this.caseentryExamineVisible = true;
695
+      
694 696
       this.dialogtitle = "审核修改详情";
695 697
       this.getSelectCompareCase(row)
698
+     
696 699
     },
697 700
     // 秘书审核修改页面 caseentryExamineVisible
698 701
     caseentryExamineCancel() {
@@ -705,8 +708,11 @@ export default {
705 708
         version:val.version
706 709
       }
707 710
       selectCompareCase(param).then((res) => {
711
+        this.afterColumnValues = res.data.afterCase.columnValues
712
+        console.log(this.afterColumnValues+"8888888888")
708 713
         this.caseentryExamineData = res.data.afterCase
709 714
         this.caseentryExamineDataAll = res.data
715
+        this.caseentryExamineVisible = true;
710 716
       })
711 717
     },
712 718
     // 审核撤销
@@ -810,7 +816,6 @@ export default {
810 816
           }
811 817
         });
812 818
         this.columnValues = res.data.columnValues;
813
-        console.log(res.data.columnValues)
814 819
         this.caseAttachList = res.data.caseAttachList;
815 820
         // console.log(this.caseAttachList,"caseAttachList")
816 821
         this.form.requestRule = res.data.requestRule;

+ 38
- 43
src/views/caseManagement/components/caseentryDialog.vue Wyświetl plik

@@ -88,11 +88,17 @@
88 88
           </el-col>
89 89
           <!-- 申请人仲裁诉求 -->
90 90
           <el-col :span="24">
91
-            <el-form-item label="申请人仲裁请求及事实和理由" prop="arbitratClaims">
91
+            <el-form-item label="申请人仲裁请求" prop="arbitratClaims">
92 92
               <el-input v-model="formData.arbitratClaims" placeholder="请输入申请人仲裁诉求" type="textarea"
93 93
                 :autosize="{ minRows: 4, maxRows: 8 }" />
94 94
             </el-form-item>
95 95
           </el-col>
96
+          <el-col :span="24">
97
+              <el-form-item label="事实和理由" prop="arbitratClaims">
98
+                <el-input v-model="formData.arbitratClaims" placeholder="请输入申请人仲裁诉求" type="textarea"
99
+                :autosize="{ minRows: 4, maxRows: 8 }" />
100
+              </el-form-item>
101
+          </el-col>
96 102
           <el-col :span="12">
97 103
             <el-form-item label="申请人案件证据资料上传:" prop="applicantEvidence" v-if="flag !== '0'">
98 104
               <el-upload class="upload-demo" ref="fileupload" accept=".png,.jpg,.doc,.docx,.txt,.pdf"
@@ -493,6 +499,7 @@
493 499
               <el-form-item label="被申请人性别:" :prop="'paymentArr1.' + index + '.responSex'" :rules="[
494 500
                 {
495 501
                   required: true,
502
+                  message: '请选择性别'
496 503
                 },
497 504
               ]">
498 505
                 <el-radio-group v-model="itm.responSex">
@@ -606,33 +613,22 @@
606 613
       </div>
607 614
       
608 615
       <div v-show="activeName=='second'" style="margin-top:20px;">
609
-        <el-form :model="formGrab" ref="formGrabRef" label-width="120px" :disabled ="flag == '0'">
616
+        <el-form :model="formGrab"  label-width="120px" :disabled ="flag == '0'">
610 617
          
611
-            <el-form-item  v-for="(item,index) in formGrab.list" :prop="'list.' + index + '.value'" :label="item.name" :key="item.id" 
612
-           :rules="{
613
-                  required: true,
614
-                  message: '内容不能为空',
615
-                  trigger: 'blur'
616
-                }"
617
-            >
618
+            <el-form-item  v-for="(item,index) in formGrab.list"  :label="item.name" :key="item.id">
618 619
                 <el-input type="textarea" v-model="item.value"></el-input>
619 620
             </el-form-item>
620 621
           
621 622
         </el-form>  
622
-        <el-col :span="24">
623
+        <!-- <el-col :span="24">
623 624
           <div style="text-align:center;margin-top:50px;">
624 625
             <el-button type="primary" @click="submitFormGrab" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
625 626
             <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
626 627
           </div>
627
-        </el-col>
628
+        </el-col> -->
628 629
           
629 630
         
630 631
       </div>
631
-      
632
-        <!-- <div slot="footer" class="dialog-footer">
633
-            <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
634
-            <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
635
-        </div> -->
636 632
     </el-dialog>
637 633
   </div>
638 634
 </template>
@@ -827,7 +823,6 @@ export default {
827 823
           if (this.flag == "1" || this.flag == "0") {
828 824
             this.form2.paymentArr = this.initpaymentArr;
829 825
             this.form3.paymentArr1 = this.initpaymentArr1;
830
-            console.log(this.caseAttachList)
831 826
             this.caseAttachList.forEach((item) => {
832 827
               if (item.annexType == 2) {
833 828
                 this.applicateArr.push({
@@ -950,16 +945,16 @@ export default {
950 945
       this.$emit("cancel");
951 946
     },
952 947
     // 校验借款开始日期与结束日期
953
-    // setStartTime() {
954
-    //   if (
955
-    //     this.setTime(this.formData.loanStartDate) >=
956
-    //     this.setTime(this.formData.loanEndDate)
957
-    //   ) {
958
-    //     this.$message.error("借款开始日期应早于借款结束日期");
959
-    //     this.formData.loanStartDate = "";
960
-    //     this.formData.loanEndDate = "";
961
-    //   }
962
-    // },
948
+    setStartTime() {
949
+      if (
950
+        this.setTime(this.formData.loanStartDate) >=
951
+        this.setTime(this.formData.loanEndDate)
952
+      ) {
953
+        this.$message.error("借款开始日期应早于借款结束日期");
954
+        this.formData.loanStartDate = "";
955
+        this.formData.loanEndDate = "";
956
+      }
957
+    },
963 958
     setEndTime() {
964 959
       if (
965 960
         this.setTime(this.formData.loanEndDate) <=
@@ -1039,7 +1034,7 @@ export default {
1039 1034
                     "YYYY-MM-DD HH:mm:ss"
1040 1035
                   );
1041 1036
                   if (this.formData.id) {
1042
-                    // this.formData['columnValues'] = this.formGrab.list
1037
+                    this.formData['columnValues'] = this.formGrab.list
1043 1038
                     editCaseApply({
1044 1039
                       ...this.formData,
1045 1040
                       caseAffiliates: this.formData.caseAffiliates,
@@ -1070,22 +1065,22 @@ export default {
1070 1065
       });
1071 1066
     },
1072 1067
     // 提交抓取内容修改
1073
-    submitFormGrab(){
1074
-      this.$refs['formGrabRef'].validate((valid) => {
1075
-         if(valid){
1076
-           this.formGrabList['columnValues']= this.formGrab.list
1068
+    // submitFormGrab(){
1069
+    //   this.$refs['formGrabRef'].validate((valid) => {
1070
+    //      if(valid){
1071
+    //        this.formGrabList['columnValues']= this.formGrab.list
1077 1072
            
1078
-           console.log(this.formGrabList)
1079
-           editCaseApplicationDefineval({columnValues:this.formGrab.list}).then(res=>{
1080
-             if (res.code == 200) {
1081
-                this.$modal.msgSuccess("修改成功");
1082
-                this.$emit("cancel");
1083
-                this.getcaseApply(this.queryParams);
1084
-              }
1085
-           })
1086
-         }
1087
-      });
1088
-    },
1073
+    //        console.log(this.formGrabList)
1074
+    //        editCaseApplicationDefineval({columnValues:this.formGrab.list}).then(res=>{
1075
+    //          if (res.code == 200) {
1076
+    //             this.$modal.msgSuccess("修改成功");
1077
+    //             this.$emit("cancel");
1078
+    //             this.getcaseApply(this.queryParams);
1079
+    //           }
1080
+    //        })
1081
+    //      }
1082
+    //   });
1083
+    // },
1089 1084
     // 详情显示,展示申请人案件文件
1090 1085
     toFile(item, index) {
1091 1086
       window.open(

+ 62
- 21
src/views/caseManagement/components/caseentryExamine.vue Wyświetl plik

@@ -5,11 +5,18 @@
5 5
       :visible="caseentryExamineVisible"
6 6
       @close="cancel"
7 7
       width="1000px"
8
+      height="800px"
8 9
       append-to-body
9 10
       :destroy-on-close="true"
10 11
       center
11 12
     >
12
-      <!-- 案件信息 -->
13
+    <!-- tab页 -->
14
+     <el-tabs v-model="activeName" @tab-click="handleClick">
15
+          <el-tab-pane label="案件基本信息" name="first"></el-tab-pane>
16
+          <el-tab-pane label="自定义抓取内容" name="second"></el-tab-pane>
17
+      </el-tabs>
18
+      <div v-show="activeName=='first'">
19
+         <!-- 案件信息 -->
13 20
       <el-form
14 21
         ref="form"
15 22
         :model="formData"
@@ -767,26 +774,38 @@
767 774
           </el-row>
768 775
         </div>
769 776
       </el-form>
770
-      <div slot="footer" class="dialog-footer">
771
-        <el-button
772
-          type="primary"
773
-          @click="submitIsAgree(1)"
774
-          v-if="
775
-            formData.updateSubmitStatus == 1 || formData.updateSubmitStatus == 2
776
-          "
777
-          class="endbutton"
778
-          ><span>同 意</span></el-button
779
-        >
780
-        <el-button
781
-          type="warning"
782
-          @click="submitIsAgree(0)"
783
-          v-if="
784
-            formData.updateSubmitStatus == 1 || formData.updateSubmitStatus == 2
785
-          "
786
-          class="endbutton2"
787
-          ><span>拒 绝</span></el-button
788
-        >
777
+        <div slot="footer" class="dialog-footer" style="text-align:center;margin-top:20px;">
778
+          <el-button
779
+            type="primary"
780
+            @click="submitIsAgree(1)"
781
+            v-if="
782
+              formData.updateSubmitStatus == 1 || formData.updateSubmitStatus == 2
783
+            "
784
+            class="endbutton"
785
+            ><span>同 意</span></el-button
786
+          >
787
+          <el-button
788
+            type="warning"
789
+            @click="submitIsAgree(0)"
790
+            v-if="
791
+              formData.updateSubmitStatus == 1 || formData.updateSubmitStatus == 2
792
+            "
793
+            class="endbutton2"
794
+            ><span>拒 绝</span></el-button
795
+          >
796
+        </div>
797
+      </div>
798
+      <div v-show="activeName=='second'">
799
+        <el-form :model="formGrab"  label-width="120px" >
800
+         
801
+            <el-form-item  v-for="(item,index) in formGrab.list"  :label="item.name" :key="item.id">
802
+                <el-input type="textarea" v-model="item.value"></el-input>
803
+            </el-form-item>
804
+          
805
+        </el-form> 
806
+        
789 807
       </div>
808
+     
790 809
     </el-dialog>
791 810
   </div>
792 811
 </template>
@@ -808,14 +827,21 @@ export default {
808 827
     "caseAttachList",
809 828
     "caseentryExamineVisible",
810 829
     "caseentryExamineData",
811
-    "caseentryExamineDataAll"
830
+    "caseentryExamineDataAll",
831
+    "afterColumnValues"
812 832
   ],
813 833
   data() {
814 834
     return {
835
+      activeName: 'first',
836
+       // 抓取内容
837
+      formGrab:{
838
+        list:[]
839
+      },
815 840
       formData: {},
816 841
       changeLableCode: [],
817 842
       changeLableCode1: [],
818 843
       changeLableCode2: [],
844
+      changeLableColumn:[],
819 845
       filedata: {
820 846
         annexType: 2,
821 847
       },
@@ -960,6 +986,9 @@ export default {
960 986
   watch: {
961 987
     caseentryExamineVisible: {
962 988
       handler(val) {
989
+        this.activeName = "first"
990
+        this.formGrab.list = this.caseentryExamineDataAll.afterCase.columnValues
991
+        console.log(this.formGrab.list)
963 992
         setTimeout(() => {
964 993
           if (val) {
965 994
             this.applicateArr = [];
@@ -967,6 +996,7 @@ export default {
967 996
             this.formData = this.caseentryExamineData;
968 997
             if (this.caseentryExamineDataAll.changeColumn) {
969 998
               this.changeLableCode = this.caseentryExamineDataAll.changeColumn.split(',')
999
+              console.log(this.changeLableCode)
970 1000
             } else {
971 1001
               this.changeLableCode = []
972 1002
             }
@@ -986,6 +1016,12 @@ export default {
986 1016
             } else {
987 1017
               this.changeLableCode2 = []
988 1018
             }
1019
+            if(this.caseentryExamineDataAll.columnValueChangeColumn){
1020
+              let changeLableColumn1 = this.caseentryExamineDataAll.columnValueChangeColumn.split(',')
1021
+              
1022
+            }else{
1023
+              this.changeLableColumn = []
1024
+            }
989 1025
             this.fileList = [];
990 1026
             this.form2.paymentArr = [
991 1027
               this.caseentryExamineData.caseAffiliates[0],
@@ -1150,6 +1186,7 @@ export default {
1150 1186
         updateSubmitStatus: this.formData.updateSubmitStatus,
1151 1187
         isAgree: row,
1152 1188
         version: this.formData.version,
1189
+        columnValues:this.formGrab.list
1153 1190
       };
1154 1191
       updateAudit(parms).then((res) => {
1155 1192
         this.$modal.msgSuccess("审核成功");
@@ -1171,6 +1208,10 @@ export default {
1171 1208
         "_black"
1172 1209
       );
1173 1210
     },
1211
+    // tab页
1212
+    handleClick(tab, event){
1213
+      
1214
+    }
1174 1215
   },
1175 1216
 };
1176 1217
 </script>

+ 8
- 1
src/views/caseManagement/components/trialincourtDialog.vue Wyświetl plik

@@ -310,7 +310,10 @@ export default {
310 310
       user: "",
311 311
       userId: 1,
312 312
       showArbitrationresults: false,
313
-      form2: {},
313
+      form2: {
314
+        isAbsence:0,
315
+        appliIsAbsen:0
316
+      },
314 317
       applicateArr: [], //申请人案件资料
315 318
       quiltArr: [], //被申请人案件资料
316 319
       recordArr: [], //笔录附件
@@ -418,6 +421,7 @@ export default {
418 421
     submitForm() {
419 422
       this.$refs["form2"].validate((valid) => {
420 423
         if (valid) {
424
+          
421 425
           creatTrialRecordnew({
422 426
             caseAppliId: this.formData.id,
423 427
             // evidenDetermi: this.form2.evidenDetermi,
@@ -450,6 +454,9 @@ export default {
450 454
               this.$modal.msgSuccess("提交成功");
451 455
               this.showsubmit = false;
452 456
               this.closeArbitrationresults();
457
+              this.form2.respondentOpinion ="";
458
+              this.form2.applicantOpinion = "";
459
+              
453 460
             })
454 461
             .catch((err) => { });
455 462
         }

+ 1
- 1
src/views/index.vue Wyświetl plik

@@ -114,7 +114,7 @@
114 114
         </div>
115 115
       </div>
116 116
       <div class="cardList" v-hasPermi="['home:arbitratorCheck']" @click="pushPage(18)">
117
-        <div class="badge">{{ dataCount.caseApplyAwardCheck }}</div>
117
+        <div class="badge">{{ dataCount.arbitratorApplyAwardConfirm }}</div>
118 118
         <div class="cardMain">
119 119
           <img class="iconImg" src="@/assets/images/daishencha.png" alt="">
120 120
         </div>

+ 2
- 2
src/views/officialSeal/components/temmplateList.vue Wyświetl plik

@@ -14,7 +14,7 @@
14 14
 </template>
15 15
 <script>
16 16
 import {
17
-    getFatchRuleByTemplateid
17
+    getTemplateInfoById
18 18
 } from "@/api/officialSeal/officialSeal.js";
19 19
 export default {
20 20
     props: ["listVisable", "listData", "queryParams"],
@@ -29,7 +29,7 @@ export default {
29 29
     watch: {
30 30
         listData(val) {
31 31
             if (val) {
32
-                getFatchRuleByTemplateid({ id: val.id }).then(res=>{
32
+                getTemplateInfoById({ id: val.id }).then(res=>{
33 33
                     this.dataList = res.data;
34 34
                 })
35 35
             }

+ 2
- 1
src/views/officialSeal/templateManagement.vue Wyświetl plik

@@ -41,7 +41,8 @@
41 41
 <script>
42 42
 import {
43 43
     getTemplate,
44
-    deleteTemplate
44
+    deleteTemplate,
45
+    getTemplateInfoById
45 46
 } from "@/api/officialSeal/officialSeal.js";
46 47
 
47 48
 import addInstitution from "./components/addInstitution";