Просмотр исходного кода

Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Arbitrate-Frontend into hcb

fz 2 лет назад
Родитель
Сommit
77d59a2b21

+ 7
- 3
src/views/caseFiling/archiveList.vue Просмотреть файл

@@ -34,9 +34,9 @@
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>
38
-         <el-button  size="mini">案件归档</el-button>
39
-    </el-row> -->
37
+    <el-row style="margin-bottom:5px;">
38
+         <el-button type="primary" size="mini" class="el-icon-download" @click="downloadZips">案件归档</el-button>
39
+    </el-row>
40 40
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
41 41
       <el-table-column label="序号" type="index" align="center">
42 42
         <template slot-scope="scope">
@@ -130,6 +130,10 @@ export default {
130 130
       this.resetForm("queryForm");
131 131
       this.handleQuery();
132 132
     },
133
+    // 下在案件归档压缩包
134
+    downloadZips(){
135
+      //  console.log(this.download) 
136
+    },
133 137
     // 查询列表数据
134 138
     getList(parms) {
135 139
       this.loading = true;

+ 9
- 0
src/views/caseFiling/components/caseInfo.vue Просмотреть файл

@@ -126,6 +126,13 @@
126 126
             </p>
127 127
           </el-form-item>
128 128
         </el-col>
129
+        <el-col :span="24">
130
+           <el-form-item label="仲裁申请书:">
131
+              <div v-for="item in caseApplicationObj.caseAttachList" v-if="item.annexType ==1">
132
+                <el-link target="_blank" type="primary" :href ="fileURL+item.annexPath">{{item.annexName}}</el-link>
133
+              </div>
134
+           </el-form-item>
135
+        </el-col>
129 136
       </el-row>
130 137
     </el-form>
131 138
     <!-- 申请人主体信息 -->
@@ -512,6 +519,7 @@ export default {
512 519
   props: ["caseApplicationObj"],
513 520
   data() {
514 521
     return {
522
+      fileURL: window.location.origin + "/API",
515 523
       formData: {},
516 524
       applicateArr: [],
517 525
       quiltArr: [],
@@ -561,6 +569,7 @@ export default {
561 569
     if (this.caseApplicationObj) {
562 570
       this.formData = this.caseApplicationObj;
563 571
     }
572
+    console.log(this.caseApplicationObj)
564 573
     console.log("this.formData", this.formData);
565 574
     if (this.caseApplicationObj && this.caseApplicationObj.caseAffiliates) {
566 575
       this.caseApplicationObj.caseAffiliates.forEach((item) => {

+ 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
       });

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

@@ -583,6 +583,15 @@
583 583
         @click="generateForm1()"
584 584
         >新增被申请人主体信息</el-button
585 585
       > -->
586
+      <div>
587
+         <div style="display: inline-flex">
588
+            <div class="infoIcon"></div>
589
+            <div class="caseInfo2">仲裁申请书:</div>
590
+          </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>
594
+      </div>
586 595
       <div slot="footer" class="dialog-footer">
587 596
         <el-button type="primary" @click="submitForm" v-if="flag != 0" class="endbutton"><span>确 定</span></el-button>
588 597
         <el-button @click="cancel" class="endbutton1"><span>取 消</span></el-button>
@@ -609,6 +618,7 @@ export default {
609 618
   ],
610 619
   data() {
611 620
     return {
621
+      fileURL: window.location.origin + "/API",
612 622
       formData: this.form,
613 623
       filedata: {
614 624
         annexType: 2,

+ 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>

+ 2
- 1
src/views/caseManagement/components/viewprocessDialog.vue Просмотреть файл

@@ -3,7 +3,7 @@
3 3
         <el-dialog title="案件流程" :visible="processVisable" @close="cancel" center :distroy-on-close="true">
4 4
             <div>
5 5
                 <el-steps class="steps" :active="caseStatus">
6
-                    <el-step :title="item.caseNodeName || item.content" v-for="(item,index) in pageData.allCasenode" :key="index" :description="(item.createNickName || '') + (item.caseNodeTime || '')"></el-step>
6
+                    <el-step :title="item.caseNodeName || item.content" v-for="(item,index) in pageData.allCasenode" :key="index" :description="(item.createNickName || '') + (item.caseNodeTime || '')+(item.nextRoleName || '')"></el-step>
7 7
                    
8 8
                 </el-steps>
9 9
             </div>
@@ -41,6 +41,7 @@ export default {
41 41
             selectCaseProgress(data).then(res=>{
42 42
                  this.pageData = res.data.data; 
43 43
                 let allCasenode = res.data.data.allCasenode;
44
+                console.log(allCasenode)
44 45
                 allCasenode.forEach((item,index) => {
45 46
                     if(item.caseNode==res.data.data.caseStatus){
46 47
                         this.caseStatus = index