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