Browse Source

修改后台数据访问地址,和字段名

ly 10 months ago
parent
commit
94ac7218b1
2 changed files with 7 additions and 7 deletions
  1. 1 1
      src/api/article_z.js
  2. 6 6
      src/pages/index/components/pakking_lot.vue

+ 1 - 1
src/api/article_z.js

@@ -97,7 +97,7 @@ export default {
97
   },
97
   },
98
   // 停车场管理——获取停车场信息分页
98
   // 停车场管理——获取停车场信息分页
99
   queryParkingLotByPage(params) {
99
   queryParkingLotByPage(params) {
100
-    return axios.get(`/opt/pakking/lot/page`, {params})
100
+    return axios.get(`PortalParking//CarParkController/v1_1/manngercarpark.do`, {params})
101
   },
101
   },
102
   // 停车场管理——添加车牌修正记录
102
   // 停车场管理——添加车牌修正记录
103
   addParkingLot(params) {
103
   addParkingLot(params) {

+ 6 - 6
src/pages/index/components/pakking_lot.vue

@@ -359,27 +359,27 @@ export default {
359
         },
359
         },
360
         {
360
         {
361
           label: '车场名称',
361
           label: '车场名称',
362
-          key: 'parkName'
362
+          key: 'carParkName'
363
         },
363
         },
364
         {
364
         {
365
           label: '地址',
365
           label: '地址',
366
-          key: 'address'
366
+          key: 'carParkAddress'
367
         },
367
         },
368
         {
368
         {
369
           label: '管理员',
369
           label: '管理员',
370
-          key: 'managerName'
370
+          key: 'contact'
371
         },
371
         },
372
         {
372
         {
373
           label: '联系方式',
373
           label: '联系方式',
374
-          key: 'managerPhone'
374
+          key: 'contactNo'
375
         },
375
         },
376
         {
376
         {
377
           label: '车位数',
377
           label: '车位数',
378
-          key: 'berthNumber'
378
+          key: 'parkingSpace'
379
         },
379
         },
380
         {
380
         {
381
           label: '在线状态',
381
           label: '在线状态',
382
-          key: 'state'
382
+          key: 'controlState'
383
         },
383
         },
384
         // {
384
         // {
385
         //   label: '停车场管理员',
385
         //   label: '停车场管理员',