|
|
@@ -1,15 +1,181 @@
|
|
1
|
1
|
<template>
|
|
2
|
2
|
<div class="app-container">
|
|
3
|
|
- 裁决书列表
|
|
|
3
|
+ <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px">
|
|
|
4
|
+ <el-form-item label="案件编号" prop="caseNum">
|
|
|
5
|
+ <el-input v-model="queryParams.caseNum" placeholder="请输入案件编号" clearable @keyup.enter.native="handleQuery" />
|
|
|
6
|
+ </el-form-item>
|
|
|
7
|
+ <el-form-item label="案件状态" prop="caseStatus">
|
|
|
8
|
+ <el-select v-model="queryParams.caseStatus" placeholder="请选择案件状态" clearable
|
|
|
9
|
+ @keyup.enter.native="handleQuery">
|
|
|
10
|
+ <el-option v-for="dict in dict.type.case_status" :key="dict.value" :label="dict.label"
|
|
|
11
|
+ :value="dict.value"></el-option>
|
|
|
12
|
+ </el-select>
|
|
|
13
|
+ </el-form-item>
|
|
|
14
|
+ <el-form-item label="开庭日期" prop="hearDate">
|
|
|
15
|
+ <el-date-picker v-model="queryParams.hearDate" type="daterange" range-separator="至" start-placeholder="开始日期"
|
|
|
16
|
+ end-placeholder="结束日期">
|
|
|
17
|
+ </el-date-picker>
|
|
|
18
|
+ </el-form-item>
|
|
|
19
|
+ <el-form-item>
|
|
|
20
|
+ <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
21
|
+ <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
|
22
|
+ </el-form-item>
|
|
|
23
|
+ </el-form>
|
|
|
24
|
+ <el-table v-loading="loading" :data="dataList" style="width: 100%">
|
|
|
25
|
+ <el-table-column label="序号" type="index" align="center">
|
|
|
26
|
+ <template slot-scope="scope">
|
|
|
27
|
+ <span>{{
|
|
|
28
|
+ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
|
|
29
|
+ }}</span>
|
|
|
30
|
+ </template>
|
|
|
31
|
+ </el-table-column>
|
|
|
32
|
+ <el-table-column label="案件编号" align="center" prop="caseNum" :show-overflow-tooltip="true" />
|
|
|
33
|
+ <el-table-column label="案件标的" align="center" prop="caseSubjectAmount" />
|
|
|
34
|
+ <el-table-column label="立案日期" align="center" prop="registerDate" :show-overflow-tooltip="true" />
|
|
|
35
|
+ <!-- 缴费人 -->
|
|
|
36
|
+ <el-table-column label="案件状态" align="center" prop="caseStatusName" />
|
|
|
37
|
+ <el-table-column label="裁决书状态" align="center" prop="caseStatusName" />
|
|
|
38
|
+ <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
|
|
39
|
+ <template slot-scope="scope">
|
|
|
40
|
+ <el-button size="mini" type="text" icon="el-icon-reading" v-if="scope.row.caseStatus == 10" @click="showModel(scope.row, 0)"
|
|
|
41
|
+ v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button>
|
|
|
42
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 11" @click="showModel(scope.row, 1)"
|
|
|
43
|
+ v-hasPermi="['monitor:online:forceLogout']">核查</el-button>
|
|
|
44
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 12" @click="showModel(scope.row, 2)"
|
|
|
45
|
+ v-hasPermi="['monitor:online:forceLogout']">确认裁决书</el-button>
|
|
|
46
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 13" @click="showModel(scope.row, 3)"
|
|
|
47
|
+ v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
|
|
|
48
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 14" @click="showModel(scope.row, 4)"
|
|
|
49
|
+ v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
|
|
|
50
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 15" @click="showModel(scope.row, 5)"
|
|
|
51
|
+ v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
|
|
|
52
|
+ <el-button size="mini" type="text" icon="el-icon-edit" v-if="scope.row.caseStatus == 16" @click="showModel(scope.row, 6)"
|
|
|
53
|
+ v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button>
|
|
|
54
|
+ <!-- <el-button size="mini" type="text" icon="el-icon-reading"
|
|
|
55
|
+ @click="showModel(scope.row, 0)" v-hasPermi="['monitor:online:forceLogout']">生成裁决书</el-button>
|
|
|
56
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
57
|
+ @click="showModel(scope.row, 1)" v-hasPermi="['monitor:online:forceLogout']">核查</el-button>
|
|
|
58
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
59
|
+ @click="showModel(scope.row, 2)" v-hasPermi="['monitor:online:forceLogout']">确认裁决书</el-button>
|
|
|
60
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
61
|
+ @click="showModel(scope.row, 3)" v-hasPermi="['monitor:online:forceLogout']">签名</el-button>
|
|
|
62
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
63
|
+ @click="showModel(scope.row, 4)" v-hasPermi="['monitor:online:forceLogout']">用印申请</el-button>
|
|
|
64
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
65
|
+ @click="showModel(scope.row, 5)" v-hasPermi="['monitor:online:forceLogout']">送达裁决书</el-button>
|
|
|
66
|
+ <el-button size="mini" type="text" icon="el-icon-edit"
|
|
|
67
|
+ @click="showModel(scope.row, 6)" v-hasPermi="['monitor:online:forceLogout']">案件归档</el-button> -->
|
|
|
68
|
+ </template>
|
|
|
69
|
+ </el-table-column>
|
|
|
70
|
+ </el-table>
|
|
|
71
|
+ <pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
72
|
+ @pagination="getList(queryParams)" />
|
|
|
73
|
+ <!-- 弹窗 -->
|
|
|
74
|
+ <paymentdetailsDialog :openDialog="openDialog" :detailform="detailform" :title="title" :flag="flag"
|
|
|
75
|
+ @cancelpaymentdetails="cancelpaymentdetails" @updataList="updataList"></paymentdetailsDialog>
|
|
4
|
76
|
</div>
|
|
5
|
77
|
</template>
|
|
6
|
|
-
|
|
|
78
|
+
|
|
7
|
79
|
<script>
|
|
8
|
|
- export default {
|
|
9
|
|
-
|
|
10
|
|
- }
|
|
11
|
|
-</script>
|
|
|
80
|
+import {
|
|
|
81
|
+ caseApplicationList,
|
|
|
82
|
+ caseApplicationDetail,
|
|
|
83
|
+} from "@/api/awardManagement/awardManagement";
|
|
|
84
|
+import paymentdetailsDialog from "./components/paymentdetailsDialog.vue";
|
|
12
|
85
|
|
|
13
|
|
-<style lang="scss" scoped>
|
|
|
86
|
+export default {
|
|
|
87
|
+ name: "paymentList",
|
|
|
88
|
+ dicts: ["case_status"],
|
|
|
89
|
+ components: { paymentdetailsDialog },
|
|
|
90
|
+ data() {
|
|
|
91
|
+ return {
|
|
|
92
|
+ queryParams: {
|
|
|
93
|
+ pageNum: 1,
|
|
|
94
|
+ pageSize: 10,
|
|
|
95
|
+ },
|
|
|
96
|
+ // 遮罩层
|
|
|
97
|
+ loading: false,
|
|
|
98
|
+ // 总条数
|
|
|
99
|
+ total: 0,
|
|
|
100
|
+ // 表格数据
|
|
|
101
|
+ list: [],
|
|
14
|
102
|
|
|
15
|
|
-</style>
|
|
|
103
|
+ // 弹出层标题
|
|
|
104
|
+ title: "",
|
|
|
105
|
+ payTitle: "",
|
|
|
106
|
+ // 是否显示弹出层
|
|
|
107
|
+ open: false,
|
|
|
108
|
+ openPay: false,
|
|
|
109
|
+ // 弹出层内容
|
|
|
110
|
+ form: {},
|
|
|
111
|
+ // 校验表单
|
|
|
112
|
+ rules: {},
|
|
|
113
|
+ dataList: [],
|
|
|
114
|
+ detailform: {}, //缴费详情数据
|
|
|
115
|
+ openDialog: false, //缴费详情数据弹框
|
|
|
116
|
+ flag: null,
|
|
|
117
|
+ };
|
|
|
118
|
+ },
|
|
|
119
|
+ created() {
|
|
|
120
|
+ this.queryParams.caseStatusList = [10, 11, 12, 13, 14, 15, 16]
|
|
|
121
|
+ this.getList(this.queryParams);
|
|
|
122
|
+ },
|
|
|
123
|
+ methods: {
|
|
|
124
|
+ updataList(){
|
|
|
125
|
+ this.getList(this.queryParams);
|
|
|
126
|
+ },
|
|
|
127
|
+ /** 搜索按钮操作 */
|
|
|
128
|
+ handleQuery() {
|
|
|
129
|
+ this.queryParams.pageNum = 1;
|
|
|
130
|
+ this.getList(this.queryParams);
|
|
|
131
|
+ },
|
|
|
132
|
+ /** 重置按钮操作 */
|
|
|
133
|
+ resetQuery() {
|
|
|
134
|
+ this.resetForm("queryForm");
|
|
|
135
|
+ this.handleQuery();
|
|
|
136
|
+ },
|
|
|
137
|
+ // 查询列表数据
|
|
|
138
|
+ getList(parms) {
|
|
|
139
|
+ this.loading = true;
|
|
|
140
|
+ caseApplicationList(parms).then((response) => {
|
|
|
141
|
+ this.dataList = response.rows;
|
|
|
142
|
+ this.total = response.total;
|
|
|
143
|
+ this.loading = false;
|
|
|
144
|
+ });
|
|
|
145
|
+ },
|
|
|
146
|
+ // model框显示
|
|
|
147
|
+ showModel(row, type) {
|
|
|
148
|
+ this.getDetail({ id: row.id });
|
|
|
149
|
+ this.openDialog = true;
|
|
|
150
|
+ switch (type) {
|
|
|
151
|
+ case 1:
|
|
|
152
|
+ this.title = "核验裁决书";
|
|
|
153
|
+ this.flag = 1;
|
|
|
154
|
+ break;
|
|
|
155
|
+ case 2:
|
|
|
156
|
+ this.title = "审核裁决书";
|
|
|
157
|
+ this.flag = 2;
|
|
|
158
|
+ break;
|
|
|
159
|
+ case 3:
|
|
|
160
|
+ this.title = "裁决书签名";
|
|
|
161
|
+ this.flag = 3;
|
|
|
162
|
+ break;
|
|
|
163
|
+ default:
|
|
|
164
|
+ break;
|
|
|
165
|
+ }
|
|
|
166
|
+ },
|
|
|
167
|
+ // 关闭弹窗
|
|
|
168
|
+ cancelpaymentdetails() {
|
|
|
169
|
+ this.openDialog = false;
|
|
|
170
|
+ },
|
|
|
171
|
+ /** 查询详情 */
|
|
|
172
|
+ getDetail(parms) {
|
|
|
173
|
+ caseApplicationDetail(parms).then((res) => {
|
|
|
174
|
+ this.detailform = res.data;
|
|
|
175
|
+ });
|
|
|
176
|
+ },
|
|
|
177
|
+ },
|
|
|
178
|
+};
|
|
|
179
|
+</script>
|
|
|
180
|
+
|
|
|
181
|
+<style lang="scss" scoped></style>
|