diff --git a/src/api/parking/instructiondelivery/liftingrod/index.ts b/src/api/parking/instructiondelivery/liftingrod/index.ts index c366916d..fa6134a3 100644 --- a/src/api/parking/instructiondelivery/liftingrod/index.ts +++ b/src/api/parking/instructiondelivery/liftingrod/index.ts @@ -1,41 +1,42 @@ -import request from '@/config/axios' - -// 远程抬杠日志 VO -export interface LiftingRodVO { - id: number // id - parkNumber: string // 停车场编号 - passagewayId: string // 通道Id -} - -// 远程抬杠日志 API -export const LiftingRodApi = { - // 查询远程抬杠日志分页 - getLiftingRodPage: async (params: any) => { - return await request.get({ url: `/parking/lifting-rod/page`, params }) - }, - - // 查询远程抬杠日志详情 - getLiftingRod: async (id: number) => { - return await request.get({ url: `/parking/lifting-rod/get?id=` + id }) - }, - - // 新增远程抬杠日志 - createLiftingRod: async (data: LiftingRodVO) => { - return await request.post({ url: `/parking/lifting-rod/create`, data }) - }, - - // 修改远程抬杠日志 - updateLiftingRod: async (data: LiftingRodVO) => { - return await request.put({ url: `/parking/lifting-rod/update`, data }) - }, - - // 删除远程抬杠日志 - deleteLiftingRod: async (id: number) => { - return await request.delete({ url: `/parking/lifting-rod/delete?id=` + id }) - }, - - // 导出远程抬杠日志 Excel - exportLiftingRod: async (params) => { - return await request.download({ url: `/parking/lifting-rod/export-excel`, params }) - }, -} \ No newline at end of file +import request from '@/config/axios' + +// 远程抬杠日志 VO +export interface LiftingRodVO { + id: number // id + parkNumber: string // 停车场编号 + passagewayId: string // 通道Id + status: number // 状态 +} + +// 远程抬杠日志 API +export const LiftingRodApi = { + // 查询远程抬杠日志分页 + getLiftingRodPage: async (params: any) => { + return await request.get({ url: `/parking/lifting-rod/page`, params }) + }, + + // 查询远程抬杠日志详情 + getLiftingRod: async (id: number) => { + return await request.get({ url: `/parking/lifting-rod/get?id=` + id }) + }, + + // 新增远程抬杠日志 + createLiftingRod: async (data: LiftingRodVO) => { + return await request.post({ url: `/parking/lifting-rod/create`, data }) + }, + + // 修改远程抬杠日志 + updateLiftingRod: async (data: LiftingRodVO) => { + return await request.put({ url: `/parking/lifting-rod/update`, data }) + }, + + // 删除远程抬杠日志 + deleteLiftingRod: async (id: number) => { + return await request.delete({ url: `/parking/lifting-rod/delete?id=` + id }) + }, + + // 导出远程抬杠日志 Excel + exportLiftingRod: async (params) => { + return await request.download({ url: `/parking/lifting-rod/export-excel`, params }) + }, +} diff --git a/src/views/parking/instructiondelivery/liftingrod/LiftingRodForm.vue b/src/views/parking/instructiondelivery/liftingrod/LiftingRodForm.vue index 72b37b1e..31984ae3 100644 --- a/src/views/parking/instructiondelivery/liftingrod/LiftingRodForm.vue +++ b/src/views/parking/instructiondelivery/liftingrod/LiftingRodForm.vue @@ -13,6 +13,11 @@ + + + 请选择字典生成 + +