瀏覽代碼

bug fixed

duwendi 1 年之前
父節點
當前提交
c751a6885a

+ 4 - 4
src/api/article_liao.js

@@ -70,6 +70,10 @@ export default {
70 70
   optMessageManagementPushAdd(params){
71 71
     return axios.post('/opt/message/management/push/add', params)
72 72
   },
73
+  // 消息管理——通知消息
74
+  gjListByPage(params) {
75
+    return axios.get('/opt/message/management/notice/page', {params})
76
+  },
73 77
   //获取设备报警消息
74 78
   optMessageManagementDevicePage(params){
75 79
     return axios.get('/opt/message/management/device/page', {params})
@@ -82,8 +86,4 @@ export default {
82 86
   optMessageManagementVehiclePage(params){
83 87
     return axios.get('/opt/message/management/vehicle/page', {params})
84 88
   },
85
-
86
-
87
-
88
-
89 89
 }

+ 3 - 3
src/pages/index/components/message_management.vue

@@ -218,7 +218,7 @@ export default {
218 218
           key: 'alarmTime'
219 219
         },
220 220
       ],
221
-      tableData2: [{alarmMessage: 'sasa1'}],
221
+      tableData2: [],
222 222
       total2: 0,
223 223
       pageSize2: 10,
224 224
       pageNum2: 1,
@@ -296,7 +296,7 @@ export default {
296 296
   },
297 297
   mounted() {
298 298
     // this.getTableData1()
299
-    // this.getTableData2()
299
+    this.getTableData2()
300 300
     this.getTableData3()
301 301
     this.getTableData4()
302 302
   },
@@ -440,7 +440,7 @@ export default {
440 440
     },
441 441
     getTableData2() {
442 442
       const {pageNum2, pageSize2} = this
443
-      api.gjListByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
443
+      api_l.gjListByPage({current: pageNum2, size: pageSize2, ...this.formInline2}).then(res => {
444 444
         this.tableData2 = res.data.records || []
445 445
         this.total2 = res.data.total
446 446
       })

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

@@ -11,7 +11,7 @@
11 11
                     v-for="(item,index) in carParkingNameOptions"
12 12
                     :key="index"
13 13
                     :label="item.parkName"
14
-                    :value="item.parkName" />
14
+                    :value="item.id" />
15 15
                 </el-select>
16 16
               </el-form-item>
17 17
             </el-col>
@@ -57,7 +57,7 @@
57 57
                     v-for="(item,index) in carParkingNameOptions"
58 58
                     :key="index"
59 59
                     :label="item.parkName"
60
-                    :value="item.parkName" />
60
+                    :value="item.id" />
61 61
                 </el-select>
62 62
               </el-form-item>
63 63
               <el-form-item label="入场时间">
@@ -97,7 +97,7 @@
97 97
                     v-for="(item,index) in carParkingNameOptions"
98 98
                     :key="index"
99 99
                     :label="item.parkName"
100
-                    :value="item.parkId" />
100
+                    :value="item.id" />
101 101
                 </el-select>
102 102
               </el-form-item>
103 103
             </el-col>
@@ -143,7 +143,7 @@
143 143
                     v-for="(item,index) in carParkingNameOptions"
144 144
                     :key="index"
145 145
                     :label="item.parkName"
146
-                    :value="item.parkId" />
146
+                    :value="item.id" />
147 147
                 </el-select>
148 148
               </el-form-item>
149 149
               <el-form-item label="计费方式">
@@ -173,7 +173,7 @@
173 173
                     v-for="(item,index) in carParkingNameOptions"
174 174
                     :key="index"
175 175
                     :label="item.parkName"
176
-                    :value="item.parkId" />
176
+                    :value="item.id" />
177 177
                 </el-select>
178 178
               </el-form-item>
179 179
             </el-col>
@@ -220,7 +220,7 @@
220 220
                     v-for="(item,index) in carParkingNameOptions"
221 221
                     :key="index"
222 222
                     :label="item.parkName"
223
-                    :value="item.parkId" />
223
+                    :value="item.id" />
224 224
                 </el-select>
225 225
               </el-form-item>
226 226
               <el-form-item label="欠费期限(h)">
@@ -256,7 +256,7 @@
256 256
                     v-for="(item,index) in carParkingNameOptions"
257 257
                     :key="index"
258 258
                     :label="item.parkName"
259
-                    :value="item.parkId" />
259
+                    :value="item.id" />
260 260
                 </el-select>
261 261
               </el-form-item>
262 262
             </el-col>
@@ -303,7 +303,7 @@
303 303
                     v-for="(item,index) in carParkingNameOptions"
304 304
                     :key="index"
305 305
                     :label="item.parkName"
306
-                    :value="item.parkId" />
306
+                    :value="item.id" />
307 307
                 </el-select>
308 308
               </el-form-item>
309 309
               <el-form-item label="标识通知">
@@ -381,7 +381,7 @@ export default {
381 381
       columns2: [
382 382
         {
383 383
           label: '车场名称',
384
-          key: 'parkLotId'
384
+          key: 'parkName'
385 385
         },
386 386
         {
387 387
           label: '计费方式',
@@ -415,7 +415,7 @@ export default {
415 415
       columns3: [
416 416
         {
417 417
           label: '停车场名称',
418
-          key: 'parkLotId'
418
+          key: 'parkName'
419 419
         },
420 420
         {
421 421
           label: '欠费期限(h)',
@@ -459,7 +459,7 @@ export default {
459 459
       columns4: [
460 460
         {
461 461
           label: '停车场名称',
462
-          key: 'parkLotId'
462
+          key: 'parkName'
463 463
         },
464 464
         {
465 465
           label: '标识通知',

+ 5 - 5
src/pages/index/components/parking_order.vue

@@ -114,16 +114,16 @@ export default {
114 114
           key: 'orderNo'
115 115
         },
116 116
         {
117
-          label: '支付日期',
118
-          key: 'payTime'
117
+          label: '支付时间',
118
+          key: 'outTime'
119 119
         },
120 120
         {
121 121
           label: '支付金额',
122 122
           key: 'payAmount'
123 123
         },
124 124
         {
125
-          label: '泊位号',
126
-          key: 'parkingNo'
125
+          label: '停车场',
126
+          key: 'parkName'
127 127
         },
128 128
         {
129 129
           label: '车牌号',
@@ -183,7 +183,7 @@ export default {
183 183
         },
184 184
         {
185 185
           label: '所属停车场',
186
-          key: 'carParkName'
186
+          key: 'parkName'
187 187
         },
188 188
         {
189 189
           label: '预约时间',

+ 7 - 7
src/pages/index/components/product_order.vue

@@ -127,7 +127,7 @@ export default {
127 127
         },
128 128
         {
129 129
           label: '支付状态',
130
-          key: 'payStatus'
130
+          key: 'orderStatus'
131 131
         },
132 132
       ],
133 133
       tableData1: [],
@@ -148,8 +148,8 @@ export default {
148 148
           key: 'plateNo'
149 149
         },
150 150
         {
151
-          label: '泊位号',
152
-          key: 'parkingNo'
151
+          label: '停车场',
152
+          key: 'parkName'
153 153
         },
154 154
         {
155 155
           label: '支付金额',
@@ -177,10 +177,10 @@ export default {
177 177
           label: '订单号',
178 178
           key: 'orderNo'
179 179
         },
180
-        {
181
-          label: '泊位号',
182
-          key: 'parkingNo'
183
-        },
180
+        // {
181
+        //   label: '泊位号',
182
+        //   key: 'parkingNo'
183
+        // },
184 184
         {
185 185
           label: '车牌号',
186 186
           key: 'plateNo'

+ 2 - 2
static/mung-local-config.js

@@ -1,7 +1,7 @@
1 1
 window.mungConfig = {
2 2
   dev: {
3
-    //BASE_API: "https://park.lhzhtc.cn/luohe2_ee/api"
4
-    BASE_API: 'https://park.lhzhtc.cn/luohe2_ee/api'
3
+    BASE_API: "http://localhost:16399/luohe2_ee/api"
4
+    // BASE_API: 'https://park.lhzhtc.cn/luohe2_ee/api'
5 5
   },
6 6
   build: {
7 7
     BASE_API: "https://park.lhzhtc.cn/luohe2_ee/api"