|
|
@@ -49,11 +49,7 @@
|
|
49
|
49
|
>
|
|
50
|
50
|
</el-col>
|
|
51
|
51
|
</el-row>
|
|
52
|
|
- <el-table
|
|
53
|
|
- v-loading="loading"
|
|
54
|
|
- :data="list.slice((pageNum - 1) * pageSize, pageNum * pageSize)"
|
|
55
|
|
- style="width: 100%"
|
|
56
|
|
- >
|
|
|
52
|
+ <el-table v-loading="loading" :data="dataList" style="width: 100%">
|
|
57
|
53
|
<el-table-column label="序号" type="index" align="center">
|
|
58
|
54
|
<template slot-scope="scope">
|
|
59
|
55
|
<span>{{ (pageNum - 1) * pageSize + scope.$index + 1 }}</span>
|
|
|
@@ -78,7 +74,7 @@
|
|
78
|
74
|
prop="filingDate"
|
|
79
|
75
|
:show-overflow-tooltip="true"
|
|
80
|
76
|
/>
|
|
81
|
|
- <el-table-column label="仲裁方式" align="center" prop="ArbitrateMethod" />
|
|
|
77
|
+ <!-- <el-table-column label="仲裁方式" align="center" prop="ArbitrateMethod" /> -->
|
|
82
|
78
|
<el-table-column label="案件状态" align="center" prop="caseStatus" />
|
|
83
|
79
|
<el-table-column
|
|
84
|
80
|
label="操作"
|
|
|
@@ -102,6 +98,14 @@
|
|
102
|
98
|
v-hasPermi="['monitor:online:forceLogout']"
|
|
103
|
99
|
>详情</el-button
|
|
104
|
100
|
>
|
|
|
101
|
+ <el-button
|
|
|
102
|
+ size="mini"
|
|
|
103
|
+ type="text"
|
|
|
104
|
+ icon="el-icon-delete"
|
|
|
105
|
+ @click="deleteRow(scope.row)"
|
|
|
106
|
+ v-hasPermi="['monitor:online:forceLogout']"
|
|
|
107
|
+ >删除</el-button
|
|
|
108
|
+ >
|
|
105
|
109
|
</template>
|
|
106
|
110
|
</el-table-column>
|
|
107
|
111
|
</el-table>
|
|
|
@@ -269,72 +273,96 @@
|
|
269
|
273
|
</el-row>
|
|
270
|
274
|
</el-form>
|
|
271
|
275
|
<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>
|
|
|
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> -->
|
|
337
|
364
|
</el-form>
|
|
|
365
|
+ <el-button type="primary" plain @click="generateForm()">新增主体信息</el-button>
|
|
338
|
366
|
<div slot="footer" class="dialog-footer">
|
|
339
|
367
|
<el-button type="primary" @click="submitForm">确 定</el-button>
|
|
340
|
368
|
<el-button @click="cancel">取 消</el-button>
|
|
|
@@ -354,7 +382,7 @@ export default {
|
|
354
|
382
|
// 总条数
|
|
355
|
383
|
total: 0,
|
|
356
|
384
|
// 表格数据
|
|
357
|
|
- list: [],
|
|
|
385
|
+ dataList: [],
|
|
358
|
386
|
pageNum: 1,
|
|
359
|
387
|
pageSize: 10,
|
|
360
|
388
|
// 查询参数
|
|
|
@@ -389,47 +417,60 @@ export default {
|
|
389
|
417
|
starttime: "", //开始时间
|
|
390
|
418
|
endtime: "", //结束时间
|
|
391
|
419
|
fileList: [],
|
|
392
|
|
- paymentArr: [],
|
|
|
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
|
+ ],
|
|
393
|
434
|
};
|
|
394
|
435
|
},
|
|
395
|
436
|
created() {
|
|
396
|
437
|
this.getList();
|
|
397
|
438
|
},
|
|
398
|
439
|
methods: {
|
|
|
440
|
+ // 新增主体信息
|
|
399
|
441
|
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);
|
|
|
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
|
+ });
|
|
424
|
454
|
},
|
|
425
|
455
|
/** 查询登录日志列表 */
|
|
426
|
456
|
getList() {
|
|
427
|
|
- this.loading = true;
|
|
428
|
|
- list(this.queryParams).then((response) => {
|
|
429
|
|
- this.list = response.rows;
|
|
430
|
|
- this.total = response.total;
|
|
431
|
|
- this.loading = false;
|
|
432
|
|
- });
|
|
|
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
|
+ // });
|
|
433
|
474
|
},
|
|
434
|
475
|
/** 搜索按钮操作 */
|
|
435
|
476
|
handleQuery() {
|
|
|
@@ -453,9 +494,27 @@ export default {
|
|
453
|
494
|
this.openapply = false;
|
|
454
|
495
|
},
|
|
455
|
496
|
// 修改
|
|
456
|
|
- editRow() {},
|
|
|
497
|
+ editRow(row) {
|
|
|
498
|
+ this.openapply = true;
|
|
|
499
|
+ this.dialogtitle = "立案修改";
|
|
|
500
|
+ },
|
|
457
|
501
|
// 详情
|
|
458
|
|
- detailRow() {},
|
|
|
502
|
+ detailRow(row) {
|
|
|
503
|
+ this.openapply = true;
|
|
|
504
|
+ this.dialogtitle = "立案详情";
|
|
|
505
|
+ },
|
|
|
506
|
+ // 删除
|
|
|
507
|
+ deleteRow(row) {
|
|
|
508
|
+ // const id = row.id;
|
|
|
509
|
+ this.$modal
|
|
|
510
|
+ .confirm("是否确认删除?")
|
|
|
511
|
+ .then()
|
|
|
512
|
+ .then(() => {
|
|
|
513
|
+ // this.getList();
|
|
|
514
|
+ this.$modal.msgSuccess("删除成功");
|
|
|
515
|
+ })
|
|
|
516
|
+ .catch(() => {});
|
|
|
517
|
+ },
|
|
459
|
518
|
handleRemove(file, fileList) {
|
|
460
|
519
|
console.log(file, fileList);
|
|
461
|
520
|
},
|
|
|
@@ -472,8 +531,10 @@ export default {
|
|
472
|
531
|
beforeRemove(file, fileList) {
|
|
473
|
532
|
return this.$confirm(`确定移除 ${file.name}?`);
|
|
474
|
533
|
},
|
|
475
|
|
-
|
|
476
|
|
-
|
|
|
534
|
+ // 删除主体信息
|
|
|
535
|
+ deleteData(index) {
|
|
|
536
|
+ this.paymentArr.splice(index,1)
|
|
|
537
|
+ }
|
|
477
|
538
|
},
|
|
478
|
539
|
};
|
|
479
|
540
|
</script>
|
|
|
@@ -483,7 +544,7 @@ export default {
|
|
483
|
544
|
height: 700px !important;
|
|
484
|
545
|
overflow: auto !important;
|
|
485
|
546
|
}
|
|
486
|
|
-#formContainer{
|
|
487
|
|
-
|
|
|
547
|
+#formContainer {
|
|
|
548
|
+
|
|
488
|
549
|
}
|
|
489
|
550
|
</style>
|