diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index 640baae1e..5195479dc 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -27,7 +27,6 @@ 3.5.2 3.5.2 3.18.0 - 2.2.2 1.7.1 diff --git a/yudao-ui-admin-vue3/pnpm-lock.yaml b/yudao-ui-admin-vue3/pnpm-lock.yaml index f9a4ddbfb..9894a9bb8 100644 --- a/yudao-ui-admin-vue3/pnpm-lock.yaml +++ b/yudao-ui-admin-vue3/pnpm-lock.yaml @@ -28,7 +28,7 @@ specifiers: dayjs: ^1.11.6 echarts: ^5.4.0 echarts-wordcloud: ^2.0.0 - element-plus: 2.2.22 + element-plus: 2.2.21 eslint: ^8.27.0 eslint-config-prettier: ^8.5.0 eslint-define-config: ^1.12.0 @@ -92,7 +92,7 @@ dependencies: dayjs: registry.npmmirror.com/dayjs/1.11.6 echarts: registry.npmmirror.com/echarts/5.4.0 echarts-wordcloud: registry.npmmirror.com/echarts-wordcloud/2.0.0_echarts@5.4.0 - element-plus: registry.npmmirror.com/element-plus/2.2.22_vue@3.2.45 + element-plus: registry.npmmirror.com/element-plus/2.2.21_vue@3.2.45 intro.js: registry.npmmirror.com/intro.js/6.0.0 js-cookie: registry.npmmirror.com/js-cookie/3.0.1 jsencrypt: registry.npmmirror.com/jsencrypt/3.3.1 @@ -3645,11 +3645,11 @@ packages: version: 1.4.284 dev: true - registry.npmmirror.com/element-plus/2.2.22_vue@3.2.45: - resolution: {integrity: sha512-gg2g2WOMNpWf0wGesymUvTV0VZDF/4khQKroSNeCV/vWJ/cqssPYdtqfGxTiFRt/f+JpyFkV7O1mo0yzMCzrBg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/element-plus/-/element-plus-2.2.22.tgz} - id: registry.npmmirror.com/element-plus/2.2.22 + registry.npmmirror.com/element-plus/2.2.21_vue@3.2.45: + resolution: {integrity: sha512-wZUePoXZ1zuCkzENK/8mn+mekuLJ9OoGYiudjUujzCf+T8HfOQl+TKQStwOkGBNk93fK8e9YdFIty4jH4AX6dg==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/element-plus/-/element-plus-2.2.21.tgz} + id: registry.npmmirror.com/element-plus/2.2.21 name: element-plus - version: 2.2.22 + version: 2.2.21 peerDependencies: vue: ^3.2.0 dependencies: diff --git a/yudao-ui-admin-vue3/src/api/system/tenant/index.ts b/yudao-ui-admin-vue3/src/api/system/tenant/index.ts index 0eb134d8c..45f1ee48d 100644 --- a/yudao-ui-admin-vue3/src/api/system/tenant/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/tenant/index.ts @@ -1,8 +1,36 @@ import request from '@/config/axios' -import type { TenantVO } from './types' + +export interface TenantVO { + id: number + name: string + packageId: number + contactName: string + contactMobile: string + username: string + password: string + accountCount: number + expireTime: string + domain: string + status: number + createTime: string +} + +export interface TenantPageReqVO extends PageParam { + name?: string + contactName?: string + contactMobile?: string + status?: number +} + +export interface TenantExportReqVO { + name?: string + contactName?: string + contactMobile?: string + status?: number +} // 查询租户列表 -export const getTenantPageApi = (params) => { +export const getTenantPageApi = (params: TenantPageReqVO) => { return request.get({ url: '/system/tenant/page', params }) } @@ -27,6 +55,6 @@ export const deleteTenantApi = (id: number) => { } // 导出租户 -export const exportTenantApi = (params) => { +export const exportTenantApi = (params: TenantExportReqVO) => { return request.download({ url: '/system/tenant/export-excel', params }) } diff --git a/yudao-ui-admin-vue3/src/api/system/tenant/types.ts b/yudao-ui-admin-vue3/src/api/system/tenant/types.ts deleted file mode 100644 index dc19b8e2c..000000000 --- a/yudao-ui-admin-vue3/src/api/system/tenant/types.ts +++ /dev/null @@ -1,14 +0,0 @@ -export type TenantVO = { - id: number - name: string - packageId: number - contactName: string - contactMobile: string - username: string - password: string - accountCount: number - expireTime: string - domain: string - status: number - createTime: string -} diff --git a/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts b/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts index 420cf24a3..9b6fdfc02 100644 --- a/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts +++ b/yudao-ui-admin-vue3/src/api/system/tenantPackage/index.ts @@ -1,8 +1,26 @@ import request from '@/config/axios' -import type { TenantPackageVO } from './types' + +export interface TenantPackageVO { + id: number + name: string + status: number + remark: string + creator: string + createTime: string + updater: string + updateTime: string + menuIds: string[] +} + +export interface TenantPackagePageReqVO extends PageParam { + name?: string + contactName?: string + contactMobile?: string + status?: number +} // 查询租户套餐列表 -export const getTenantPackageTypePageApi = (params) => { +export const getTenantPackageTypePageApi = (params: TenantPackagePageReqVO) => { return request.get({ url: '/system/tenant-package/page', params }) } @@ -25,7 +43,7 @@ export const updateTenantPackageTypeApi = (data: TenantPackageVO) => { export const deleteTenantPackageTypeApi = (id: number) => { return request.delete({ url: '/system/tenant-package/delete?id=' + id }) } -// // 获取租户套餐精简信息列表 +// 获取租户套餐精简信息列表 export const getTenantPackageList = () => { return request.get({ url: '/system/tenant-package/get-simple-list' }) } diff --git a/yudao-ui-admin-vue3/src/api/system/tenantPackage/types.ts b/yudao-ui-admin-vue3/src/api/system/tenantPackage/types.ts deleted file mode 100644 index b67dad77e..000000000 --- a/yudao-ui-admin-vue3/src/api/system/tenantPackage/types.ts +++ /dev/null @@ -1,11 +0,0 @@ -export type TenantPackageVO = { - id: number - name: string - status: number - remark: string - creator: string - createTime: string - updater: string - updateTime: string - menuIds: string[] -} diff --git a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue index 7cc758727..ca9e74ea5 100644 --- a/yudao-ui-admin-vue3/src/views/system/tenant/index.vue +++ b/yudao-ui-admin-vue3/src/views/system/tenant/index.vue @@ -1,79 +1,55 @@