diff --git a/src/api/parking/fixedvehiclerenewalrecord/index.ts b/src/api/parking/fixedvehiclerenewalrecord/index.ts new file mode 100644 index 00000000..4b99c9a4 --- /dev/null +++ b/src/api/parking/fixedvehiclerenewalrecord/index.ts @@ -0,0 +1,53 @@ +import request from '@/config/axios' + +// 固定车续费记录 VO +export interface FixedVehicleRenewalRecordVO { + id: number // id + parkNumber: string // 场库编号 + method: string // 接口名称 + size: number // 集合大小 + plate: string // 车牌 + carGroupName: string // 固定车组名称 + payTime: string // 支付时间 + payCharge: string // 续费金额 + number: number // 车位号 + feeMonth: string // 续费时长 + end: string // 过期日期 + placeFeeOrderRecId: string // 续费订单号 + carOwnerName: string // 车主名称 + payType: string // 支付类型 + orderNo: string // 支付流水号 +} + +// 固定车续费记录 API +export const FixedVehicleRenewalRecordApi = { + // 查询固定车续费记录分页 + getFixedVehicleRenewalRecordPage: async (params: any) => { + return await request.get({ url: `/parking/fixed-vehicle-renewal-record/page`, params }) + }, + + // 查询固定车续费记录详情 + getFixedVehicleRenewalRecord: async (id: number) => { + return await request.get({ url: `/parking/fixed-vehicle-renewal-record/get?id=` + id }) + }, + + // 新增固定车续费记录 + createFixedVehicleRenewalRecord: async (data: FixedVehicleRenewalRecordVO) => { + return await request.post({ url: `/parking/fixed-vehicle-renewal-record/create`, data }) + }, + + // 修改固定车续费记录 + updateFixedVehicleRenewalRecord: async (data: FixedVehicleRenewalRecordVO) => { + return await request.put({ url: `/parking/fixed-vehicle-renewal-record/update`, data }) + }, + + // 删除固定车续费记录 + deleteFixedVehicleRenewalRecord: async (id: number) => { + return await request.delete({ url: `/parking/fixed-vehicle-renewal-record/delete?id=` + id }) + }, + + // 导出固定车续费记录 Excel + exportFixedVehicleRenewalRecord: async (params) => { + return await request.download({ url: `/parking/fixed-vehicle-renewal-record/export-excel`, params }) + }, +} \ No newline at end of file diff --git a/src/views/parking/fixedvehiclerenewalrecord/FixedVehicleRenewalRecordForm.vue b/src/views/parking/fixedvehiclerenewalrecord/FixedVehicleRenewalRecordForm.vue new file mode 100644 index 00000000..873fc8f5 --- /dev/null +++ b/src/views/parking/fixedvehiclerenewalrecord/FixedVehicleRenewalRecordForm.vue @@ -0,0 +1,165 @@ + + \ No newline at end of file diff --git a/src/views/parking/fixedvehiclerenewalrecord/index.vue b/src/views/parking/fixedvehiclerenewalrecord/index.vue new file mode 100644 index 00000000..ba4e9f81 --- /dev/null +++ b/src/views/parking/fixedvehiclerenewalrecord/index.vue @@ -0,0 +1,333 @@ + + + \ No newline at end of file