|
@@ -6,7 +6,13 @@
|
6
|
6
|
<el-row>
|
7
|
7
|
<el-col :span="8">
|
8
|
8
|
<el-form-item label="车场名称: ">
|
9
|
|
- <el-input v-model="formInline1.carParkingName" placeholder="请输入"></el-input>
|
|
9
|
+ <el-select clearable v-model="formInline1.parkName" placeholder="请选择">
|
|
10
|
+ <el-option
|
|
11
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
12
|
+ :key="index"
|
|
13
|
+ :label="item.carParkName"
|
|
14
|
+ :value="item.carParkName" />
|
|
15
|
+ </el-select>
|
10
|
16
|
</el-form-item>
|
11
|
17
|
</el-col>
|
12
|
18
|
<el-col :span="8">
|
|
@@ -46,16 +52,32 @@
|
46
|
52
|
<div class="form-div">
|
47
|
53
|
<el-form label-position="left" label-width="100px" :model="formLabelAlign">
|
48
|
54
|
<el-form-item label="车场名称">
|
49
|
|
- <el-input v-model="formLabelAlign.carParkingName"></el-input>
|
|
55
|
+ <el-select v-model="formLabelAlign.parkName" placeholder="请选择">
|
|
56
|
+ <el-option
|
|
57
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
58
|
+ :key="index"
|
|
59
|
+ :label="item.carParkName"
|
|
60
|
+ :value="item.carParkName" />
|
|
61
|
+ </el-select>
|
50
|
62
|
</el-form-item>
|
51
|
63
|
<el-form-item label="入场时间">
|
52
|
|
- <el-input v-model="formLabelAlign.inTime"></el-input>
|
|
64
|
+ <el-time-picker
|
|
65
|
+ v-model="formLabelAlign.inTime"
|
|
66
|
+ :picker-options="{selectableRange: '0:00:00 - 23:59:59'}"
|
|
67
|
+ value-format='HH:mm:ss'
|
|
68
|
+ placeholder="选择时间">
|
|
69
|
+ </el-time-picker>
|
53
|
70
|
</el-form-item>
|
54
|
71
|
<el-form-item label="离场时间">
|
55
|
|
- <el-input v-model="formLabelAlign.outTime"></el-input>
|
|
72
|
+ <el-time-picker
|
|
73
|
+ v-model="formLabelAlign.outTime"
|
|
74
|
+ :picker-options="{selectableRange: '12:00:00 - 23:59:59'}"
|
|
75
|
+ value-format='HH:mm:ss'
|
|
76
|
+ placeholder="选择时间">
|
|
77
|
+ </el-time-picker>
|
56
|
78
|
</el-form-item>
|
57
|
79
|
<el-form-item label="停车场管理员">
|
58
|
|
- <el-input v-model="formLabelAlign.parkAdmin"></el-input>
|
|
80
|
+ <el-input v-model="formLabelAlign.managerName"></el-input>
|
59
|
81
|
</el-form-item>
|
60
|
82
|
</el-form>
|
61
|
83
|
</div>
|
|
@@ -70,7 +92,13 @@
|
70
|
92
|
<el-row>
|
71
|
93
|
<el-col :span="8">
|
72
|
94
|
<el-form-item label="车场名称: ">
|
73
|
|
- <el-input v-model="formInline2.carParkingName" placeholder="请输入"></el-input>
|
|
95
|
+ <el-select clearable v-model="formInline2.parkLotId" placeholder="请选择">
|
|
96
|
+ <el-option
|
|
97
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
98
|
+ :key="index"
|
|
99
|
+ :label="item.carParkName"
|
|
100
|
+ :value="item.parkId" />
|
|
101
|
+ </el-select>
|
74
|
102
|
</el-form-item>
|
75
|
103
|
</el-col>
|
76
|
104
|
<el-col :span="6">
|
|
@@ -110,16 +138,22 @@
|
110
|
138
|
<div class="form-div">
|
111
|
139
|
<el-form label-position="left" label-width="110px" :model="formLabelAlign2">
|
112
|
140
|
<el-form-item label="车场名称">
|
113
|
|
- <el-input v-model="formLabelAlign2.carParkingName"></el-input>
|
|
141
|
+ <el-select v-model="formLabelAlign2.parkLotId" placeholder="请选择">
|
|
142
|
+ <el-option
|
|
143
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
144
|
+ :key="index"
|
|
145
|
+ :label="item.carParkName"
|
|
146
|
+ :value="item.parkId" />
|
|
147
|
+ </el-select>
|
114
|
148
|
</el-form-item>
|
115
|
149
|
<el-form-item label="计费方式">
|
116
|
|
- <el-input v-model="formLabelAlign2.billingMode"></el-input>
|
|
150
|
+ <el-input v-model="formLabelAlign2.billingMethod"></el-input>
|
117
|
151
|
</el-form-item>
|
118
|
152
|
<el-form-item label="收费标准(元/h)">
|
119
|
|
- <el-input v-model="formLabelAlign2.chargeStandard"></el-input>
|
|
153
|
+ <el-input v-model="formLabelAlign2.chargingStandard"></el-input>
|
120
|
154
|
</el-form-item>
|
121
|
155
|
<el-form-item label="收费方式">
|
122
|
|
- <el-input v-model="formLabelAlign2.chargeMethod"></el-input>
|
|
156
|
+ <el-input v-model="formLabelAlign2.chargingMethod"></el-input>
|
123
|
157
|
</el-form-item>
|
124
|
158
|
</el-form>
|
125
|
159
|
</div>
|
|
@@ -134,7 +168,13 @@
|
134
|
168
|
<el-row>
|
135
|
169
|
<el-col :span="8">
|
136
|
170
|
<el-form-item label="车场名称:">
|
137
|
|
- <el-input v-model="formInline3.carParkingName" placeholder="请输入"></el-input>
|
|
171
|
+ <el-select clearable v-model="formInline3.parkLotId" placeholder="请选择">
|
|
172
|
+ <el-option
|
|
173
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
174
|
+ :key="index"
|
|
175
|
+ :label="item.carParkName"
|
|
176
|
+ :value="item.parkId" />
|
|
177
|
+ </el-select>
|
138
|
178
|
</el-form-item>
|
139
|
179
|
</el-col>
|
140
|
180
|
<el-col :span="8">
|
|
@@ -175,22 +215,28 @@
|
175
|
215
|
<div class="form-div">
|
176
|
216
|
<el-form label-position="left" label-width="100px" :model="formLabelAlign3">
|
177
|
217
|
<el-form-item label="车场名称">
|
178
|
|
- <el-input v-model="formLabelAlign3.carParkingName"></el-input>
|
|
218
|
+ <el-select v-model="formLabelAlign3.parkLotId" placeholder="请选择">
|
|
219
|
+ <el-option
|
|
220
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
221
|
+ :key="index"
|
|
222
|
+ :label="item.carParkName"
|
|
223
|
+ :value="item.parkId" />
|
|
224
|
+ </el-select>
|
179
|
225
|
</el-form-item>
|
180
|
226
|
<el-form-item label="欠费期限(h)">
|
181
|
|
- <el-input v-model="formLabelAlign3.arrears"></el-input>
|
|
227
|
+ <el-input v-model="formLabelAlign3.paymentLimit"></el-input>
|
182
|
228
|
</el-form-item>
|
183
|
229
|
<el-form-item label="逾期费用">
|
184
|
|
- <el-input v-model="formLabelAlign3.overdueCharge"></el-input>
|
|
230
|
+ <el-input v-model="formLabelAlign3.chargingStandard"></el-input>
|
185
|
231
|
</el-form-item>
|
186
|
232
|
<el-form-item label="支付方式">
|
187
|
233
|
<el-input v-model="formLabelAlign3.paymentMethod"></el-input>
|
188
|
234
|
</el-form-item>
|
189
|
235
|
<el-form-item label="通知方式">
|
190
|
|
- <el-input v-model="formLabelAlign3.notificationMode"></el-input>
|
|
236
|
+ <el-input v-model="formLabelAlign3.notificationMethod"></el-input>
|
191
|
237
|
</el-form-item>
|
192
|
238
|
<el-form-item label="处理措施">
|
193
|
|
- <el-input v-model="formLabelAlign3.treatmentMeasure"></el-input>
|
|
239
|
+ <el-input v-model="formLabelAlign3.handlingMeasures"></el-input>
|
194
|
240
|
</el-form-item>
|
195
|
241
|
</el-form>
|
196
|
242
|
</div>
|
|
@@ -205,7 +251,13 @@
|
205
|
251
|
<el-row>
|
206
|
252
|
<el-col :span="8">
|
207
|
253
|
<el-form-item label="车场名称:">
|
208
|
|
- <el-input v-model="formInline4.carParkingName" placeholder="请输入"></el-input>
|
|
254
|
+ <el-select clearable v-model="formInline4.parkLotId" placeholder="请选择">
|
|
255
|
+ <el-option
|
|
256
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
257
|
+ :key="index"
|
|
258
|
+ :label="item.carParkName"
|
|
259
|
+ :value="item.parkId" />
|
|
260
|
+ </el-select>
|
209
|
261
|
</el-form-item>
|
210
|
262
|
</el-col>
|
211
|
263
|
<el-col :span="8">
|
|
@@ -246,22 +298,28 @@
|
246
|
298
|
<div class="form-div">
|
247
|
299
|
<el-form label-position="left" label-width="100px" :model="formLabelAlign4">
|
248
|
300
|
<el-form-item label="车场名称">
|
249
|
|
- <el-input v-model="formLabelAlign4.carParkingName"></el-input>
|
|
301
|
+ <el-select v-model="formLabelAlign4.parkLotId" placeholder="请选择">
|
|
302
|
+ <el-option
|
|
303
|
+ v-for="(item,index) in carParkingNameOptions"
|
|
304
|
+ :key="index"
|
|
305
|
+ :label="item.carParkName"
|
|
306
|
+ :value="item.parkId" />
|
|
307
|
+ </el-select>
|
250
|
308
|
</el-form-item>
|
251
|
309
|
<el-form-item label="标识通知">
|
252
|
|
- <el-input v-model="formLabelAlign4.identificationNotice"></el-input>
|
|
310
|
+ <el-input v-model="formLabelAlign4.identificationNotification"></el-input>
|
253
|
311
|
</el-form-item>
|
254
|
312
|
<el-form-item label="跟踪通知">
|
255
|
|
- <el-input v-model="formLabelAlign4.traceNotification"></el-input>
|
|
313
|
+ <el-input v-model="formLabelAlign4.trackingNotifications"></el-input>
|
256
|
314
|
</el-form-item>
|
257
|
315
|
<el-form-item label="公告">
|
258
|
316
|
<el-input v-model="formLabelAlign4.announcement"></el-input>
|
259
|
317
|
</el-form-item>
|
260
|
318
|
<el-form-item label="最终处理">
|
261
|
|
- <el-input v-model="formLabelAlign4.finalTreatment"></el-input>
|
|
319
|
+ <el-input v-model="formLabelAlign4.finalProcessing"></el-input>
|
262
|
320
|
</el-form-item>
|
263
|
321
|
<el-form-item label="法律程序">
|
264
|
|
- <el-input v-model="formLabelAlign4.legalProcedure"></el-input>
|
|
322
|
+ <el-input v-model="formLabelAlign4.legalProceedings"></el-input>
|
265
|
323
|
</el-form-item>
|
266
|
324
|
</el-form>
|
267
|
325
|
</div>
|
|
@@ -277,6 +335,7 @@
|
277
|
335
|
<script>
|
278
|
336
|
import api from "@/api/audit.js";
|
279
|
337
|
import dictionary from "@/util/dictionary";
|
|
338
|
+import api_z from "@/api/article_z.js";
|
280
|
339
|
|
281
|
340
|
export default {
|
282
|
341
|
components: {},
|
|
@@ -286,7 +345,7 @@ export default {
|
286
|
345
|
columns1: [
|
287
|
346
|
{
|
288
|
347
|
label: '车场名称',
|
289
|
|
- key: 'carParkingName'
|
|
348
|
+ key: 'parkName'
|
290
|
349
|
},
|
291
|
350
|
{
|
292
|
351
|
label: '入场时间',
|
|
@@ -298,71 +357,73 @@ export default {
|
298
|
357
|
},
|
299
|
358
|
{
|
300
|
359
|
label: '停车场管理员',
|
301
|
|
- key: 'parkAdmin'
|
|
360
|
+ key: 'managerName'
|
302
|
361
|
},
|
303
|
362
|
],
|
304
|
|
- tableData1: [{carParkingName: 'sasa'}],
|
|
363
|
+ carParkingNameValue: '',
|
|
364
|
+ carParkingNameOptions: [],
|
|
365
|
+ tableData1: [{parkName: 'sasa'}],
|
305
|
366
|
total1: 0,
|
306
|
367
|
pageSize1: 10,
|
307
|
368
|
pageNum1: 1,
|
308
|
369
|
formInline1: {
|
309
|
|
- carParkingName: '',
|
|
370
|
+ parkName: '',
|
310
|
371
|
},
|
311
|
372
|
title: '',
|
312
|
373
|
dialogVisible: false,
|
313
|
374
|
formLabelAlign: {
|
314
|
375
|
id: '',
|
315
|
|
- carParkingName: '',
|
|
376
|
+ parkName: '',
|
316
|
377
|
inTime: '',
|
317
|
378
|
outTime: '',
|
318
|
|
- parkAdmin: '',
|
|
379
|
+ managerName: '',
|
319
|
380
|
},
|
320
|
381
|
columns2: [
|
321
|
382
|
{
|
322
|
383
|
label: '车场名称',
|
323
|
|
- key: 'carParkingName'
|
|
384
|
+ key: 'parkLotId'
|
324
|
385
|
},
|
325
|
386
|
{
|
326
|
387
|
label: '计费方式',
|
327
|
|
- key: 'billingMode'
|
|
388
|
+ key: 'billingMethod'
|
328
|
389
|
},
|
329
|
390
|
{
|
330
|
391
|
label: '收费标准(元/h)',
|
331
|
|
- key: 'chargeStandard'
|
|
392
|
+ key: 'chargingStandard'
|
332
|
393
|
},
|
333
|
394
|
{
|
334
|
395
|
label: '收费方式',
|
335
|
|
- key: 'chargeMethod'
|
|
396
|
+ key: 'chargingMethod'
|
336
|
397
|
},
|
337
|
398
|
],
|
338
|
|
- tableData2: [{carParkingName: 'sasa1'}],
|
|
399
|
+ tableData2: [{parkLotId: 'sasa1'}],
|
339
|
400
|
total2: 0,
|
340
|
401
|
pageSize2: 10,
|
341
|
402
|
pageNum2: 1,
|
342
|
403
|
formInline2: {
|
343
|
|
- carParkingName: '',
|
|
404
|
+ parkLotId: '',
|
344
|
405
|
},
|
345
|
406
|
title2: '',
|
346
|
407
|
dialogVisible2: false,
|
347
|
408
|
formLabelAlign2: {
|
348
|
409
|
id: '',
|
349
|
|
- carParkingName: '',
|
350
|
|
- billingMode: '',
|
351
|
|
- chargeStandard: '',
|
352
|
|
- chargeMethod: '',
|
|
410
|
+ parkLotId: '',
|
|
411
|
+ billingMethod: '',
|
|
412
|
+ chargingStandard: '',
|
|
413
|
+ chargingMethod: '',
|
353
|
414
|
},
|
354
|
415
|
columns3: [
|
355
|
416
|
{
|
356
|
417
|
label: '停车场名称',
|
357
|
|
- key: 'carParkingName'
|
|
418
|
+ key: 'parkLotId'
|
358
|
419
|
},
|
359
|
420
|
{
|
360
|
421
|
label: '欠费期限(h)',
|
361
|
|
- key: 'arrears'
|
|
422
|
+ key: 'paymentLimit'
|
362
|
423
|
},
|
363
|
424
|
{
|
364
|
425
|
label: '逾期费用',
|
365
|
|
- key: 'overdueCharge'
|
|
426
|
+ key: 'chargingStandard'
|
366
|
427
|
},
|
367
|
428
|
{
|
368
|
429
|
label: '支付方式',
|
|
@@ -370,43 +431,43 @@ export default {
|
370
|
431
|
},
|
371
|
432
|
{
|
372
|
433
|
label: '通知方式',
|
373
|
|
- key: 'notificationMode'
|
|
434
|
+ key: 'notificationMethod'
|
374
|
435
|
},
|
375
|
436
|
{
|
376
|
437
|
label: '处理措施',
|
377
|
|
- key: 'treatmentMeasure'
|
|
438
|
+ key: 'handlingMeasures'
|
378
|
439
|
},
|
379
|
440
|
],
|
380
|
|
- tableData3: [{carParkingName: 'sasa111'}],
|
|
441
|
+ tableData3: [{parkLotId: 'sasa111'}],
|
381
|
442
|
total3: 0,
|
382
|
443
|
pageSize3: 10,
|
383
|
444
|
pageNum3: 1,
|
384
|
445
|
formInline3: {
|
385
|
|
- carParkingName: ''
|
|
446
|
+ parkLotId: ''
|
386
|
447
|
},
|
387
|
448
|
title3: '',
|
388
|
449
|
dialogVisible3: false,
|
389
|
450
|
formLabelAlign3: {
|
390
|
451
|
id: '',
|
391
|
|
- carParkingName: '',
|
392
|
|
- arrears: '',
|
393
|
|
- overdueCharge: '',
|
|
452
|
+ parkLotId: '',
|
|
453
|
+ paymentLimit: '',
|
|
454
|
+ chargingStandard: '',
|
394
|
455
|
paymentMethod: '',
|
395
|
|
- notificationMode: '',
|
396
|
|
- treatmentMeasure: '',
|
|
456
|
+ notificationMethod: '',
|
|
457
|
+ handlingMeasures: '',
|
397
|
458
|
},
|
398
|
459
|
columns4: [
|
399
|
460
|
{
|
400
|
461
|
label: '停车场名称',
|
401
|
|
- key: 'carParkingName'
|
|
462
|
+ key: 'parkLotId'
|
402
|
463
|
},
|
403
|
464
|
{
|
404
|
465
|
label: '标识通知',
|
405
|
|
- key: 'identificationNotice'
|
|
466
|
+ key: 'identificationNotification'
|
406
|
467
|
},
|
407
|
468
|
{
|
408
|
469
|
label: '跟踪通知',
|
409
|
|
- key: 'traceNotification'
|
|
470
|
+ key: 'trackingNotifications'
|
410
|
471
|
},
|
411
|
472
|
{
|
412
|
473
|
label: '公告',
|
|
@@ -414,38 +475,39 @@ export default {
|
414
|
475
|
},
|
415
|
476
|
{
|
416
|
477
|
label: '最终处理',
|
417
|
|
- key: 'finalTreatment'
|
|
478
|
+ key: 'finalProcessing'
|
418
|
479
|
},
|
419
|
480
|
{
|
420
|
481
|
label: '法律程序',
|
421
|
|
- key: 'legalProcedure'
|
|
482
|
+ key: 'legalProceedings'
|
422
|
483
|
},
|
423
|
484
|
],
|
424
|
|
- tableData4: [{carParkingName: 'sasa1111'}],
|
|
485
|
+ tableData4: [{parkLotId: 'sasa1111'}],
|
425
|
486
|
total4: 0,
|
426
|
487
|
pageSize4: 10,
|
427
|
488
|
pageNum4: 1,
|
428
|
489
|
formInline4: {
|
429
|
|
- carParkingName: ''
|
|
490
|
+ parkLotId: ''
|
430
|
491
|
},
|
431
|
492
|
title4: '',
|
432
|
493
|
dialogVisible4: false,
|
433
|
494
|
formLabelAlign4: {
|
434
|
495
|
id: '',
|
435
|
|
- carParkingName: '',
|
436
|
|
- identificationNotice: '',
|
437
|
|
- traceNotification: '',
|
|
496
|
+ parkLotId: '',
|
|
497
|
+ identificationNotification: '',
|
|
498
|
+ trackingNotifications: '',
|
438
|
499
|
announcement: '',
|
439
|
|
- finalTreatment: '',
|
440
|
|
- legalProcedure: '',
|
|
500
|
+ finalProcessing: '',
|
|
501
|
+ legalProceedings: '',
|
441
|
502
|
},
|
442
|
503
|
}
|
443
|
504
|
},
|
444
|
505
|
mounted() {
|
445
|
|
- // this.getTableData1()
|
446
|
|
- // this.getTableData2()
|
447
|
|
- // this.getTableData3()
|
448
|
|
- // this.getTableData4()
|
|
506
|
+ this.getTableData1()
|
|
507
|
+ this.getCarParkingName()
|
|
508
|
+ this.getTableData2()
|
|
509
|
+ this.getTableData3()
|
|
510
|
+ this.getTableData4()
|
449
|
511
|
},
|
450
|
512
|
watch: {},
|
451
|
513
|
methods: {
|
|
@@ -455,10 +517,7 @@ export default {
|
455
|
517
|
},
|
456
|
518
|
handleAdd() {
|
457
|
519
|
this.title = '添加车场'
|
458
|
|
- this.formLabelAlign.carParkingName = ''
|
459
|
|
- this.formLabelAlign.inTime = ''
|
460
|
|
- this.formLabelAlign.outTime = ''
|
461
|
|
- this.formLabelAlign.parkAdmin = ''
|
|
520
|
+ this.formLabelAlign = {}
|
462
|
521
|
this.dialogVisible = true
|
463
|
522
|
},
|
464
|
523
|
handleEdit(row) {
|
|
@@ -467,7 +526,7 @@ export default {
|
467
|
526
|
this.dialogVisible = true
|
468
|
527
|
},
|
469
|
528
|
deleteRow(record) {
|
470
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
529
|
+ api_z.deleteParkingLot([{id: record.id}]).then(res => {
|
471
|
530
|
if (res.code === 200) {
|
472
|
531
|
this.$message({type: 'success', message: '删除成功!'})
|
473
|
532
|
this.getTableData1()
|
|
@@ -476,7 +535,7 @@ export default {
|
476
|
535
|
},
|
477
|
536
|
handleConfirm() {
|
478
|
537
|
if (this.title === '修改车场') {
|
479
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign.ipAddr, id: this.formLabelAlign.id}).then(res => {
|
|
538
|
+ api_z.editParkingLot({...this.formLabelAlign}).then(res => {
|
480
|
539
|
if (res.code === 200) {
|
481
|
540
|
this.dialogVisible = false
|
482
|
541
|
this.$message({
|
|
@@ -487,7 +546,7 @@ export default {
|
487
|
546
|
}
|
488
|
547
|
})
|
489
|
548
|
} else {
|
490
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign.ipAddr}).then(res => {
|
|
549
|
+ api_z.addParkingLot({...this.formLabelAlign}).then(res => {
|
491
|
550
|
if (res.code === 200) {
|
492
|
551
|
this.dialogVisible = false
|
493
|
552
|
this.$message({
|
|
@@ -499,16 +558,20 @@ export default {
|
499
|
558
|
})
|
500
|
559
|
}
|
501
|
560
|
},
|
|
561
|
+
|
|
562
|
+ //车场
|
|
563
|
+ getCarParkingName() {
|
|
564
|
+ api_z.querySelectParkListByPage().then(res => {
|
|
565
|
+ this.carParkingNameOptions=res.data
|
|
566
|
+ })
|
|
567
|
+ },
|
502
|
568
|
onSubmit2() {
|
503
|
569
|
this.pageNum2 = 1
|
504
|
570
|
this.getTableData2()
|
505
|
571
|
},
|
506
|
572
|
handleAdd2() {
|
507
|
573
|
this.title2 = '添加'
|
508
|
|
- this.formLabelAlign2.carParkingName = ''
|
509
|
|
- this.formLabelAlign2.billingMode = ''
|
510
|
|
- this.formLabelAlign2.chargeStandard = ''
|
511
|
|
- this.formLabelAlign2.chargeMethod = ''
|
|
574
|
+ this.formLabelAlign2 = {}
|
512
|
575
|
this.dialogVisible2 = true
|
513
|
576
|
},
|
514
|
577
|
|
|
@@ -518,7 +581,7 @@ export default {
|
518
|
581
|
this.dialogVisible2 = true
|
519
|
582
|
},
|
520
|
583
|
deleteRow2(record) {
|
521
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
584
|
+ api_z.deleteParkingCharging([{id: record.id}]).then(res => {
|
522
|
585
|
if (res.code === 200) {
|
523
|
586
|
this.$message({type: 'success', message: '删除成功!'})
|
524
|
587
|
this.getTableData2()
|
|
@@ -527,7 +590,7 @@ export default {
|
527
|
590
|
},
|
528
|
591
|
handleConfirm2() {
|
529
|
592
|
if (this.title2 === '修改') {
|
530
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign2.ipAddr, id: this.formLabelAlign2.id}).then(res => {
|
|
593
|
+ api_z.editParkingCharging({...this.formLabelAlign2}).then(res => {
|
531
|
594
|
if (res.code === 200) {
|
532
|
595
|
this.dialogVisible2 = false
|
533
|
596
|
this.$message({
|
|
@@ -538,7 +601,7 @@ export default {
|
538
|
601
|
}
|
539
|
602
|
})
|
540
|
603
|
} else {
|
541
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign2.ipAddr}).then(res => {
|
|
604
|
+ api_z.addParkingCharging({...this.formLabelAlign2}).then(res => {
|
542
|
605
|
if (res.code === 200) {
|
543
|
606
|
this.dialogVisible2 = false
|
544
|
607
|
this.$message({
|
|
@@ -556,12 +619,7 @@ export default {
|
556
|
619
|
},
|
557
|
620
|
handleAdd3() {
|
558
|
621
|
this.title3 = '添加'
|
559
|
|
- this.formLabelAlign3.carParkingName = ''
|
560
|
|
- this.formLabelAlign3.arrears = ''
|
561
|
|
- this.formLabelAlign3.overdueCharge = ''
|
562
|
|
- this.formLabelAlign3.paymentMethod = ''
|
563
|
|
- this.formLabelAlign3.notificationMode = ''
|
564
|
|
- this.formLabelAlign3.treatmentMeasure = ''
|
|
622
|
+ this.formLabelAlign3 = {}
|
565
|
623
|
this.dialogVisible3 = true
|
566
|
624
|
},
|
567
|
625
|
|
|
@@ -571,7 +629,7 @@ export default {
|
571
|
629
|
this.dialogVisible3 = true
|
572
|
630
|
},
|
573
|
631
|
deleteRow3(record) {
|
574
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
632
|
+ api_z.deleteParkingArrear([{id: record.id}]).then(res => {
|
575
|
633
|
if (res.code === 200) {
|
576
|
634
|
this.$message({type: 'success', message: '删除成功!'})
|
577
|
635
|
this.getTableData3()
|
|
@@ -580,7 +638,7 @@ export default {
|
580
|
638
|
},
|
581
|
639
|
handleConfirm3() {
|
582
|
640
|
if (this.title3 === '修改') {
|
583
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign3.ipAddr, id: this.formLabelAlign3.id}).then(res => {
|
|
641
|
+ api_z.editParkingArrear({...this.formLabelAlign3}).then(res => {
|
584
|
642
|
if (res.code === 200) {
|
585
|
643
|
this.dialogVisible3 = false
|
586
|
644
|
this.$message({
|
|
@@ -591,7 +649,7 @@ export default {
|
591
|
649
|
}
|
592
|
650
|
})
|
593
|
651
|
} else {
|
594
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign3.ipAddr}).then(res => {
|
|
652
|
+ api_z.addParkingArrear({...this.formLabelAlign3}).then(res => {
|
595
|
653
|
if (res.code === 200) {
|
596
|
654
|
this.dialogVisible3 = false
|
597
|
655
|
this.$message({
|
|
@@ -609,12 +667,7 @@ export default {
|
609
|
667
|
},
|
610
|
668
|
handleAdd4() {
|
611
|
669
|
this.title4 = '添加'
|
612
|
|
- this.formLabelAlign4.carParkingName = ''
|
613
|
|
- this.formLabelAlign4.identificationNotice = ''
|
614
|
|
- this.formLabelAlign4.traceNotification = ''
|
615
|
|
- this.formLabelAlign4.announcement = ''
|
616
|
|
- this.formLabelAlign4.finalTreatment = ''
|
617
|
|
- this.formLabelAlign4.legalProcedure = ''
|
|
670
|
+ this.formLabelAlign4 = {}
|
618
|
671
|
this.dialogVisible4 = true
|
619
|
672
|
},
|
620
|
673
|
|
|
@@ -624,7 +677,7 @@ export default {
|
624
|
677
|
this.dialogVisible4 = true
|
625
|
678
|
},
|
626
|
679
|
deleteRow4(record) {
|
627
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
680
|
+ api_z.deleteParkingCar([{id: record.id}]).then(res => {
|
628
|
681
|
if (res.code === 200) {
|
629
|
682
|
this.$message({type: 'success', message: '删除成功!'})
|
630
|
683
|
this.getTableData4()
|
|
@@ -633,7 +686,7 @@ export default {
|
633
|
686
|
},
|
634
|
687
|
handleConfirm4() {
|
635
|
688
|
if (this.title4 === '修改') {
|
636
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign4.ipAddr, id: this.formLabelAlign4.id}).then(res => {
|
|
689
|
+ api_z.editParkingCar({...this.formLabelAlign4}).then(res => {
|
637
|
690
|
if (res.code === 200) {
|
638
|
691
|
this.dialogVisible4 = false
|
639
|
692
|
this.$message({
|
|
@@ -644,7 +697,7 @@ export default {
|
644
|
697
|
}
|
645
|
698
|
})
|
646
|
699
|
} else {
|
647
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign4.ipAddr}).then(res => {
|
|
700
|
+ api_z.addParkingCar({...this.formLabelAlign4}).then(res => {
|
648
|
701
|
if (res.code === 200) {
|
649
|
702
|
this.dialogVisible4 = false
|
650
|
703
|
this.$message({
|
|
@@ -661,8 +714,8 @@ export default {
|
661
|
714
|
},
|
662
|
715
|
getTableData1() {
|
663
|
716
|
const {pageNum1, pageSize1} = this
|
664
|
|
- api.carListByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
665
|
|
- this.tableData1 = (res.data.records || []).map(item => ({...item, carType: dictionary.typeMap[item.carType]}))
|
|
717
|
+ api_z.queryParkingLotByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
|
718
|
+ this.tableData1 = res.data.records || []
|
666
|
719
|
this.total1 = res.data.total
|
667
|
720
|
})
|
668
|
721
|
},
|
|
@@ -671,7 +724,7 @@ export default {
|
671
|
724
|
},
|
672
|
725
|
getTableData2() {
|
673
|
726
|
const {pageNum2, pageSize2} = this
|
674
|
|
- api.gjListByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
|
|
727
|
+ api_z.queryParkingChargingByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
|
675
|
728
|
this.tableData2 = res.data.records || []
|
676
|
729
|
this.total2 = res.data.total
|
677
|
730
|
})
|
|
@@ -681,7 +734,7 @@ export default {
|
681
|
734
|
},
|
682
|
735
|
getTableData3() {
|
683
|
736
|
const {pageNum3, pageSize3} = this
|
684
|
|
- api.tcjlListByPage({current: pageNum4, size: pageSize4, ...this.formInline4}).then(res => {
|
|
737
|
+ api_z.queryParkingArrearByPage({current: pageNum3, size: pageSize3, ...this.formInline3}).then(res => {
|
685
|
738
|
this.tableData3 = res.data.records || []
|
686
|
739
|
this.total3 = res.data.total
|
687
|
740
|
})
|
|
@@ -691,7 +744,7 @@ export default {
|
691
|
744
|
},
|
692
|
745
|
getTableData4() {
|
693
|
746
|
const {pageNum4, pageSize4} = this
|
694
|
|
- api.tcjlListByPage({current: pageNum4, size: pageSize4, ...this.formInline4}).then(res => {
|
|
747
|
+ api_z.queryParkingCarByPage({current: pageNum4, size: pageSize4, ...this.formInline4}).then(res => {
|
695
|
748
|
this.tableData4 = res.data.records || []
|
696
|
749
|
this.total4 = res.data.total
|
697
|
750
|
})
|
|
@@ -733,7 +786,7 @@ export default {
|
733
|
786
|
.form-div {
|
734
|
787
|
/deep/ .el-input__inner {
|
735
|
788
|
height: 35px;
|
736
|
|
- width: 90%;
|
|
789
|
+ width: 99%;
|
737
|
790
|
border: 1px solid #a6a5a5;
|
738
|
791
|
}
|
739
|
792
|
}
|