From 0e40cd6c249dfce7ae858cfdc8b259c27f4a5ff9 Mon Sep 17 00:00:00 2001 From: XinWei <2718030729@qq.com> Date: Tue, 30 Jul 2024 15:59:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=81=9C=E8=BD=A6=E5=9C=BA-=E8=BF=9C=E7=A8=8B?= =?UTF-8?q?=E6=8A=AC=E6=9D=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/parking/liftingrod/index.ts | 41 ++++ .../parking/liftingrod/LiftingRodForm.vue | 98 +++++++++ src/views/parking/liftingrod/index.vue | 198 ++++++++++++++++++ 3 files changed, 337 insertions(+) create mode 100644 src/api/parking/liftingrod/index.ts create mode 100644 src/views/parking/liftingrod/LiftingRodForm.vue create mode 100644 src/views/parking/liftingrod/index.vue diff --git a/src/api/parking/liftingrod/index.ts b/src/api/parking/liftingrod/index.ts new file mode 100644 index 00000000..0c53f0d5 --- /dev/null +++ b/src/api/parking/liftingrod/index.ts @@ -0,0 +1,41 @@ +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 diff --git a/src/views/parking/liftingrod/LiftingRodForm.vue b/src/views/parking/liftingrod/LiftingRodForm.vue new file mode 100644 index 00000000..7d427519 --- /dev/null +++ b/src/views/parking/liftingrod/LiftingRodForm.vue @@ -0,0 +1,98 @@ + + \ No newline at end of file diff --git a/src/views/parking/liftingrod/index.vue b/src/views/parking/liftingrod/index.vue new file mode 100644 index 00000000..7bee595d --- /dev/null +++ b/src/views/parking/liftingrod/index.vue @@ -0,0 +1,198 @@ + + + \ No newline at end of file