Explorar el Código

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

ly hace 10 meses
padre
commit
94ac7218b1
Se han modificado 2 ficheros con 7 adiciones y 7 borrados
  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 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 103
   addParkingLot(params) {

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

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