diff --git a/src/api/system/tenantPackage/index.ts b/src/api/system/tenantPackage/index.ts index 37f7067a..01d139e2 100644 --- a/src/api/system/tenantPackage/index.ts +++ b/src/api/system/tenantPackage/index.ts @@ -12,15 +12,8 @@ export interface TenantPackageVO { createTime: Date } -export interface TenantPackagePageReqVO extends PageParam { - name?: string - status?: number - remark?: string - createTime?: Date[] -} - // 查询租户套餐列表 -export const getTenantPackageTypePage = (params: TenantPackagePageReqVO) => { +export const getTenantPackagePage = (params: PageParam) => { return request.get({ url: '/system/tenant-package/page', params }) } @@ -30,17 +23,17 @@ export const getTenantPackage = (id: number) => { } // 新增租户套餐 -export const createTenantPackageType = (data: TenantPackageVO) => { +export const createTenantPackage = (data: TenantPackageVO) => { return request.post({ url: '/system/tenant-package/create', data }) } // 修改租户套餐 -export const updateTenantPackageType = (data: TenantPackageVO) => { +export const updateTenantPackage = (data: TenantPackageVO) => { return request.put({ url: '/system/tenant-package/update', data }) } // 删除租户套餐 -export const deleteTenantPackageType = (id: number) => { +export const deleteTenantPackage = (id: number) => { return request.delete({ url: '/system/tenant-package/delete?id=' + id }) } // 获取租户套餐精简信息列表 diff --git a/src/types/auto-components.d.ts b/src/types/auto-components.d.ts index 4b1eb7ef..480691fc 100644 --- a/src/types/auto-components.d.ts +++ b/src/types/auto-components.d.ts @@ -52,6 +52,7 @@ declare module '@vue/runtime-core' { ElForm: typeof import('element-plus/es')['ElForm'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElIcon: typeof import('element-plus/es')['ElIcon'] + ElImage: typeof import('element-plus/es')['ElImage'] ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] ElInput: typeof import('element-plus/es')['ElInput'] ElInputNumber: typeof import('element-plus/es')['ElInputNumber'] @@ -72,7 +73,10 @@ declare module '@vue/runtime-core' { ElTabPane: typeof import('element-plus/es')['ElTabPane'] ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] + ElTimeline: typeof import('element-plus/es')['ElTimeline'] + ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem'] ElTooltip: typeof import('element-plus/es')['ElTooltip'] + ElTransfer: typeof import('element-plus/es')['ElTransfer'] ElTree: typeof import('element-plus/es')['ElTree'] ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect'] ElUpload: typeof import('element-plus/es')['ElUpload'] diff --git a/src/views/system/tenantPackage/form.vue b/src/views/system/tenantPackage/TenantPackageForm.vue similarity index 86% rename from src/views/system/tenantPackage/form.vue rename to src/views/system/tenantPackage/TenantPackageForm.vue index d642402c..089dd55c 100644 --- a/src/views/system/tenantPackage/form.vue +++ b/src/views/system/tenantPackage/TenantPackageForm.vue @@ -1,5 +1,5 @@