Explorar o código

岗亭操作和业务配置

zbb hai 1 ano
pai
achega
f19cfff9f4

+ 64 - 0
src/api/article_z.js

@@ -402,4 +402,68 @@ export default {
402
   deleteParkingOutsideOperationSpecial(params) {
402
   deleteParkingOutsideOperationSpecial(params) {
403
     return axios.post(`/opt/parking/outside/operation/special/delete`, params)
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
           <el-row>
356
           <el-row>
357
             <el-col :span="8">
357
             <el-col :span="8">
358
               <el-form-item label="收费员:">
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
               </el-form-item>
366
               </el-form-item>
361
             </el-col>
367
             </el-col>
362
             <el-col :span="8">
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
               </el-form-item>
377
               </el-form-item>
366
             </el-col>
378
             </el-col>
367
             <el-col :span="8">
379
             <el-col :span="8">
@@ -401,24 +413,36 @@
401
           custom-class="audit-dialog">
413
           custom-class="audit-dialog">
402
           <div class="form-div">
414
           <div class="form-div">
403
             <el-form label-position="left" label-width="100px" :model="formLabelAlign5">
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
               </el-form-item>
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
               </el-form-item>
433
               </el-form-item>
410
               <el-form-item label="抬杆时间">
434
               <el-form-item label="抬杆时间">
411
                 <el-date-picker
435
                 <el-date-picker
412
-                  v-model="formLabelAlign5.liftingRodTime"
436
+                  v-model="formLabelAlign5.createTime"
413
                   type="date"
437
                   type="date"
414
                   placeholder="选择日期">
438
                   placeholder="选择日期">
415
                 </el-date-picker>
439
                 </el-date-picker>
416
               </el-form-item>
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
               </el-form-item>
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
               </el-form-item>
446
               </el-form-item>
423
             </el-form>
447
             </el-form>
424
           </div>
448
           </div>
@@ -592,19 +616,19 @@ export default {
592
         },
616
         },
593
         {
617
         {
594
           label: '抬杆类型',
618
           label: '抬杆类型',
595
-          key: 'liftingRodType'
619
+          key: 'liftType'
596
         },
620
         },
597
         {
621
         {
598
           label: '抬杆时间',
622
           label: '抬杆时间',
599
-          key: 'liftingRodTime'
623
+          key: 'createTime'
600
         },
624
         },
601
         {
625
         {
602
           label: '抬杆车辆',
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
       tableData5: [{tollmanName: 'sasa1111'}],
634
       tableData5: [{tollmanName: 'sasa1111'}],
@@ -613,17 +637,16 @@ export default {
613
       pageNum5: 1,
637
       pageNum5: 1,
614
       formInline5: {
638
       formInline5: {
615
         tollmanId: '',
639
         tollmanId: '',
616
-        liftingRodType: '',
640
+        parkId: '',
617
       },
641
       },
618
       title5: '',
642
       title5: '',
619
       dialogVisible5: false,
643
       dialogVisible5: false,
620
       formLabelAlign5: {
644
       formLabelAlign5: {
621
         id: '',
645
         id: '',
622
         tollmanId: '',
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
     this.getTableData2()
657
     this.getTableData2()
635
     this.getTableData3()
658
     this.getTableData3()
636
     this.getTableData4()
659
     this.getTableData4()
637
-    // this.getTableData5()
660
+    this.getTableData5()
638
   },
661
   },
639
   watch: {},
662
   watch: {},
640
   methods: {
663
   methods: {
@@ -857,7 +880,7 @@ export default {
857
       this.dialogVisible5 = true
880
       this.dialogVisible5 = true
858
     },
881
     },
859
     deleteRow5(record) {
882
     deleteRow5(record) {
860
-      api_z.deleteWhiteIp([{id: record.id}]).then(res => {
883
+      api_z.deleteParkingOutsideOperationLift([{id: record.id}]).then(res => {
861
         if (res.code === 200) {
884
         if (res.code === 200) {
862
           this.$message({type: 'success', message: '删除成功!'})
885
           this.$message({type: 'success', message: '删除成功!'})
863
           this.getTableData5()
886
           this.getTableData5()
@@ -866,7 +889,7 @@ export default {
866
     },
889
     },
867
     handleConfirm5() {
890
     handleConfirm5() {
868
       if (this.title5 === '修改') {
891
       if (this.title5 === '修改') {
869
-        api_z.addWhiteIp({...this.formLabelAlign5}).then(res => {
892
+        api_z.editParkingOutsideOperationLift({...this.formLabelAlign5}).then(res => {
870
           if (res.code === 200) {
893
           if (res.code === 200) {
871
             this.dialogVisible5 = false
894
             this.dialogVisible5 = false
872
             this.$message({
895
             this.$message({
@@ -877,7 +900,7 @@ export default {
877
           }
900
           }
878
         })
901
         })
879
       } else {
902
       } else {
880
-        api_z.addWhiteIp({...this.formLabelAlign5}).then(res => {
903
+        api_z.addParkingOutsideOperationLift({...this.formLabelAlign5}).then(res => {
881
           if (res.code === 200) {
904
           if (res.code === 200) {
882
             this.dialogVisible5 = false
905
             this.dialogVisible5 = false
883
             this.$message({
906
             this.$message({
@@ -934,7 +957,7 @@ export default {
934
     },
957
     },
935
     getTableData5() {
958
     getTableData5() {
936
       const {pageNum5, pageSize5} = this
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
         this.tableData5 = res.data.records || []
961
         this.tableData5 = res.data.records || []
939
         this.total5 = res.data.total
962
         this.total5 = res.data.total
940
       })
963
       })

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

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