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