Browse Source

岗亭操作和业务配置

zbb 1 year ago
parent
commit
f19cfff9f4

+ 64 - 0
src/api/article_z.js

@@ -402,4 +402,68 @@ export default {
402 402
   deleteParkingOutsideOperationSpecial(params) {
403 403
     return axios.post(`/opt/parking/outside/operation/special/delete`, params)
404 404
   },
405
+  // 岗亭操作——获取抬杆记录分页
406
+  queryParkingOutsideOperationLiftByPage(params) {
407
+    return axios.get(`/opt/parking/outside/operation/lift/page`, {params})
408
+  },
409
+  // 岗亭操作——添加抬杆记录
410
+  addParkingOutsideOperationLift(params) {
411
+    return axios.post(`/opt/parking/outside/operation/lift/add`, params)
412
+  },
413
+  // 岗亭操作——编辑抬杆记录
414
+  editParkingOutsideOperationLift(params) {
415
+    return axios.post(`/opt/parking/outside/operation/lift/edit`, params)
416
+  },
417
+  // 岗亭操作——删除抬杆记录
418
+  deleteParkingOutsideOperationLift(params) {
419
+    return axios.post(`/opt/parking/outside/operation/lift/delete`, params)
420
+  },
421
+  // 业务配置——获取业务参数配置分页
422
+  queryServiceConfigurationConfigByPage(params) {
423
+    return axios.get(`/opt/service/configuration/config/page`, {params})
424
+  },
425
+  // 岗亭操作——添加业务参数配置
426
+  addServiceConfigurationConfig(params) {
427
+    return axios.post(`/opt/service/configuration/config/add`, params)
428
+  },
429
+  // 岗亭操作——编辑业务参数配置
430
+  editServiceConfigurationConfig(params) {
431
+    return axios.post(`/opt/service/configuration/config/edit`, params)
432
+  },
433
+  // 岗亭操作——删除业务参数配置
434
+  deleteServiceConfigurationConfig(params) {
435
+    return axios.post(`/opt/service/configuration/config/delete`, params)
436
+  },
437
+  // 业务配置——获取节假日配置分页
438
+  queryServiceConfigurationHolidayByPage(params) {
439
+    return axios.get(`/opt/service/configuration/holiday/page`, {params})
440
+  },
441
+  // 岗亭操作——添加节假日配置
442
+  addServiceConfigurationHoliday(params) {
443
+    return axios.post(`/opt/service/configuration/holiday/add`, params)
444
+  },
445
+  // 岗亭操作——编辑节假日配置
446
+  editServiceConfigurationHoliday(params) {
447
+    return axios.post(`/opt/service/configuration/holiday/edit`, params)
448
+  },
449
+  // 岗亭操作——删除节假日配置
450
+  deleteServiceConfigurationHoliday(params) {
451
+    return axios.post(`/opt/service/configuration/holiday/delete`, params)
452
+  },
453
+  // 业务配置——获取热门商圈配置分页
454
+  queryServiceConfigurationDistrictByPage(params) {
455
+    return axios.get(`/opt/service/configuration/district/page`, {params})
456
+  },
457
+  // 岗亭操作——添加热门商圈配置
458
+  addServiceConfigurationDistrict(params) {
459
+    return axios.post(`/opt/service/configuration/district/add`, params)
460
+  },
461
+  // 岗亭操作——编辑热门商圈配置
462
+  editServiceConfigurationDistrict(params) {
463
+    return axios.post(`/opt/service/configuration/district/edit`, params)
464
+  },
465
+  // 岗亭操作——删除热门商圈配置
466
+  deleteServiceConfigurationDistrict(params) {
467
+    return axios.post(`/opt/service/configuration/district/delete`, params)
468
+  },
405 469
 }

+ 50 - 27
src/pages/index/components/parking_outside_operation.vue

@@ -356,12 +356,24 @@
356 356
           <el-row>
357 357
             <el-col :span="8">
358 358
               <el-form-item label="收费员:">
359
-                <el-input v-model="formInline5.tollmanName" placeholder="请输入"></el-input>
359
+                <el-select clearable v-model="formInline5.tollmanId" placeholder="请选择">
360
+                  <el-option
361
+                    v-for="(item,index) in tollmanOptions"
362
+                    :key="index"
363
+                    :label="item.tollmanName"
364
+                    :value="item.id" />
365
+                </el-select>
360 366
               </el-form-item>
361 367
             </el-col>
362 368
             <el-col :span="8">
363
-              <el-form-item label="抬杆类型:">
364
-                <el-input v-model="formInline5.liftingRodType" placeholder="请输入"></el-input>
369
+              <el-form-item label="车场名称:">
370
+                <el-select clearable v-model="formInline5.parkId" placeholder="请选择">
371
+                  <el-option
372
+                    v-for="(item,index) in carParkingNameOptions"
373
+                    :key="index"
374
+                    :label="item.parkName"
375
+                    :value="item.id" />
376
+                </el-select>
365 377
               </el-form-item>
366 378
             </el-col>
367 379
             <el-col :span="8">
@@ -401,24 +413,36 @@
401 413
           custom-class="audit-dialog">
402 414
           <div class="form-div">
403 415
             <el-form label-position="left" label-width="100px" :model="formLabelAlign5">
