gyj 2 лет назад
Родитель
Сommit
9f8abe402b

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

@@ -111,7 +111,7 @@
111 111
           <el-button size="mini" type="text" icon="el-icon-tickets" @click="payStatus(scope.row)" v-if="scope.row.caseStatus == 2 &&
112 112
             checkPermi(['caseManagement:list:pay']) && btnStatus
113 113
             ">缴费</el-button>
114
-
114
+          <el-button size="mini" type="text" icon="el-icon-tickets" @click="evidenceListS(scope.row)" >证据清单</el-button>
115 115
           <!-- <el-button
116 116
             size="mini"
117 117
             type="text"
@@ -237,6 +237,8 @@
237 237
     <caseCompressionPackage :openCompressedPackages="openCompressedPackages" :queryParams="queryParams" @cancelCompreess="cancelCompreess"
238 238
       :getcaseApply="getcaseApply">
239 239
     </caseCompressionPackage>
240
+    <!-- 证据清单 -->
241
+    <evidenceList :evidenceListD ="evidenceListD" @cancelevidenceList="cancelevidenceList" :caseAttachListR ="caseAttachListR"></evidenceList>
240 242
     
241 243
   </div>
242 244
 </template>
@@ -257,7 +259,8 @@ import evidenceDialog from './components/evidenceDialog.vue';
257 259
 import timeDialog from './components/timeDialog.vue';
258 260
 import operateDialog from './components/operateDialog.vue';
259 261
 import uploadCaseDialog from './components/uploadCaseDialog.vue';
260
-import caseCompressionPackage from './components/caseCompressionPackage.vue'
262
+import caseCompressionPackage from './components/caseCompressionPackage.vue';
263
+import evidenceList from './components/evidenceList.vue'
261 264
 // 秘书审核页面
262 265
 import caseentryExamineDialog from './components/caseentryExamine.vue';
263 266
 import { caseApplicationDetail } from "@/api/pay/pay";
@@ -297,7 +300,8 @@ export default {
297 300
     operateDialog,
298 301
     uploadCaseDialog,
299 302
     caseentryExamineDialog,
300
-    caseCompressionPackage
303
+    caseCompressionPackage,
304
+    evidenceList
301 305
   },
302 306
   data() {
303 307
     return {
@@ -349,6 +353,8 @@ export default {
349 353
       payForm: {},
350 354
       caseAttachList: [], //案件质证资料
351 355
       showcaseLog: false, //案件日志弹框显示
356
+      evidenceListD:false,//证据清单弹框显示
357
+      caseAttachListR:[], //证据清单
352 358
       flagLoading: true, //案件日志弹框loading
353 359
       caselogDataArr: [],
354 360
       options: [], //机构数据
@@ -588,6 +594,11 @@ export default {
588 594
       this.showcaseLog = true;
589 595
       this.caseLogRecordListFn(row);
590 596
     },
597
+    // 证据清单
598
+    evidenceListS(row){
599
+      this.evidenceListD = true;
600
+      this.getInfo(row);
601
+    },
591 602
     // 查询案件日志信息
592 603
     caseLogRecordListFn(val) {
593 604
       this.flagLoading = true;
@@ -607,6 +618,10 @@ export default {
607 618
     cancelViewProcess() {
608 619
       this.processVisable = false;
609 620
     },
621
+    // 关闭案件详情
622
+    cancelevidenceList(){
623
+      this.evidenceListD = false;
624
+    },
610 625
     // 修改
611 626
     editRow(row) {
612 627
       this.flag = "1";
@@ -769,6 +784,8 @@ export default {
769 784
         version: row.version
770 785
       }
771 786
       selectCaseApply(params).then((res) => {
787
+        // 证据清单
788
+        this.caseAttachListR = res.data.caseAttachList;
772 789
         // this.visible = true;
773 790
         // this.formData = res.data;
774 791
         this.form.caseName = res.data.caseName;
@@ -790,7 +807,7 @@ export default {
790 807
           }
791 808
         });
792 809
         this.caseAttachList = res.data.caseAttachList;
793
-        console.log(this.caseAttachList,"caseAttachList")
810
+        // console.log(this.caseAttachList,"caseAttachList")
794 811
         this.form.requestRule = res.data.requestRule;
795 812
         this.form.properPreser = res.data.properPreser;
796 813
       });

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

@@ -0,0 +1,95 @@
1
+<template>
2
+  <div>
3
+    <el-dialog
4
+      title="证据清单"
5
+      :visible="evidenceListD"
6
+      :caseAttachListR = "caseAttachListR"
7
+      @close="cancel"
8
+      center
9
+      :distroy-on-close="true"
10
+    >
11
+      <div class="loading" v-if ="flagLoading">
12
+        <i class="el-icon-loading"></i>
13
+      </div>
14
+      <div v-for="item in this.caseAttachListR" style="margin-top:10px;">
15
+          <el-link target="_blank" type="primary" v-if="item.annexType == 2 || item.annexType == 6" :href="fileURL+item.annexPath">{{item.annexName}}</el-link>
16
+      </div>
17
+      <div slot="footer" class="dialog-footer">
18
+        <el-button @click="cancel" class="endbutton1"
19
+          ><span>取 消</span></el-button>
20
+      </div>
21
+    </el-dialog>
22
+  </div>
23
+</template>
24
+
25
+<script>
26
+export default {
27
+  props: ["evidenceListD", "flagLoading", "caseAttachListR"],
28
+  data() {
29
+    return {
30
+      fileURL: window.location.origin + "/API",
31
+      myData:[]
32
+    };
33
+  },
34
+  created(){
35
+    // 获取组件传值监听
36
+    // this.$watch('caseAttachListR',(newVal)=>{
37
+    //   this.myData = newVal;
38
+    //   console.log(this.myData)
39
+    // })
40
+  },
41
+  methods: {
42
+  
43
+    cancel() {
44
+      this.$emit("cancelevidenceList");
45
+    } 
46
+  },
47
+};
48
+</script>
49
+
50
+<style lang="scss" scoped>
51
+::v-deep .el-dialog__body {
52
+  height: 500px !important;
53
+  overflow: auto !important;
54
+}
55
+::v-deep .el-dialog {
56
+  width: 800px;
57
+  background: #ffffff;
58
+  border-radius: 20px;
59
+}
60
+.endbutton1 {
61
+  width: 154px;
62
+  height: 37px;
63
+  background: #ffffff;
64
+  border: 1px solid #d0d0d0;
65
+  border-radius: 19px;
66
+  span {
67
+    width: 31px;
68
+    height: 13px;
69
+    font-size: 16px;
70
+    font-family: Microsoft YaHei;
71
+    font-weight: 400;
72
+    color: #959595;
73
+  }
74
+}
75
+.loading {
76
+  width: 100%;
77
+  height: 100%;
78
+  display: flex;
79
+  justify-content: center;
80
+  align-items: center;
81
+  .el-icon-loading {
82
+    font-size: 50px;
83
+  }
84
+}
85
+.noData {
86
+  width: 100%;
87
+  height: 400px;
88
+  font-size: 30px;
89
+  font-weight: 700;
90
+  color: #959595;
91
+  display: flex;
92
+  justify-content: center;
93
+  align-items: center;
94
+}
95
+</style>