Bläddra i källkod

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

fz 2 år sedan
förälder
incheckning
77d59a2b21

+ 7
- 3
src/views/caseFiling/archiveList.vue Visa fil

34
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
34
         <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
35
       </el-form-item>
35
       </el-form-item>
36
     </el-form>
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
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
40
     <el-table v-loading="loading" :data="dataList" style="width: 100%">
41
       <el-table-column label="序号" type="index" align="center">
41
       <el-table-column label="序号" type="index" align="center">
42
         <template slot-scope="scope">
42
         <template slot-scope="scope">
130
       this.resetForm("queryForm");
130
       this.resetForm("queryForm");
131
       this.handleQuery();
131
       this.handleQuery();
132
     },
132
     },
133
+    // 下在案件归档压缩包
134
+    downloadZips(){
135
+      //  console.log(this.download) 
136
+    },
133
     // 查询列表数据
137
     // 查询列表数据
134
     getList(parms) {
138
     getList(parms) {
135
       this.loading = true;
139
       this.loading = true;

+ 9
- 0
src/views/caseFiling/components/caseInfo.vue Visa fil

126
             </p>
126
             </p>
127
           </el-form-item>
127
           </el-form-item>
128
         </el-col>
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
       </el-row>
136
       </el-row>
130
     </el-form>
137
     </el-form>
131
     <!-- 申请人主体信息 -->
138
     <!-- 申请人主体信息 -->
512
   props: ["caseApplicationObj"],
519
   props: ["caseApplicationObj"],
513
   data() {
520
   data() {
514
     return {
521
     return {
522
+      fileURL: window.location.origin + "/API",
515
       formData: {},
523
       formData: {},
516
       applicateArr: [],
524
       applicateArr: [],
517
       quiltArr: [],
525
       quiltArr: [],
561
     if (this.caseApplicationObj) {
569
     if (this.caseApplicationObj) {
562
       this.formData = this.caseApplicationObj;
570
       this.formData = this.caseApplicationObj;
563
     }
571
     }
572
+    console.log(this.caseApplicationObj)
564
     console.log("this.formData", this.formData);
573
     console.log("this.formData", this.formData);
565
     if (this.caseApplicationObj && this.caseApplicationObj.caseAffiliates) {
574
     if (this.caseApplicationObj && this.caseApplicationObj.caseAffiliates) {
566
       this.caseApplicationObj.caseAffiliates.forEach((item) => {
575
       this.caseApplicationObj.caseAffiliates.forEach((item) => {

+ 21
- 4
src/views/caseManagement/caseList.vue Visa fil

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

+ 10
- 0
src/views/caseManagement/components/caseentryDialog.vue Visa fil

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

+ 95
- 0
src/views/caseManagement/components/evidenceList.vue Visa fil

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 Visa fil

3
         <el-dialog title="案件流程" :visible="processVisable" @close="cancel" center :distroy-on-close="true">
3
         <el-dialog title="案件流程" :visible="processVisable" @close="cancel" center :distroy-on-close="true">
4
             <div>
4
             <div>
5
                 <el-steps class="steps" :active="caseStatus">
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
                 </el-steps>
8
                 </el-steps>
9
             </div>
9
             </div>
41
             selectCaseProgress(data).then(res=>{
41
             selectCaseProgress(data).then(res=>{
42
                  this.pageData = res.data.data; 
42
                  this.pageData = res.data.data; 
43
                 let allCasenode = res.data.data.allCasenode;
43
                 let allCasenode = res.data.data.allCasenode;
44
+                console.log(allCasenode)
44
                 allCasenode.forEach((item,index) => {
45
                 allCasenode.forEach((item,index) => {
45
                     if(item.caseNode==res.data.data.caseStatus){
46
                     if(item.caseNode==res.data.data.caseStatus){
46
                         this.caseStatus = index
47
                         this.caseStatus = index