update 调整格式

This commit is contained in:
Lemon
2023-08-25 15:51:51 +08:00
parent c08c4f4a95
commit 18548fb83d

View File

@@ -296,8 +296,8 @@ export default {
form: {
prefix: '',
},
parkingInfo:{},
parkingInfoList:[],
parkingInfo: {},
parkingInfoList: [],
queryGroundLockQrCode: '',
dialogTitle: '',
qrcodePrefix: '',
@@ -396,7 +396,7 @@ export default {
// 获取停车平台列表
getParkingList() {
getParkingInfoList().then((response) =>{
getParkingInfoList().then((response) => {
console.info("response", response)
this.parkingInfoList = response.obj;
})
@@ -405,7 +405,7 @@ export default {
getParkingInfo(parkingId) {
console.log("parkingId", parkingId)
this.parkingInfoList.forEach(item => {
if (parkingId === item.id){
if (parkingId === item.id) {
console.log("item", item)
this.parkingInfo = item;
// console.log("this.parkingInfo", this.parkingInfo)
@@ -464,7 +464,7 @@ export default {
stationId: this.stationId,
parkingId: parkingId,
}
bindParkingPlatform(params).then(response =>{
bindParkingPlatform(params).then(response => {
console.log("绑定站点与停车平台配置 response", response)
})
},