gyj 2 лет назад
Родитель
Сommit
9f8abe402b
2 измененных файлов: 116 добавлений и 4 удалений
  1. 21
    4
      src/views/caseManagement/caseList.vue
  2. 95
    0
      src/views/caseManagement/components/evidenceList.vue

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

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

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

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>