404
-              <el-form-item label="收费员">
405
-                <el-input v-model="formLabelAlign5.tollmanName"></el-input>
416
+              <el-form-item label="车场名称">
417
+                <el-select v-model="formLabelAlign5.parkId" placeholder="请选择">
418
+                  <el-option
419
+                    v-for="(item,index) in carParkingNameOptions"
420
+                    :key="index"
421
+                    :label="item.parkName"
422
+                    :value="item.id" />
423
+                </el-select>
406 424
               </el-form-item>
407
-              <el-form-item label="抬杆类型">
408
-                <el-input v-model="formLabelAlign5.liftingRodType"></el-input>
425
+              <el-form-item label="收费员">
426
+                <el-select v-model="formLabelAlign5.tollmanId" placeholder="请选择">
427
+                  <el-option
428
+                    v-for="(item,index) in tollmanOptions"
429
+                    :key="index"
430
+                    :label="item.tollmanName"
431
+                    :value="item.id" />
432
+                </el-select>
409 433
               </el-form-item>
410 434
               <el-form-item label="抬杆时间">
411 435
                 <el-date-picker
412
-                  v-model="formLabelAlign5.liftingRodTime"
436
+                  v-model="formLabelAlign5.createTime"
413 437
                   type="date"
414 438
                   placeholder="选择日期">
415 439
                 </el-date-picker>
416 440
               </el-form-item>
417
-              <el-form-item label="抬杆车辆">
418
-                <el-input v-model="formLabelAlign5.liftingRodCar"></el-input>
441
+              <el-form-item label="抬杆类型">
442
+                <el-input v-model="formLabelAlign5.liftType"></el-input>
419 443
               </el-form-item>
420
-              <el-form-item label="应收费用">
421
-                <el-input v-model="formLabelAlign5.receivableFee"></el-input>
444
+              <el-form-item label="抬杆车辆">
445
+                <el-input v-model="formLabelAlign5.plateNo"></el-input>
422 446
               </el-form-item>
423 447
             </el-form>
424 448
           </div>
@@ -592,19 +616,19 @@ export default {
592 616
         },
593 617
         {
594 618
           label: '抬杆类型',
595
-          key: 'liftingRodType'
619
+          key: 'liftType'
596 620
         },
597 621
         {
598 622
           label: '抬杆时间',
599
-          key: 'liftingRodTime'
623
+          key: 'createTime'
600 624
         },
601 625
         {
602 626
           label: '抬杆车辆',
603
-          key: 'liftingRodCar'
627
+          key: 'plateNo'
604 628
         },
605 629
         {
606
-          label: '应收费用',
607
-          key: 'receivableFee'
630
+          label: '车场名称',
631
+          key: 'carParkName'
608 632
         },
609 633
       ],
610 634
       tableData5: [{tollmanName: 'sasa1111'}],
@@ -613,17 +637,16 @@ export default {
613 637
       pageNum5: 1,
614 638
       formInline5: {
615 639
         tollmanId: '',
616
-        liftingRodType: '',
640
+        parkId: '',
617 641
       },
618 642
       title5: '',
619 643
       dialogVisible5: false,
620 644
       formLabelAlign5: {
621 645
         id: '',
622 646
         tollmanId: '',
623
-        liftingRodType: '',
624
-        liftingRodTime: '',
625
-        liftingRodCar: '',
626
-        receivableFee: '',
647
+        liftType: '',
648
+        plateNo: '',
649
+        parkId: '',
627 650
       },
628 651
     }
629 652
   },
@@ -634,7 +657,7 @@ export default {
634 657
     this.getTableData2()
635 658
     this.getTableData3()
636 659
     this.getTableData4()
637
-    // this.getTableData5()
660
+    this.getTableData5()
638 661
   },
639 662
   watch: {},
640 663
   methods: {
@@ -857,7 +880,7 @@ export default {
857 880
       this.dialogVisible5 = true
858 881
     },
859 882
     deleteRow5(record) {
860
-      api_z.deleteWhiteIp([{id: record.id}]).then(res => {
883
+      api_z.deleteParkingOutsideOperationLift([{id: record.id}]).then(res => {
861 884
         if (res.code === 200) {
862 885
           this.$message({type: 'success', message: '删除成功!'})
863 886
           this.getTableData5()
@@ -866,7 +889,7 @@ export default {
866 889
     },
867 890
     handleConfirm5() {
868 891
       if (this.title5 === '修改') {
869
-        api_z.addWhiteIp({...this.formLabelAlign5}).then(res => {
892
+        api_z.editParkingOutsideOperationLift({...this.formLabelAlign5}).then(res => {
870 893
           if (res.code === 200) {
871 894
             this.dialogVisible5 = false
872 895
             this.$message({
@@ -877,7 +900,7 @@ export default {
877 900
           }
878 901
         })
879 902
       } else {
880
-        api_z.addWhiteIp({...this.formLabelAlign5}).then(res => {
903
+        api_z.addParkingOutsideOperationLift({...this.formLabelAlign5}).then(res => {
881 904
           if (res.code === 200) {
882 905
             this.dialogVisible5 = false
883 906
             this.$message({
@@ -934,7 +957,7 @@ export default {
934 957
     },
935 958
     getTableData5() {
936 959
       const {pageNum5, pageSize5} = this
937
-      api_z.tcjlListByPage({current: pageNum5, size: pageSize5, ...this.formInline5}).then(res => {
960
+      api_z.queryParkingOutsideOperationLiftByPage({current: pageNum5, size: pageSize5, ...this.formInline5}).then(res => {
938 961
         this.tableData5 = res.data.records || []
939 962
         this.total5 = res.data.total
940 963
       })

+ 103 - 91
src/pages/index/components/service_configuration.vue

@@ -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
       })