|
|
@@ -78,7 +78,7 @@
|
|
|
import { ref, reactive, onMounted } from 'vue'
|
|
|
import { ElMessage, ElMessageBox } from 'element-plus'
|
|
|
import { obtainVehicleLicense, vehicleEntry, vehicleAppear } from '@/api/vehicle'
|
|
|
-import { obtainLotList } from '@/api/pullOver'
|
|
|
+import { obtainPullOverList } from '@/api/pullOver'
|
|
|
|
|
|
const activeTab = ref('entry')
|
|
|
const queryForm = reactive({ plate_number: '', rfid_tag: '' })
|
|
|
@@ -91,7 +91,7 @@ const parkingLotList = ref([])
|
|
|
|
|
|
onMounted(async () => {
|
|
|
try {
|
|
|
- const res = await obtainLotList({ page: 1, pageSize: 100 })
|
|
|
+ const res = await obtainPullOverList({ page: 1, pageSize: 100 })
|
|
|
parkingLotList.value = res.data?.list || []
|
|
|
} catch (e) {
|
|
|
console.error('加载停车场列表失败', e)
|