|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+<template>
|
|
|
2
|
+ <div class="signFor">
|
|
|
3
|
+ <div>
|
|
|
4
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
5
|
+ <el-col :span="8"><div>案件编号</div></el-col>
|
|
|
6
|
+ <el-col :span="16"><div>{{ dataList.caseNum }}</div></el-col>
|
|
|
7
|
+ </el-row>
|
|
|
8
|
+ <hr>
|
|
|
9
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
10
|
+ <el-col :span="8"><div>申请人</div></el-col>
|
|
|
11
|
+ <el-col :span="16"><div>{{ dataList.applicationName }}</div></el-col>
|
|
|
12
|
+ </el-row>
|
|
|
13
|
+ <hr>
|
|
|
14
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
15
|
+ <el-col :span="8"><div>被申请人</div></el-col>
|
|
|
16
|
+ <el-col :span="16"><div>{{ dataList.respondentName }}</div></el-col>
|
|
|
17
|
+ </el-row>
|
|
|
18
|
+ <hr>
|
|
|
19
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
20
|
+ <el-col :span="8"><div>调解员</div></el-col>
|
|
|
21
|
+ <el-col :span="16"><div>{{ dataList.mediatorName }}</div></el-col>
|
|
|
22
|
+ </el-row>
|
|
|
23
|
+ <hr>
|
|
|
24
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
25
|
+ <el-col :span="8"><div>调解方式</div></el-col>
|
|
|
26
|
+ <el-col :span="16"><div>{{ dataList.mediationMethodName }}</div></el-col>
|
|
|
27
|
+ </el-row>
|
|
|
28
|
+ <hr>
|
|
|
29
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
30
|
+ <el-col :span="8"><div>调解时间</div></el-col>
|
|
|
31
|
+ <el-col :span="16"><div>{{ dataList.hearDate }}</div></el-col>
|
|
|
32
|
+ </el-row>
|
|
|
33
|
+ <hr>
|
|
|
34
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
35
|
+ <el-col :span="8"><div>案件状态</div></el-col>
|
|
|
36
|
+ <el-col :span="16"><div>{{ dataList.caseStatusName }}</div></el-col>
|
|
|
37
|
+ </el-row>
|
|
|
38
|
+ <hr>
|
|
|
39
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
40
|
+ <el-col :span="8"><div>创建时间</div></el-col>
|
|
|
41
|
+ <el-col :span="16"><div>{{ dataList.createTime }}</div></el-col>
|
|
|
42
|
+ </el-row>
|
|
|
43
|
+ <hr>
|
|
|
44
|
+ <el-row style="height: 40px;line-height: 40px;text-align: center;">
|
|
|
45
|
+ <el-col :span="7"><div>调解书</div></el-col>
|
|
|
46
|
+ <el-col :span="15"><div v-for="(item,index) in fileList" :key="index" style="color: blue; cursor: pointer" @click="toPreview(item.annexPath)">{{ item.annexName }}</div></el-col>
|
|
|
47
|
+ </el-row>
|
|
|
48
|
+ <hr>
|
|
|
49
|
+ <el-row>
|
|
|
50
|
+ <el-col :span="24">
|
|
|
51
|
+ <div style="width: 90px; margin: 30px auto;">
|
|
|
52
|
+ <el-button type="primary" @click="getMsCaseSign(caseId)" v-if="showSign" icon="el-icon-edit">签收</el-button>
|
|
|
53
|
+ </div>
|
|
|
54
|
+ </el-col>
|
|
|
55
|
+ </el-row>
|
|
|
56
|
+ </div>
|
|
|
57
|
+ </div>
|
|
|
58
|
+
|
|
|
59
|
+</template>
|
|
|
60
|
+
|
|
|
61
|
+<script>
|
|
|
62
|
+import { getEncryptInfoByid,caseApplicationList,msCaseSign,fileList } from "@/api/home";
|
|
|
63
|
+export default {
|
|
|
64
|
+ name: "signFor",
|
|
|
65
|
+ components: {},
|
|
|
66
|
+ data() {
|
|
|
67
|
+ return {
|
|
|
68
|
+ dataList: [],
|
|
|
69
|
+ loading: false,
|
|
|
70
|
+ token:'',
|
|
|
71
|
+ caseId:'',
|
|
|
72
|
+ showSign:true,
|
|
|
73
|
+ fileURL: 'http://121.40.189.20:8002' + "/API",
|
|
|
74
|
+ fileList:[]
|
|
|
75
|
+
|
|
|
76
|
+ };
|
|
|
77
|
+ },
|
|
|
78
|
+ created() {
|
|
|
79
|
+ console.log(this.fileURL)
|
|
|
80
|
+ },
|
|
|
81
|
+ methods: {
|
|
|
82
|
+ /**获取链接参数 */
|
|
|
83
|
+ async getEncryptInfoByidFn(data) {
|
|
|
84
|
+ await getEncryptInfoByid(data).then((res) => {
|
|
|
85
|
+ this.caseId = res.caseId
|
|
|
86
|
+ sessionStorage.setItem('token',res.token)
|
|
|
87
|
+ });
|
|
|
88
|
+ },
|
|
|
89
|
+ // 获取案件列表
|
|
|
90
|
+ async getList(params){
|
|
|
91
|
+ await caseApplicationList(params).then(res =>{
|
|
|
92
|
+ res.rows.forEach(item => {
|
|
|
93
|
+ this.dataList = item;
|
|
|
94
|
+ });
|
|
|
95
|
+ })
|
|
|
96
|
+ },
|
|
|
97
|
+ // 案件签收
|
|
|
98
|
+ async getMsCaseSign(params){
|
|
|
99
|
+ console.log(params)
|
|
|
100
|
+ let caseIds = {
|
|
|
101
|
+ caseId:params
|
|
|
102
|
+ }
|
|
|
103
|
+ await msCaseSign(caseIds).then(res =>{
|
|
|
104
|
+ console.log(res)
|
|
|
105
|
+ this.$message({
|
|
|
106
|
+ message: '签收成功',
|
|
|
107
|
+ type: 'success'
|
|
|
108
|
+ });
|
|
|
109
|
+ this.showSign = false
|
|
|
110
|
+ })
|
|
|
111
|
+ },
|
|
|
112
|
+ // 查看附件
|
|
|
113
|
+ async getFileList(caseAppliIds,annexTypeList){
|
|
|
114
|
+ fileList(caseAppliIds,annexTypeList).then(res=>{
|
|
|
115
|
+ this.fileList = res.data;
|
|
|
116
|
+ console.log(this.fileList)
|
|
|
117
|
+ })
|
|
|
118
|
+ },
|
|
|
119
|
+ toPreview(val){
|
|
|
120
|
+ console.log(val)
|
|
|
121
|
+ window.open(this.fileURL + val)
|
|
|
122
|
+ }
|
|
|
123
|
+ },
|
|
|
124
|
+ async mounted() {
|
|
|
125
|
+ let routeParams = this.$route.query;
|
|
|
126
|
+ await this.getEncryptInfoByidFn(routeParams.authId)
|
|
|
127
|
+ await this.getList(this.caseId)
|
|
|
128
|
+ // await this.getList("5461248676208928")
|
|
|
129
|
+ let caseAppliIds = this.caseId
|
|
|
130
|
+ let annexTypeList = 7
|
|
|
131
|
+ await this.getFileList(caseAppliIds,annexTypeList)
|
|
|
132
|
+ }
|
|
|
133
|
+};
|
|
|
134
|
+</script>
|
|
|
135
|
+
|
|
|
136
|
+<style scoped>
|
|
|
137
|
+ .signFor{
|
|
|
138
|
+ margin-top: 30px;
|
|
|
139
|
+ width: 100%;
|
|
|
140
|
+ }
|
|
|
141
|
+</style>
|