|
|
@@ -7,22 +7,22 @@
|
|
7
|
7
|
:inline="true"
|
|
8
|
8
|
label-width="68px"
|
|
9
|
9
|
>
|
|
10
|
|
- <el-form-item label="案件编号" prop="caseNumber">
|
|
|
10
|
+ <el-form-item label="案件编号" prop="caseNum">
|
|
11
|
11
|
<el-input
|
|
12
|
|
- v-model="queryParams.caseNumber"
|
|
|
12
|
+ v-model="queryParams.caseNum"
|
|
13
|
13
|
placeholder="请输入案件编号"
|
|
14
|
14
|
clearable
|
|
15
|
15
|
@keyup.enter.native="handleQuery"
|
|
16
|
16
|
/>
|
|
17
|
17
|
</el-form-item>
|
|
18
|
|
- <el-form-item label="申请人" prop="applicant">
|
|
|
18
|
+ <!-- <el-form-item label="申请人" prop="applicant">
|
|
19
|
19
|
<el-input
|
|
20
|
20
|
v-model="queryParams.applicant"
|
|
21
|
21
|
placeholder="请输入申请人"
|
|
22
|
22
|
clearable
|
|
23
|
23
|
@keyup.enter.native="handleQuery"
|
|
24
|
24
|
/>
|
|
25
|
|
- </el-form-item>
|
|
|
25
|
+ </el-form-item> -->
|
|
26
|
26
|
<el-form-item>
|
|
27
|
27
|
<el-button
|
|
28
|
28
|
type="primary"
|
|
|
@@ -31,9 +31,9 @@
|
|
31
|
31
|
@click="handleQuery"
|
|
32
|
32
|
>搜索</el-button
|
|
33
|
33
|
>
|
|
34
|
|
- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
|
34
|
+ <!-- <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"
|
|
35
|
35
|
>重置</el-button
|
|
36
|
|
- >
|
|
|
36
|
+ > -->
|
|
37
|
37
|
</el-form-item>
|
|
38
|
38
|
</el-form>
|
|
39
|
39
|
<el-row :gutter="10" class="mb8">
|
|
|
@@ -47,38 +47,49 @@
|
|
47
|
47
|
v-hasPermi="['monitor:job:add']"
|
|
48
|
48
|
>立案申请</el-button
|
|
49
|
49
|
>
|
|
|
50
|
+ <el-button
|
|
|
51
|
+ type="primary"
|
|
|
52
|
+ plain
|
|
|
53
|
+ icon="el-icon-plus"
|
|
|
54
|
+ size="mini"
|
|
|
55
|
+ @click="batchApplication"
|
|
|
56
|
+ v-hasPermi="['monitor:job:add']"
|
|
|
57
|
+ >批量立案</el-button
|
|
|
58
|
+ >
|
|
50
|
59
|
</el-col>
|
|
51
|
60
|
</el-row>
|
|
52
|
|
- <el-table
|
|
53
|
|
- v-loading="loading"
|
|
54
|
|
- :data="list.slice((pageNum - 1) * pageSize, pageNum * pageSize)"
|
|
55
|
|
- style="width: 100%"
|
|
56
|
|
- >
|
|
|
61
|
+ <el-table v-loading="loading" :data="dataList" style="width: 100%">
|
|
57
|
62
|
<el-table-column label="序号" type="index" align="center">
|
|
58
|
63
|
<template slot-scope="scope">
|
|
59
|
|
- <span>{{ (pageNum - 1) * pageSize + scope.$index + 1 }}</span>
|
|
|
64
|
+ <span>{{
|
|
|
65
|
+ (queryParams.pageNum - 1) * queryParams.pageSize + scope.$index + 1
|
|
|
66
|
+ }}</span>
|
|
60
|
67
|
</template>
|
|
61
|
68
|
</el-table-column>
|
|
62
|
69
|
<el-table-column
|
|
63
|
70
|
label="案件编号"
|
|
64
|
71
|
align="center"
|
|
65
|
|
- prop="caseNumber"
|
|
|
72
|
+ prop="caseNum"
|
|
66
|
73
|
:show-overflow-tooltip="true"
|
|
67
|
74
|
/>
|
|
68
|
|
- <el-table-column
|
|
|
75
|
+ <!-- <el-table-column
|
|
69
|
76
|
label="申请人"
|
|
70
|
77
|
align="center"
|
|
71
|
|
- prop="applicant"
|
|
|
78
|
+ prop="caseAffiliates[0].name"
|
|
72
|
79
|
:show-overflow-tooltip="true"
|
|
|
80
|
+ /> -->
|
|
|
81
|
+ <el-table-column
|
|
|
82
|
+ label="案件标的"
|
|
|
83
|
+ align="center"
|
|
|
84
|
+ prop="caseSubjectAmount"
|
|
73
|
85
|
/>
|
|
74
|
|
- <el-table-column label="案件标的" align="center" prop="matterofCase" />
|
|
75
|
86
|
<el-table-column
|
|
76
|
87
|
label="立案日期"
|
|
77
|
88
|
align="center"
|
|
78
|
|
- prop="filingDate"
|
|
|
89
|
+ prop="registerDate"
|
|
79
|
90
|
:show-overflow-tooltip="true"
|
|
80
|
91
|
/>
|
|
81
|
|
- <el-table-column label="仲裁方式" align="center" prop="ArbitrateMethod" />
|
|
|
92
|
+ <!-- <el-table-column label="仲裁方式" align="center" prop="arbitratMethod" /> -->
|
|
82
|
93
|
<el-table-column label="案件状态" align="center" prop="caseStatus" />
|
|
83
|
94
|
<el-table-column
|
|
84
|
95
|
label="操作"
|
|
|
@@ -86,6 +97,14 @@
|
|
86
|
97
|
class-name="small-padding fixed-width"
|
|
87
|
98
|
>
|
|
88
|
99
|
<template slot-scope="scope">
|
|
|
100
|
+ <el-button
|
|
|
101
|
+ size="mini"
|
|
|
102
|
+ type="text"
|
|
|
103
|
+ icon="el-icon-check"
|
|
|
104
|
+ @click="onsubmitRow(scope.row)"
|
|
|
105
|
+ v-hasPermi="['monitor:online:forceLogout']"
|
|
|
106
|
+ >提交</el-button
|
|
|
107
|
+ >
|
|
89
|
108
|
<el-button
|
|
90
|
109
|
size="mini"
|
|
91
|
110
|
type="text"
|
|
|
@@ -102,339 +121,117 @@
|
|
102
|
121
|
v-hasPermi="['monitor:online:forceLogout']"
|
|
103
|
122
|
>详情</el-button
|
|
104
|
123
|
>
|
|
|
124
|
+ <el-button
|
|
|
125
|
+ size="mini"
|
|
|
126
|
+ type="text"
|
|
|
127
|
+ icon="el-icon-delete"
|
|
|
128
|
+ @click="deleteRow(scope.row)"
|
|
|
129
|
+ v-hasPermi="['monitor:online:forceLogout']"
|
|
|
130
|
+ >删除</el-button
|
|
|
131
|
+ >
|
|
105
|
132
|
</template>
|
|
106
|
133
|
</el-table-column>
|
|
107
|
134
|
</el-table>
|
|
108
|
135
|
<pagination
|
|
109
|
136
|
v-show="total > 0"
|
|
110
|
137
|
:total="total"
|
|
111
|
|
- :page.sync="pageNum"
|
|
112
|
|
- :limit.sync="pageSize"
|
|
|
138
|
+ :page.sync="queryParams.pageNum"
|
|
|
139
|
+ :limit.sync="queryParams.pageSize"
|
|
|
140
|
+ @pagination="getcaseApply"
|
|
113
|
141
|
/>
|
|
114
|
142
|
|
|
115
|
143
|
<!-- 立案申请弹框 -->
|
|
116
|
|
- <el-dialog
|
|
117
|
|
- :title="dialogtitle"
|
|
118
|
|
- :visible.sync="openapply"
|
|
119
|
|
- width="1000px"
|
|
120
|
|
- append-to-body
|
|
121
|
|
- >
|
|
122
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="150px">
|
|
123
|
|
- <p>案件信息:</p>
|
|
124
|
|
- <hr />
|
|
125
|
|
- <el-row>
|
|
126
|
|
- <el-col :span="12">
|
|
127
|
|
- <el-form-item label="案件编号:" prop="caseNumber">
|
|
128
|
|
- <el-input
|
|
129
|
|
- v-model="form.caseNumber"
|
|
130
|
|
- placeholder="请输入案件编号"
|
|
131
|
|
- />
|
|
132
|
|
- </el-form-item>
|
|
133
|
|
- </el-col>
|
|
134
|
|
- <el-col :span="12">
|
|
135
|
|
- <el-form-item label="案件标的:" prop="matterofCase">
|
|
136
|
|
- <el-input
|
|
137
|
|
- v-model="form.matterofCase"
|
|
138
|
|
- placeholder="请输入案件标的"
|
|
139
|
|
- />
|
|
140
|
|
- </el-form-item>
|
|
141
|
|
- </el-col>
|
|
142
|
|
- <el-col :span="12">
|
|
143
|
|
- <el-form-item label="借款开始日期:" prop="startTime">
|
|
144
|
|
- <el-date-picker
|
|
145
|
|
- v-model="starttime"
|
|
146
|
|
- type="date"
|
|
147
|
|
- placeholder="开始日期"
|
|
148
|
|
- >
|
|
149
|
|
- </el-date-picker>
|
|
150
|
|
- </el-form-item>
|
|
151
|
|
- </el-col>
|
|
152
|
|
- <el-col :span="12">
|
|
153
|
|
- <el-form-item label="借款开始日期:" prop="endTime">
|
|
154
|
|
- <el-date-picker
|
|
155
|
|
- v-model="endtime"
|
|
156
|
|
- type="date"
|
|
157
|
|
- placeholder="结束日期"
|
|
158
|
|
- >
|
|
159
|
|
- </el-date-picker>
|
|
160
|
|
- </el-form-item>
|
|
161
|
|
- </el-col>
|
|
162
|
|
- <el-col :span="12">
|
|
163
|
|
- <el-form-item label="申请人姓名:" prop="applyname">
|
|
164
|
|
- <el-input v-model="form.jobGroup" placeholder="请输入姓名" />
|
|
165
|
|
- </el-form-item>
|
|
166
|
|
- </el-col>
|
|
167
|
|
- <!-- <el-col :span="24">
|
|
168
|
|
- <el-form-item label="立案申请书:" prop="applybook">
|
|
169
|
|
- <el-upload
|
|
170
|
|
- class="upload-demo"
|
|
171
|
|
- action="https://jsonplaceholder.typicode.com/posts/"
|
|
172
|
|
- :on-preview="handlePreview"
|
|
173
|
|
- :on-remove="handleRemove"
|
|
174
|
|
- :before-remove="beforeRemove"
|
|
175
|
|
- multiple
|
|
176
|
|
- :limit="3"
|
|
177
|
|
- :on-exceed="handleExceed"
|
|
178
|
|
- :file-list="fileList"
|
|
179
|
|
- >
|
|
180
|
|
- <el-button size="small" type="primary">点击上传</el-button>
|
|
181
|
|
- <div slot="tip" class="el-upload__tip">
|
|
182
|
|
- 只能上传jpg/png文件,且不超过500kb
|
|
183
|
|
- </div>
|
|
184
|
|
- </el-upload>
|
|
185
|
|
- </el-form-item>
|
|
186
|
|
- </el-col> -->
|
|
187
|
|
- <el-col :span="12">
|
|
188
|
|
- <el-form-item label="合同编号:" prop="contractnum">
|
|
189
|
|
- <el-input v-model="form.contractnum" placeholder="请输入" />
|
|
190
|
|
- </el-form-item>
|
|
191
|
|
- </el-col>
|
|
192
|
|
- <el-col :span="12">
|
|
193
|
|
- <el-form-item label="申请人主张欠本金:" prop="principal">
|
|
194
|
|
- <el-input v-model="form.principal" placeholder="请输入" />
|
|
195
|
|
- </el-form-item>
|
|
196
|
|
- </el-col>
|
|
197
|
|
- <el-col :span="12">
|
|
198
|
|
- <el-form-item label="申请人主张欠利息:" prop="interest">
|
|
199
|
|
- <el-input v-model="form.interest" placeholder="请输入" />
|
|
200
|
|
- </el-form-item>
|
|
201
|
|
- </el-col>
|
|
202
|
|
- <!-- <el-col :span="12">
|
|
203
|
|
- <el-form-item label="还款方式:" prop="repayment">
|
|
204
|
|
- <el-input v-model="form.repayment" placeholder="请输入" />
|
|
205
|
|
- </el-form-item>
|
|
206
|
|
- </el-col> -->
|
|
207
|
|
- <el-col :span="12">
|
|
208
|
|
- <el-form-item label="逾期天数:" prop="Overduedays">
|
|
209
|
|
- <el-input v-model="form.Overduedays" placeholder="请输入" />
|
|
210
|
|
- </el-form-item>
|
|
211
|
|
- </el-col>
|
|
212
|
|
- <el-col :span="12">
|
|
213
|
|
- <el-form-item label="申请人主张违约金:" prop="Penalty">
|
|
214
|
|
- <el-input v-model="form.Penalty" placeholder="请输入" />
|
|
215
|
|
- </el-form-item>
|
|
216
|
|
- </el-col>
|
|
217
|
|
- <el-col :span="12">
|
|
218
|
|
- <el-form-item
|
|
219
|
|
- label="申请人案件证据资料上传:"
|
|
220
|
|
- prop="applicantEvidence"
|
|
221
|
|
- >
|
|
222
|
|
- <el-upload
|
|
223
|
|
- class="upload-demo"
|
|
224
|
|
- action="https://jsonplaceholder.typicode.com/posts/"
|
|
225
|
|
- :on-preview="handlePreview"
|
|
226
|
|
- :on-remove="handleRemove"
|
|
227
|
|
- :before-remove="beforeRemove"
|
|
228
|
|
- multiple
|
|
229
|
|
- :limit="3"
|
|
230
|
|
- :on-exceed="handleExceed"
|
|
231
|
|
- :file-list="fileList"
|
|
232
|
|
- >
|
|
233
|
|
- <el-button size="small" type="primary">点击上传</el-button>
|
|
234
|
|
- <div slot="tip" class="el-upload__tip">
|
|
235
|
|
- 只能上传jpg/png文件,且不超过500kb
|
|
236
|
|
- </div>
|
|
237
|
|
- </el-upload>
|
|
238
|
|
- </el-form-item>
|
|
239
|
|
- </el-col>
|
|
240
|
|
- <!-- 仅详情展示 -->
|
|
241
|
|
- <el-col :span="12">
|
|
242
|
|
- <el-form-item
|
|
243
|
|
- label="被申请人案件证据资料上传:"
|
|
244
|
|
- prop="respondentEvidence"
|
|
245
|
|
- >
|
|
246
|
|
- <el-upload
|
|
247
|
|
- class="upload-demo"
|
|
248
|
|
- action="https://jsonplaceholder.typicode.com/posts/"
|
|
249
|
|
- :on-preview="handlePreview"
|
|
250
|
|
- :on-remove="handleRemove"
|
|
251
|
|
- :before-remove="beforeRemove"
|
|
252
|
|
- multiple
|
|
253
|
|
- :limit="3"
|
|
254
|
|
- :on-exceed="handleExceed"
|
|
255
|
|
- :file-list="fileList"
|
|
256
|
|
- >
|
|
257
|
|
- <el-button size="small" type="primary">点击上传</el-button>
|
|
258
|
|
- <div slot="tip" class="el-upload__tip">
|
|
259
|
|
- 只能上传jpg/png文件,且不超过500kb
|
|
260
|
|
- </div>
|
|
261
|
|
- </el-upload>
|
|
262
|
|
- </el-form-item>
|
|
263
|
|
- </el-col>
|
|
264
|
|
- <!-- <el-col :span="12">
|
|
265
|
|
- <el-form-item label="缴费通知单:" prop="PaymentNotice">
|
|
266
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
267
|
|
- </el-form-item>
|
|
268
|
|
- </el-col> -->
|
|
269
|
|
- </el-row>
|
|
270
|
|
- </el-form>
|
|
271
|
|
- <el-form ref="form2" :model="form2" :rules="rules" label-width="150px">
|
|
272
|
|
- <p>主体信息:</p>
|
|
273
|
|
- <hr />
|
|
274
|
|
- <el-row>
|
|
275
|
|
- <el-col :span="12">
|
|
276
|
|
- <el-form-item label="主体身份类型:" prop="PaymentNotice">
|
|
277
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
278
|
|
- </el-form-item>
|
|
279
|
|
- </el-col>
|
|
280
|
|
- <el-col :span="12">
|
|
281
|
|
- <el-form-item label="申请人:" prop="PaymentNotice">
|
|
282
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
283
|
|
- </el-form-item>
|
|
284
|
|
- </el-col>
|
|
285
|
|
- <el-col :span="12">
|
|
286
|
|
- <el-form-item label="身份证号:" prop="PaymentNotice">
|
|
287
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
288
|
|
- </el-form-item>
|
|
289
|
|
- </el-col>
|
|
290
|
|
- <el-col :span="12">
|
|
291
|
|
- <el-form-item label="联系电话:" prop="PaymentNotice">
|
|
292
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
293
|
|
- </el-form-item>
|
|
294
|
|
- </el-col>
|
|
295
|
|
- <el-col :span="12">
|
|
296
|
|
- <el-form-item label="单位地址:" prop="PaymentNotice">
|
|
297
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
298
|
|
- </el-form-item>
|
|
299
|
|
- </el-col>
|
|
300
|
|
- <el-col :span="12">
|
|
301
|
|
- <el-form-item label="单位电话:" prop="PaymentNotice">
|
|
302
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
303
|
|
- </el-form-item>
|
|
304
|
|
- </el-col>
|
|
305
|
|
- <el-col :span="12">
|
|
306
|
|
- <el-form-item label="联系地址:" prop="PaymentNotice">
|
|
307
|
|
- <el-input v-model="form.PaymentNotice" placeholder="请输入" />
|
|
308
|
|
- </el-form-item>
|
|
309
|
|
- </el-col>
|
|
310
|
|
- </el-row>
|
|
311
|
|
- <p>代理人信息:</p>
|
|
312
|
|
- <el-row>
|
|
313
|
|
- <el-col :span="12">
|
|
314
|
|
- <el-form-item label="姓名:" prop="name">
|
|
315
|
|
- <el-input v-model="form.name" placeholder="请输入" />
|
|
316
|
|
- </el-form-item>
|
|
317
|
|
- </el-col>
|
|
318
|
|
- <el-col :span="12">
|
|
319
|
|
- <el-form-item label="身份证号:" prop="name">
|
|
320
|
|
- <el-input v-model="form.name" placeholder="请输入" />
|
|
321
|
|
- </el-form-item>
|
|
322
|
|
- </el-col>
|
|
323
|
|
- <el-col :span="12">
|
|
324
|
|
- <el-form-item label="联系电话:" prop="name">
|
|
325
|
|
- <el-input v-model="form.name" placeholder="请输入" />
|
|
326
|
|
- </el-form-item>
|
|
327
|
|
- </el-col>
|
|
328
|
|
- <el-col :span="12">
|
|
329
|
|
- <el-form-item label="联系地址:" prop="name">
|
|
330
|
|
- <el-input v-model="form.name" placeholder="请输入" />
|
|
331
|
|
- </el-form-item>
|
|
332
|
|
- </el-col>
|
|
333
|
|
- </el-row>
|
|
334
|
|
- <el-button @click="generateForm()">新增主体信息</el-button>
|
|
335
|
|
-
|
|
336
|
|
- <div id="formContainer"></div>
|
|
337
|
|
- </el-form>
|
|
338
|
|
- <div slot="footer" class="dialog-footer">
|
|
339
|
|
- <el-button type="primary" @click="submitForm">确 定</el-button>
|
|
340
|
|
- <el-button @click="cancel">取 消</el-button>
|
|
341
|
|
- </div>
|
|
342
|
|
- </el-dialog>
|
|
|
144
|
+ <caseentryDialog
|
|
|
145
|
+ :visible="visible"
|
|
|
146
|
+ @cancel="cancel"
|
|
|
147
|
+ :form="form"
|
|
|
148
|
+ :dialogtitle="dialogtitle"
|
|
|
149
|
+ :getcaseApply="getcaseApply"
|
|
|
150
|
+ :flag="flag"
|
|
|
151
|
+ :initpaymentArr="initpaymentArr"
|
|
|
152
|
+ :initpaymentArr1="initpaymentArr1"
|
|
|
153
|
+ ></caseentryDialog>
|
|
|
154
|
+ <!-- 批量申请弹框 openbatch-->
|
|
|
155
|
+ <batchDialog
|
|
|
156
|
+ :openbatch="openbatch"
|
|
|
157
|
+ @cancelBatch="cancelBatch"
|
|
|
158
|
+ :getcaseApply="getcaseApply"
|
|
|
159
|
+ ></batchDialog>
|
|
343
|
160
|
</div>
|
|
344
|
161
|
</template>
|
|
345
|
162
|
|
|
346
|
163
|
<script>
|
|
347
|
|
-import { list } from "@/api/caseAccess/caseEntry";
|
|
|
164
|
+import caseentryDialog from "./components/caseentryDialog";
|
|
|
165
|
+import batchDialog from "./components/batchDialog";
|
|
|
166
|
+import {
|
|
|
167
|
+ caseApply,
|
|
|
168
|
+ removeCaseApply,
|
|
|
169
|
+ submitCaseApply,
|
|
|
170
|
+ selectCaseApply
|
|
|
171
|
+} from "@/api/caseAccess/caseEntry";
|
|
348
|
172
|
export default {
|
|
349
|
173
|
name: "caseEntry",
|
|
|
174
|
+ dicts: ["sys_identity_type"],
|
|
|
175
|
+ components: {
|
|
|
176
|
+ caseentryDialog,
|
|
|
177
|
+ batchDialog
|
|
|
178
|
+ },
|
|
350
|
179
|
data() {
|
|
351
|
180
|
return {
|
|
352
|
181
|
// 遮罩层
|
|
353
|
182
|
loading: true,
|
|
354
|
183
|
// 总条数
|
|
355
|
184
|
total: 0,
|
|
|
185
|
+ isapply: "申请人:",
|
|
356
|
186
|
// 表格数据
|
|
357
|
|
- list: [],
|
|
358
|
|
- pageNum: 1,
|
|
359
|
|
- pageSize: 10,
|
|
|
187
|
+ dataList: [],
|
|
360
|
188
|
// 查询参数
|
|
361
|
189
|
queryParams: {
|
|
362
|
|
- caseNumber: undefined,
|
|
363
|
|
- applicant: undefined,
|
|
|
190
|
+ caseNum: undefined,
|
|
|
191
|
+ // applicant: undefined,
|
|
|
192
|
+ caseStatus: 0,
|
|
|
193
|
+ pageNum: 1,
|
|
|
194
|
+ pageSize: 10,
|
|
364
|
195
|
},
|
|
365
|
196
|
dialogtitle: "", //弹框标题
|
|
366
|
|
- openapply: false, //申请弹框控制
|
|
367
|
|
- form: {}, // 表单参数
|
|
368
|
|
- form2: {}, //主体信息
|
|
369
|
|
- // 表单校验
|
|
370
|
|
- rules: {
|
|
371
|
|
- caseNumber: [
|
|
372
|
|
- { required: true, message: "案件编号不能为空", trigger: "blur" },
|
|
373
|
|
- ],
|
|
374
|
|
- invokeTarget: [
|
|
375
|
|
- {
|
|
376
|
|
- required: true,
|
|
377
|
|
- message: "调用目标字符串不能为空",
|
|
378
|
|
- trigger: "blur",
|
|
379
|
|
- },
|
|
380
|
|
- ],
|
|
381
|
|
- cronExpression: [
|
|
382
|
|
- {
|
|
383
|
|
- required: true,
|
|
384
|
|
- message: "cron执行表达式不能为空",
|
|
385
|
|
- trigger: "blur",
|
|
386
|
|
- },
|
|
387
|
|
- ],
|
|
388
|
|
- },
|
|
|
197
|
+ visible: false, //申请弹框控制
|
|
|
198
|
+ form: {},
|
|
389
|
199
|
starttime: "", //开始时间
|
|
390
|
200
|
endtime: "", //结束时间
|
|
391
|
|
- fileList: [],
|
|
392
|
|
- paymentArr: [],
|
|
|
201
|
+ formData: {},
|
|
|
202
|
+ flag:"-1",
|
|
|
203
|
+ initpaymentArr:[],
|
|
|
204
|
+ initpaymentArr1:[],
|
|
|
205
|
+ // 批量申请弹框
|
|
|
206
|
+ openbatch: false,
|
|
393
|
207
|
};
|
|
394
|
208
|
},
|
|
395
|
209
|
created() {
|
|
396
|
|
- this.getList();
|
|
|
210
|
+ this.getcaseApply();
|
|
397
|
211
|
},
|
|
398
|
212
|
methods: {
|
|
399
|
|
- generateForm() {
|
|
400
|
|
- // var formContainer = document.getElementById("formContainer");
|
|
401
|
|
- // var form = document.createElement("form2");
|
|
402
|
|
- // form.setAttribute("method", "post");
|
|
403
|
|
- // form.setAttribute("action", "#");
|
|
404
|
|
-
|
|
405
|
|
- // var inputField = document.createElement("input");
|
|
406
|
|
- // inputField.setAttribute("type", "text");
|
|
407
|
|
- // inputField.setAttribute("name", "username");
|
|
408
|
|
- // inputField.setAttribute("placeholder", "用户名");
|
|
409
|
|
-
|
|
410
|
|
- // var passwordField = document.createElement("input");
|
|
411
|
|
- // passwordField.setAttribute("type", "password");
|
|
412
|
|
- // passwordField.setAttribute("name", "password");
|
|
413
|
|
- // passwordField.setAttribute("placeholder", "密码");
|
|
414
|
|
-
|
|
415
|
|
- // var submitButton = document.createElement("input");
|
|
416
|
|
- // submitButton.setAttribute("type", "submit");
|
|
417
|
|
- // submitButton.setAttribute("value", "提交");
|
|
418
|
|
-
|
|
419
|
|
- // form.appendChild(inputField);
|
|
420
|
|
- // form.appendChild(passwordField);
|
|
421
|
|
- // form.appendChild(submitButton);
|
|
422
|
|
-
|
|
423
|
|
- // formContainer.appendChild(form);
|
|
|
213
|
+ cancel() {
|
|
|
214
|
+ this.visible = false;
|
|
|
215
|
+ },
|
|
|
216
|
+ cancelBatch() {
|
|
|
217
|
+ this.openbatch = false
|
|
424
|
218
|
},
|
|
425
|
219
|
/** 查询登录日志列表 */
|
|
426
|
|
- getList() {
|
|
|
220
|
+ getcaseApply() {
|
|
427
|
221
|
this.loading = true;
|
|
428
|
|
- list(this.queryParams).then((response) => {
|
|
429
|
|
- this.list = response.rows;
|
|
|
222
|
+ caseApply(this.queryParams).then((response) => {
|
|
|
223
|
+ this.dataList = response.rows;
|
|
|
224
|
+ this.dataList.forEach((item) => {
|
|
|
225
|
+ item.caseStatus = item.caseStatus == 0 ? "立案申请" : "待缴费";
|
|
|
226
|
+ });
|
|
430
|
227
|
this.total = response.total;
|
|
431
|
228
|
this.loading = false;
|
|
432
|
229
|
});
|
|
433
|
230
|
},
|
|
434
|
231
|
/** 搜索按钮操作 */
|
|
435
|
232
|
handleQuery() {
|
|
436
|
|
- this.pageNum = 1;
|
|
437
|
|
- this.getList();
|
|
|
233
|
+ this.queryParams.pageNum = 1;
|
|
|
234
|
+ this.getcaseApply();
|
|
438
|
235
|
},
|
|
439
|
236
|
/** 重置按钮操作 */
|
|
440
|
237
|
resetQuery() {
|
|
|
@@ -443,47 +240,110 @@ export default {
|
|
443
|
240
|
},
|
|
444
|
241
|
// 立案申请
|
|
445
|
242
|
filingApplication() {
|
|
446
|
|
- this.openapply = true;
|
|
|
243
|
+ this.form = {};
|
|
|
244
|
+ this.paymentArr = [
|
|
|
245
|
+ {
|
|
|
246
|
+ identityType: 1,
|
|
|
247
|
+ name: "",
|
|
|
248
|
+ identityNum: "",
|
|
|
249
|
+ contactTelphone: "",
|
|
|
250
|
+ workAddress: "",
|
|
|
251
|
+ workTelphone: "",
|
|
|
252
|
+ contactAddress: "",
|
|
|
253
|
+ nameAgent: "",
|
|
|
254
|
+ contactTelphoneAgent: "",
|
|
|
255
|
+ contactAddressAgent: "",
|
|
|
256
|
+ },
|
|
|
257
|
+ ];
|
|
|
258
|
+ this.paymentArr1 = [
|
|
|
259
|
+ {
|
|
|
260
|
+ identityType: 2,
|
|
|
261
|
+ name: "",
|
|
|
262
|
+ identityNum: "",
|
|
|
263
|
+ contactTelphone: "",
|
|
|
264
|
+ workAddress: "",
|
|
|
265
|
+ workTelphone: "",
|
|
|
266
|
+ contactAddress: "",
|
|
|
267
|
+ nameAgent: "",
|
|
|
268
|
+ contactTelphoneAgent: "",
|
|
|
269
|
+ contactAddressAgent: "",
|
|
|
270
|
+ },
|
|
|
271
|
+ ]
|
|
|
272
|
+
|
|
|
273
|
+ this.visible = true;
|
|
447
|
274
|
this.dialogtitle = "立案申请";
|
|
|
275
|
+ this.flag = "2"
|
|
448
|
276
|
},
|
|
449
|
|
- // 提交立案申请
|
|
450
|
|
- submitForm() {},
|
|
451
|
|
- // 取消
|
|
452
|
|
- cancel() {
|
|
453
|
|
- this.openapply = false;
|
|
|
277
|
+ // 批量立案
|
|
|
278
|
+ batchApplication() {
|
|
|
279
|
+ this.openbatch = true
|
|
|
280
|
+ },
|
|
|
281
|
+ // 列表提交立案
|
|
|
282
|
+ onsubmitRow(row) {
|
|
|
283
|
+ this.$modal
|
|
|
284
|
+ .confirm("是否提交立案?")
|
|
|
285
|
+ .then(function () {
|
|
|
286
|
+ return submitCaseApply({ id: row.id });
|
|
|
287
|
+ })
|
|
|
288
|
+ .then(() => {
|
|
|
289
|
+ this.getcaseApply();
|
|
|
290
|
+ this.$modal.msgSuccess("立案成功");
|
|
|
291
|
+ })
|
|
|
292
|
+ .catch(() => {});
|
|
454
|
293
|
},
|
|
|
294
|
+
|
|
455
|
295
|
// 修改
|
|
456
|
|
- editRow() {},
|
|
457
|
|
- // 详情
|
|
458
|
|
- detailRow() {},
|
|
459
|
|
- handleRemove(file, fileList) {
|
|
460
|
|
- console.log(file, fileList);
|
|
|
296
|
+ editRow(row) {
|
|
|
297
|
+ this.flag = "1"
|
|
|
298
|
+ this.form = row;
|
|
|
299
|
+ this.visible = true;
|
|
|
300
|
+ this.dialogtitle = "立案修改";
|
|
|
301
|
+ this.getInfo(row);
|
|
461
|
302
|
},
|
|
462
|
|
- handlePreview(file) {
|
|
463
|
|
- console.log(file);
|
|
|
303
|
+ // 详情
|
|
|
304
|
+ detailRow(row) {
|
|
|
305
|
+ this.flag = "0"
|
|
|
306
|
+ this.form = row;
|
|
|
307
|
+ this.visible = true;
|
|
|
308
|
+ this.dialogtitle = "立案详情";
|
|
|
309
|
+ this.getInfo(row);
|
|
464
|
310
|
},
|
|
465
|
|
- handleExceed(files, fileList) {
|
|
466
|
|
- this.$message.warning(
|
|
467
|
|
- `当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${
|
|
468
|
|
- files.length + fileList.length
|
|
469
|
|
- } 个文件`
|
|
470
|
|
- );
|
|
|
311
|
+ // 查找主体信息数据
|
|
|
312
|
+ getInfo(row) {
|
|
|
313
|
+ const id = row.id;
|
|
|
314
|
+ selectCaseApply({ id }).then((res) => {
|
|
|
315
|
+ this.visible = true;
|
|
|
316
|
+ this.formData = res.data;
|
|
|
317
|
+ this.initpaymentArr = [];
|
|
|
318
|
+ this.initpaymentArr1 = [];
|
|
|
319
|
+ res.data.caseAffiliates.forEach((item) => {
|
|
|
320
|
+ if (item.identityType == 1) {
|
|
|
321
|
+ this.initpaymentArr.push(item);
|
|
|
322
|
+ } else {
|
|
|
323
|
+ this.initpaymentArr1.push(item);
|
|
|
324
|
+ }
|
|
|
325
|
+ });
|
|
|
326
|
+ });
|
|
471
|
327
|
},
|
|
472
|
|
- beforeRemove(file, fileList) {
|
|
473
|
|
- return this.$confirm(`确定移除 ${file.name}?`);
|
|
|
328
|
+ // 删除
|
|
|
329
|
+ deleteRow(row) {
|
|
|
330
|
+ // const id = row.id;
|
|
|
331
|
+ this.$modal
|
|
|
332
|
+ .confirm("是否确认删除?")
|
|
|
333
|
+ .then(function () {
|
|
|
334
|
+ return removeCaseApply({ id: row.id });
|
|
|
335
|
+ })
|
|
|
336
|
+ .then((res) => {
|
|
|
337
|
+ this.getcaseApply();
|
|
|
338
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
339
|
+ })
|
|
|
340
|
+ .catch(() => {});
|
|
474
|
341
|
},
|
|
475
|
|
-
|
|
476
|
|
-
|
|
477
|
342
|
},
|
|
478
|
343
|
};
|
|
479
|
344
|
</script>
|
|
480
|
345
|
|
|
481
|
346
|
<style lang="scss" scoped>
|
|
482
|
|
-::v-deep .el-dialog__body {
|
|
483
|
|
- height: 700px !important;
|
|
484
|
|
- overflow: auto !important;
|
|
485
|
|
-}
|
|
486
|
|
-#formContainer{
|
|
487
|
|
-
|
|
|
347
|
+#formContainer {
|
|
488
|
348
|
}
|
|
489
|
349
|
</style>
|