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