|
@@ -5,15 +5,15 @@
|
5
|
5
|
<el-form class="form-wrapper" :inline="true" :model="formInline1" style="margin-bottom: 20px;">
|
6
|
6
|
<el-row>
|
7
|
7
|
<el-col :span="8">
|
8
|
|
- <el-form-item label="所在区域:">
|
9
|
|
- <el-input v-model="formInline1.localArea" placeholder="请输入"></el-input>
|
10
|
|
- </el-form-item>
|
11
|
|
- </el-col>
|
12
|
|
- <el-col :span="8">
|
13
|
|
- <el-form-item label="业务类型:">
|
14
|
|
- <el-input v-model="formInline1.businessType" placeholder="请输入"></el-input>
|
|
8
|
+ <el-form-item label="区域编码:">
|
|
9
|
+ <el-input v-model="formInline1.regionCode" placeholder="请输入"></el-input>
|
15
|
10
|
</el-form-item>
|
16
|
11
|
</el-col>
|
|
12
|
+<!-- <el-col :span="8">-->
|
|
13
|
+<!-- <el-form-item label="业务类型:">-->
|
|
14
|
+<!-- <el-input v-model="formInline1.serviceType" placeholder="请输入"></el-input>-->
|
|
15
|
+<!-- </el-form-item>-->
|
|
16
|
+<!-- </el-col>-->
|
17
|
17
|
<el-col :span="8">
|
18
|
18
|
<el-form-item>
|
19
|
19
|
<el-button type="primary" class="query-btn" @click="onSubmit1">查询</el-button>
|
|
@@ -50,17 +50,20 @@
|
50
|
50
|
custom-class="audit-dialog">
|
51
|
51
|
<div class="form-div">
|
52
|
52
|
<el-form label-position="left" label-width="100px" :model="formLabelAlign">
|
|
53
|
+ <el-form-item label="区域编码">
|
|
54
|
+ <el-input v-model="formLabelAlign.regionCode"></el-input>
|
|
55
|
+ </el-form-item>
|
53
|
56
|
<el-form-item label="所在区域">
|
54
|
|
- <el-input v-model="formLabelAlign.localArea"></el-input>
|
|
57
|
+ <el-input v-model="formLabelAlign.regionName"></el-input>
|
55
|
58
|
</el-form-item>
|
56
|
59
|
<el-form-item label="业务类型">
|
57
|
|
- <el-input v-model="formLabelAlign.businessType"></el-input>
|
|
60
|
+ <el-input v-model="formLabelAlign.serviceType"></el-input>
|
58
|
61
|
</el-form-item>
|
59
|
62
|
<el-form-item label="内容">
|
60
|
|
- <el-input v-model="formLabelAlign.content"></el-input>
|
|
63
|
+ <el-input v-model="formLabelAlign.configKey"></el-input>
|
61
|
64
|
</el-form-item>
|
62
|
65
|
<el-form-item label="参数配置">
|
63
|
|
- <el-input v-model="formLabelAlign.parameterConfiguration"></el-input>
|
|
66
|
+ <el-input v-model="formLabelAlign.configValue"></el-input>
|
64
|
67
|
</el-form-item>
|
65
|
68
|
</el-form>
|
66
|
69
|
</div>
|
|
@@ -74,15 +77,15 @@
|
74
|
77
|
<el-form class="form-wrapper" :inline="true" :model="formInline2" style="margin-bottom: 20px;">
|
75
|
78
|
<el-row>
|
76
|
79
|
<el-col :span="8">
|
77
|
|
- <el-form-item label="所在区域:">
|
78
|
|
- <el-input v-model="formInline2.localArea" placeholder="请输入"></el-input>
|
79
|
|
- </el-form-item>
|
80
|
|
- </el-col>
|
81
|
|
- <el-col :span="8">
|
82
|
|
- <el-form-item label="节假日名称:">
|
83
|
|
- <el-input v-model="formInline2.holidayName" placeholder="请输入"></el-input>
|
|
80
|
+ <el-form-item label="区域编码:">
|
|
81
|
+ <el-input v-model="formInline2.regionCode" placeholder="请输入"></el-input>
|
84
|
82
|
</el-form-item>
|
85
|
83
|
</el-col>
|
|
84
|
+<!-- <el-col :span="8">-->
|
|
85
|
+<!-- <el-form-item label="节假日名称:">-->
|
|
86
|
+<!-- <el-input v-model="formInline2.holidayName" placeholder="请输入"></el-input>-->
|
|
87
|
+<!-- </el-form-item>-->
|
|
88
|
+<!-- </el-col>-->
|
86
|
89
|
<el-col :span="8">
|
87
|
90
|
<el-form-item>
|
88
|
91
|
<el-button type="primary" class="query-btn" @click="onSubmit2">查询</el-button>
|
|
@@ -119,14 +122,17 @@
|
119
|
122
|
custom-class="audit-dialog">
|
120
|
123
|
<div class="form-div">
|
121
|
124
|
<el-form label-position="left" label-width="145px" :model="formLabelAlign2">
|
|
125
|
+ <el-form-item label="区域编码">
|
|
126
|
+ <el-input v-model="formLabelAlign2.regionCode"></el-input>
|
|
127
|
+ </el-form-item>
|
122
|
128
|
<el-form-item label="所在区域">
|
123
|
|
- <el-input v-model="formLabelAlign2.localArea"></el-input>
|
|
129
|
+ <el-input v-model="formLabelAlign2.regionName"></el-input>
|
124
|
130
|
</el-form-item>
|
125
|
131
|
<el-form-item label="节假日名称">
|
126
|
132
|
<el-input v-model="formLabelAlign2.holidayName"></el-input>
|
127
|
133
|
</el-form-item>
|
128
|
134
|
<el-form-item label="基础停车费(元/小时)">
|
129
|
|
- <el-input v-model="formLabelAlign2.basicFee"></el-input>
|
|
135
|
+ <el-input v-model="formLabelAlign2.pakingFee"></el-input>
|
130
|
136
|
</el-form-item>
|
131
|
137
|
<el-form-item label="超时费(元/小时)">
|
132
|
138
|
<el-input v-model="formLabelAlign2.overtimeFee"></el-input>
|
|
@@ -143,15 +149,15 @@
|
143
|
149
|
<el-form class="form-wrapper" :inline="true" :model="formInline3" style="margin-bottom: 20px;">
|
144
|
150
|
<el-row>
|
145
|
151
|
<el-col :span="8">
|
146
|
|
- <el-form-item label="所在区域:">
|
147
|
|
- <el-input v-model="formInline3.localArea" placeholder="请输入"></el-input>
|
148
|
|
- </el-form-item>
|
149
|
|
- </el-col>
|
150
|
|
- <el-col :span="8">
|
151
|
|
- <el-form-item label="商圈名称:">
|
152
|
|
- <el-input v-model="formInline3.businessDistrictName" placeholder="请输入"></el-input>
|
|
152
|
+ <el-form-item label="区域编码:">
|
|
153
|
+ <el-input v-model="formInline3.regionCode" placeholder="请输入"></el-input>
|
153
|
154
|
</el-form-item>
|
154
|
155
|
</el-col>
|
|
156
|
+<!-- <el-col :span="8">-->
|
|
157
|
+<!-- <el-form-item label="商圈名称:">-->
|
|
158
|
+<!-- <el-input v-model="formInline3.districtName " placeholder="请输入"></el-input>-->
|
|
159
|
+<!-- </el-form-item>-->
|
|
160
|
+<!-- </el-col>-->
|
155
|
161
|
<el-col :span="8">
|
156
|
162
|
<el-form-item>
|
157
|
163
|
<el-button type="primary" class="query-btn" @click="onSubmit3">查询</el-button>
|
|
@@ -189,14 +195,17 @@
|
189
|
195
|
custom-class="audit-dialog">
|
190
|
196
|
<div class="form-div">
|
191
|
197
|
<el-form label-position="left" label-width="145px" :model="formLabelAlign3">
|
|
198
|
+ <el-form-item label="区域编码">
|
|
199
|
+ <el-input v-model="formLabelAlign3.regionCode"></el-input>
|
|
200
|
+ </el-form-item>
|
192
|
201
|
<el-form-item label="所在区域">
|
193
|
|
- <el-input v-model="formLabelAlign3.localArea"></el-input>
|
|
202
|
+ <el-input v-model="formLabelAlign3.regionName"></el-input>
|
194
|
203
|
</el-form-item>
|
195
|
204
|
<el-form-item label="商圈名称">
|
196
|
|
- <el-input v-model="formLabelAlign3.businessDistrictName"></el-input>
|
|
205
|
+ <el-input v-model="formLabelAlign3.districtName "></el-input>
|
197
|
206
|
</el-form-item>
|
198
|
207
|
<el-form-item label="基础停车费(元/小时)">
|
199
|
|
- <el-input v-model="formLabelAlign3.basicFee"></el-input>
|
|
208
|
+ <el-input v-model="formLabelAlign3.pakingFee"></el-input>
|
200
|
209
|
</el-form-item>
|
201
|
210
|
<el-form-item label="超时费(元/小时)">
|
202
|
211
|
<el-input v-model="formLabelAlign3.overtimeFee"></el-input>
|
|
@@ -289,6 +298,7 @@
|
289
|
298
|
<script>
|
290
|
299
|
import api from "@/api/audit.js";
|
291
|
300
|
import dictionary from "@/util/dictionary";
|
|
301
|
+import api_z from "@/api/article_z.js";
|
292
|
302
|
|
293
|
303
|
export default {
|
294
|
304
|
components: {},
|
|
@@ -296,44 +306,53 @@ export default {
|
296
|
306
|
return {
|
297
|
307
|
activeName: '业务参数配置',
|
298
|
308
|
columns1: [
|
|
309
|
+ {
|
|
310
|
+ label: '区域编码',
|
|
311
|
+ key: 'regionCode'
|
|
312
|
+ },
|
299
|
313
|
{
|
300
|
314
|
label: '所在区域',
|
301
|
|
- key: 'localArea'
|
|
315
|
+ key: 'regionName'
|
302
|
316
|
},
|
303
|
317
|
{
|
304
|
318
|
label: '业务类型',
|
305
|
|
- key: 'businessType'
|
|
319
|
+ key: 'serviceType'
|
306
|
320
|
},
|
307
|
321
|
{
|
308
|
322
|
label: '内容',
|
309
|
|
- key: 'content'
|
|
323
|
+ key: 'configKey'
|
310
|
324
|
},
|
311
|
325
|
{
|
312
|
326
|
label: '参数配置',
|
313
|
|
- key: 'parameterConfiguration'
|
|
327
|
+ key: 'configValue'
|
314
|
328
|
},
|
315
|
329
|
],
|
316
|
|
- tableData1: [{localArea: 'sasa'}],
|
|
330
|
+ tableData1: [{regionName: 'sasa'}],
|
317
|
331
|
total1: 0,
|
318
|
332
|
pageSize1: 10,
|
319
|
333
|
pageNum1: 1,
|
320
|
334
|
formInline1: {
|
321
|
|
- localArea: '',
|
322
|
|
- businessType:'',
|
|
335
|
+ regionCode: '',
|
|
336
|
+ // serviceType:'',
|
323
|
337
|
},
|
324
|
338
|
title: '',
|
325
|
339
|
dialogVisible: false,
|
326
|
340
|
formLabelAlign: {
|
327
|
341
|
id: '',
|
328
|
|
- localArea: '',
|
329
|
|
- businessType:'',
|
330
|
|
- content: '',
|
331
|
|
- parameterConfiguration: '',
|
|
342
|
+ regionCode: '',
|
|
343
|
+ regionName: '',
|
|
344
|
+ serviceType:'',
|
|
345
|
+ configKey: '',
|
|
346
|
+ configValue: '',
|
332
|
347
|
},
|
333
|
348
|
columns2: [
|
|
349
|
+ {
|
|
350
|
+ label: '区域编码',
|
|
351
|
+ key: 'regionCode'
|
|
352
|
+ },
|
334
|
353
|
{
|
335
|
354
|
label: '所在区域',
|
336
|
|
- key: 'localArea'
|
|
355
|
+ key: 'regionName'
|
337
|
356
|
},
|
338
|
357
|
{
|
339
|
358
|
label: '节假日名称',
|
|
@@ -341,42 +360,47 @@ export default {
|
341
|
360
|
},
|
342
|
361
|
{
|
343
|
362
|
label: '基础停车费(元/小时)',
|
344
|
|
- key: 'basicFee'
|
|
363
|
+ key: 'pakingFee'
|
345
|
364
|
},
|
346
|
365
|
{
|
347
|
366
|
label: '超时费(元/小时)',
|
348
|
367
|
key: 'overtimeFee'
|
349
|
368
|
},
|
350
|
369
|
],
|
351
|
|
- tableData2: [{localArea: 'sasa1'}],
|
|
370
|
+ tableData2: [{regionName: 'sasa1'}],
|
352
|
371
|
total2: 0,
|
353
|
372
|
pageSize2: 10,
|
354
|
373
|
pageNum2: 1,
|
355
|
374
|
formInline2: {
|
356
|
|
- localArea: '',
|
|
375
|
+ regionCode: '',
|
357
|
376
|
holidayName:'',
|
358
|
377
|
},
|
359
|
378
|
title2: '',
|
360
|
379
|
dialogVisible2: false,
|
361
|
380
|
formLabelAlign2: {
|
362
|
381
|
id: '',
|
363
|
|
- localArea: '',
|
|
382
|
+ regionCode: '',
|
|
383
|
+ regionName: '',
|
364
|
384
|
holidayName:'',
|
365
|
|
- basicFee: '',
|
|
385
|
+ pakingFee: '',
|
366
|
386
|
overtimeFee: '',
|
367
|
387
|
},
|
368
|
388
|
columns3: [
|
|
389
|
+ {
|
|
390
|
+ label: '区域编码',
|
|
391
|
+ key: 'regionCode'
|
|
392
|
+ },
|
369
|
393
|
{
|
370
|
394
|
label: '所在区域',
|
371
|
|
- key: 'localArea'
|
|
395
|
+ key: 'regionName'
|
372
|
396
|
},
|
373
|
397
|
{
|
374
|
398
|
label: '商圈名称',
|
375
|
|
- key: 'businessDistrictName'
|
|
399
|
+ key: 'districtName '
|
376
|
400
|
},
|
377
|
401
|
{
|
378
|
402
|
label: '基础停车费(元/小时)',
|
379
|
|
- key: 'basicFee'
|
|
403
|
+ key: 'pakingFee'
|
380
|
404
|
},
|
381
|
405
|
{
|
382
|
406
|
label: '超时费(元/小时)',
|
|
@@ -388,16 +412,16 @@ export default {
|
388
|
412
|
pageSize3: 10,
|
389
|
413
|
pageNum3: 1,
|
390
|
414
|
formInline3: {
|
391
|
|
- localArea: '',
|
392
|
|
- businessDistrictName: ''
|
|
415
|
+ regionCode: '',
|
|
416
|
+ districtName : ''
|
393
|
417
|
},
|
394
|
418
|
title3: '',
|
395
|
419
|
dialogVisible3: false,
|
396
|
420
|
formLabelAlign3: {
|
397
|
421
|
id: '',
|
398
|
|
- localArea: '',
|
399
|
|
- businessDistrictName: '',
|
400
|
|
- basicFee: '',
|
|
422
|
+ regionName: '',
|
|
423
|
+ districtName : '',
|
|
424
|
+ pakingFee: '',
|
401
|
425
|
overtimeFee: '',
|
402
|
426
|
},
|
403
|
427
|
columns4: [
|
|
@@ -438,9 +462,9 @@ export default {
|
438
|
462
|
}
|
439
|
463
|
},
|
440
|
464
|
mounted() {
|
441
|
|
- // this.getTableData1()
|
442
|
|
- // this.getTableData2()
|
443
|
|
- // this.getTableData3()
|
|
465
|
+ this.getTableData1()
|
|
466
|
+ this.getTableData2()
|
|
467
|
+ this.getTableData3()
|
444
|
468
|
// this.getTableData4()
|
445
|
469
|
},
|
446
|
470
|
watch: {},
|
|
@@ -451,10 +475,7 @@ export default {
|
451
|
475
|
},
|
452
|
476
|
handleAdd() {
|
453
|
477
|
this.title = '添加'
|
454
|
|
- this.formLabelAlign.localArea = ''
|
455
|
|
- this.formLabelAlign.businessType = ''
|
456
|
|
- this.formLabelAlign.content = ''
|
457
|
|
- this.formLabelAlign.parameterConfiguration = ''
|
|
478
|
+ this.formLabelAlign = {}
|
458
|
479
|
this.dialogVisible = true
|
459
|
480
|
},
|
460
|
481
|
handleEdit(row) {
|
|
@@ -463,7 +484,7 @@ export default {
|
463
|
484
|
this.dialogVisible = true
|
464
|
485
|
},
|
465
|
486
|
deleteRow(record) {
|
466
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
487
|
+ api_z.deleteServiceConfigurationConfig([{id: record.id}]).then(res => {
|
467
|
488
|
if (res.code === 200) {
|
468
|
489
|
this.$message({type: 'success', message: '删除成功!'})
|
469
|
490
|
this.getTableData1()
|
|
@@ -472,7 +493,7 @@ export default {
|
472
|
493
|
},
|
473
|
494
|
handleConfirm() {
|
474
|
495
|
if (this.title === '修改') {
|
475
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign.ipAddr, id: this.formLabelAlign.id}).then(res => {
|
|
496
|
+ api_z.editServiceConfigurationConfig({...this.formLabelAlign}).then(res => {
|
476
|
497
|
if (res.code === 200) {
|
477
|
498
|
this.dialogVisible = false
|
478
|
499
|
this.$message({
|
|
@@ -483,7 +504,7 @@ export default {
|
483
|
504
|
}
|
484
|
505
|
})
|
485
|
506
|
} else {
|
486
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign.ipAddr}).then(res => {
|
|
507
|
+ api_z.addServiceConfigurationConfig({...this.formLabelAlign}).then(res => {
|
487
|
508
|
if (res.code === 200) {
|
488
|
509
|
this.dialogVisible = false
|
489
|
510
|
this.$message({
|
|
@@ -501,10 +522,7 @@ export default {
|
501
|
522
|
},
|
502
|
523
|
handleAdd2() {
|
503
|
524
|
this.title2 = '添加'
|
504
|
|
- this.formLabelAlign2.localArea= ''
|
505
|
|
- this.formLabelAlign2.holidayName= ''
|
506
|
|
- this.formLabelAlign2.basicFee= ''
|
507
|
|
- this.formLabelAlign2.overtimeFee = ''
|
|
525
|
+ this.formLabelAlign2 = {}
|
508
|
526
|
this.dialogVisible2 = true
|
509
|
527
|
},
|
510
|
528
|
|
|
@@ -514,7 +532,7 @@ export default {
|
514
|
532
|
this.dialogVisible2 = true
|
515
|
533
|
},
|
516
|
534
|
deleteRow2(record) {
|
517
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
535
|
+ api_z.deleteServiceConfigurationHoliday([{id: record.id}]).then(res => {
|
518
|
536
|
if (res.code === 200) {
|
519
|
537
|
this.$message({type: 'success', message: '删除成功!'})
|
520
|
538
|
this.getTableData2()
|
|
@@ -523,7 +541,7 @@ export default {
|
523
|
541
|
},
|
524
|
542
|
handleConfirm2() {
|
525
|
543
|
if (this.title2 === '修改') {
|
526
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign2.ipAddr, id: this.formLabelAlign2.id}).then(res => {
|
|
544
|
+ api_z.editServiceConfigurationHoliday({...this.formLabelAlign2}).then(res => {
|
527
|
545
|
if (res.code === 200) {
|
528
|
546
|
this.dialogVisible2 = false
|
529
|
547
|
this.$message({
|
|
@@ -534,7 +552,7 @@ export default {
|
534
|
552
|
}
|
535
|
553
|
})
|
536
|
554
|
} else {
|
537
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign2.ipAddr}).then(res => {
|
|
555
|
+ api_z.addServiceConfigurationHoliday({...this.formLabelAlign2}).then(res => {
|
538
|
556
|
if (res.code === 200) {
|
539
|
557
|
this.dialogVisible2 = false
|
540
|
558
|
this.$message({
|
|
@@ -552,10 +570,7 @@ export default {
|
552
|
570
|
},
|
553
|
571
|
handleAdd3() {
|
554
|
572
|
this.title3 = '添加'
|
555
|
|
- this.formLabelAlign3.localArea = ''
|
556
|
|
- this.formLabelAlign3.businessDistrictName = ''
|
557
|
|
- this.formLabelAlign3.basicFee = ''
|
558
|
|
- this.formLabelAlign3.overtimeFee = ''
|
|
573
|
+ this.formLabelAlign3 = {}
|
559
|
574
|
this.dialogVisible3 = true
|
560
|
575
|
},
|
561
|
576
|
|
|
@@ -565,7 +580,7 @@ export default {
|
565
|
580
|
this.dialogVisible3 = true
|
566
|
581
|
},
|
567
|
582
|
deleteRow3(record) {
|
568
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
583
|
+ api_z.deleteServiceConfigurationDistrict([{id: record.id}]).then(res => {
|
569
|
584
|
if (res.code === 200) {
|
570
|
585
|
this.$message({type: 'success', message: '删除成功!'})
|
571
|
586
|
this.getTableData3()
|
|
@@ -574,7 +589,7 @@ export default {
|
574
|
589
|
},
|
575
|
590
|
handleConfirm3() {
|
576
|
591
|
if (this.title3 === '修改') {
|
577
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign3.ipAddr, id: this.formLabelAlign3.id}).then(res => {
|
|
592
|
+ api_z.editServiceConfigurationDistrict({...this.formLabelAlign3}).then(res => {
|
578
|
593
|
if (res.code === 200) {
|
579
|
594
|
this.dialogVisible3 = false
|
580
|
595
|
this.$message({
|
|
@@ -585,7 +600,7 @@ export default {
|
585
|
600
|
}
|
586
|
601
|
})
|
587
|
602
|
} else {
|
588
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign3.ipAddr}).then(res => {
|
|
603
|
+ api_z.addServiceConfigurationDistrict({...this.formLabelAlign3}).then(res => {
|
589
|
604
|
if (res.code === 200) {
|
590
|
605
|
this.dialogVisible3 = false
|
591
|
606
|
this.$message({
|
|
@@ -603,10 +618,7 @@ export default {
|
603
|
618
|
},
|
604
|
619
|
handleAdd4() {
|
605
|
620
|
this.title4 = '添加'
|
606
|
|
- this.formLabelAlign4.tollCollector= ''
|
607
|
|
- this.formLabelAlign4.plateNo= ''
|
608
|
|
- this.formLabelAlign4.releaseTime= ''
|
609
|
|
- this.formLabelAlign4.releaseReason = ''
|
|
621
|
+ this.formLabelAlign4 = {}
|
610
|
622
|
this.dialogVisible4 = true
|
611
|
623
|
},
|
612
|
624
|
|
|
@@ -616,7 +628,7 @@ export default {
|
616
|
628
|
this.dialogVisible4 = true
|
617
|
629
|
},
|
618
|
630
|
deleteRow4(record) {
|
619
|
|
- api.deleteWhiteIp({id: record.id}).then(res => {
|
|
631
|
+ api_z.deleteWhiteIp([{id: record.id}]).then(res => {
|
620
|
632
|
if (res.code === 200) {
|
621
|
633
|
this.$message({type: 'success', message: '删除成功!'})
|
622
|
634
|
this.getTableData4()
|
|
@@ -625,7 +637,7 @@ export default {
|
625
|
637
|
},
|
626
|
638
|
handleConfirm4() {
|
627
|
639
|
if (this.title4 === '修改') {
|
628
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign4.ipAddr, id: this.formLabelAlign4.id}).then(res => {
|
|
640
|
+ api_z.addWhiteIp({...this.formLabelAlign4}).then(res => {
|
629
|
641
|
if (res.code === 200) {
|
630
|
642
|
this.dialogVisible4 = false
|
631
|
643
|
this.$message({
|
|
@@ -636,7 +648,7 @@ export default {
|
636
|
648
|
}
|
637
|
649
|
})
|
638
|
650
|
} else {
|
639
|
|
- api.addWhiteIp({ipAddr: this.formLabelAlign4.ipAddr}).then(res => {
|
|
651
|
+ api_z.addWhiteIp({...this.formLabelAlign4}).then(res => {
|
640
|
652
|
if (res.code === 200) {
|
641
|
653
|
this.dialogVisible4 = false
|
642
|
654
|
this.$message({
|
|
@@ -653,8 +665,8 @@ export default {
|
653
|
665
|
},
|
654
|
666
|
getTableData1() {
|
655
|
667
|
const {pageNum1, pageSize1} = this
|
656
|
|
- api.carListByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
657
|
|
- this.tableData1 = (res.data.records || []).map(item => ({...item, carType: dictionary.typeMap[item.carType]}))
|
|
668
|
+ api_z.queryServiceConfigurationConfigByPage({current: pageNum1, size: pageSize1, ...this.formInline1}).then(res => {
|
|
669
|
+ this.tableData1 = res.data.records || []
|
658
|
670
|
this.total1 = res.data.total
|
659
|
671
|
})
|
660
|
672
|
},
|
|
@@ -663,7 +675,7 @@ export default {
|
663
|
675
|
},
|
664
|
676
|
getTableData2() {
|
665
|
677
|
const {pageNum2, pageSize2} = this
|
666
|
|
- api.gjListByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
|
|
678
|
+ api_z.queryServiceConfigurationHolidayByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
|
667
|
679
|
this.tableData2 = res.data.records || []
|
668
|
680
|
this.total2 = res.data.total
|
669
|
681
|
})
|
|
@@ -673,7 +685,7 @@ export default {
|
673
|
685
|
},
|
674
|
686
|
getTableData3() {
|
675
|
687
|
const {pageNum3, pageSize3} = this
|
676
|
|
- api.tcjlListByPage({current: pageNum3, size: pageSize3, ...this.formInline3}).then(res => {
|
|
688
|
+ api_z.queryServiceConfigurationDistrictByPage({current: pageNum3, size: pageSize3, ...this.formInline3}).then(res => {
|
677
|
689
|
this.tableData3 = res.data.records || []
|
678
|
690
|
this.total3 = res.data.total
|
679
|
691
|
})
|
|
@@ -683,7 +695,7 @@ export default {
|
683
|
695
|
},
|
684
|
696
|
getTableData4() {
|
685
|
697
|
const {pageNum4, pageSize4} = this
|
686
|
|
- api.tcjlListByPage({current: pageNum4, size: pageSize4, ...this.formInline4}).then(res => {
|
|
698
|
+ api_z.tcjlListByPage({current: pageNum4, size: pageSize4, ...this.formInline4}).then(res => {
|
687
|
699
|
this.tableData4 = res.data.records || []
|
688
|
700
|
this.total4 = res.data.total
|
689
|
701
|
})
|