diff --git a/apps/web-antd/.env b/apps/web-antd/.env index 2c7c63cac8bc8c12570d129a70b10f38c4a8fff8..71c86e4414fc3b6e37d0cb0a51560e1f42f3e529 100644 --- a/apps/web-antd/.env +++ b/apps/web-antd/.env @@ -1,5 +1,5 @@ # 应用标题 -VITE_APP_TITLE=Plus Admin +VITE_APP_TITLE=特能博世人力资源管理系统 # 应用命名空间,用于缓存、store等功能的前缀,确保隔离 -VITE_APP_NAMESPACE=vben-web-antd +VITE_APP_NAMESPACE=vben-web-antd-hr diff --git a/apps/web-antd/src/adapter/vxe-table.ts b/apps/web-antd/src/adapter/vxe-table.ts index 518f27d9eefbf30c6236dfd35354facc5db0d795..eeef8e1836f3c0ea96835d3b73a32d1903002c0b 100644 --- a/apps/web-antd/src/adapter/vxe-table.ts +++ b/apps/web-antd/src/adapter/vxe-table.ts @@ -31,7 +31,7 @@ setupVbenVxeTable({ showOverflow: true, pagerConfig: { // 默认条数 - pageSize: 10, + pageSize: 20, // 分页可选条数 pageSizes: [10, 20, 30, 40, 50], }, @@ -62,7 +62,7 @@ setupVbenVxeTable({ // 圆角按钮 round: true, // 表格尺寸 - size: 'medium', + size: 'mini', customConfig: { // 表格右上角自定义列配置 是否保存到localStorage // 必须存在id参数才能使用 diff --git a/apps/web-antd/src/preferences.ts b/apps/web-antd/src/preferences.ts index 16d86d7ee3b3b59466b59363f3464a079107fd1c..7f2376ce613df885af422292f1756adaf1cf8fa0 100644 --- a/apps/web-antd/src/preferences.ts +++ b/apps/web-antd/src/preferences.ts @@ -45,5 +45,9 @@ export const overridesPreferences = defineOverridesPreferences({ * 浅色sidebar */ semiDarkSidebar: false, + radius: '0.25', + }, + breadcrumb: { + styleType: 'background', }, }); diff --git a/apps/web-antd/src/router/access.ts b/apps/web-antd/src/router/access.ts index 6990ba8b2ffc593da1ea2cebe53aedf40845a651..0921b8df95b5bc914ca733d93b7fedf80ea2f1f9 100644 --- a/apps/web-antd/src/router/access.ts +++ b/apps/web-antd/src/router/access.ts @@ -207,7 +207,6 @@ async function generateAccess(options: GenerateMenuAndRoutesOptions) { const vbenMenuList = backMenuToVbenMenu(backMenuList); // 特别注意 这里要深拷贝 const menuList = [...cloneDeep(localMenuList), ...vbenMenuList]; - console.log('menuList', menuList); return menuList; }, // 可以指定没有权限跳转403页面 diff --git a/apps/web-antd/src/views/_core/authentication/login.vue b/apps/web-antd/src/views/_core/authentication/login.vue index 8dffd3f1f3e17334c69ebc9bfe05996f2b9f4e72..985e1a4306779ba7907405ae809f82760f8c057f 100644 --- a/apps/web-antd/src/views/_core/authentication/login.vue +++ b/apps/web-antd/src/views/_core/authentication/login.vue @@ -12,8 +12,6 @@ import { tenantList, type TenantResp } from '#/api'; import { captchaImage, type CaptchaResponse } from '#/api/core/captcha'; import { useAuthStore } from '#/store'; -import OAuthLogin from './oauth-login.vue'; - defineOptions({ name: 'Login' }); const authStore = useAuthStore(); @@ -152,11 +150,10 @@ async function handleAccountLogin(values: LoginAndRegisterParams) { ref="loginFormRef" :form-schema="formSchema" :loading="authStore.loginLoading" + :show-code-login="false" + :show-qrcode-login="false" :show-register="false" + :show-third-party-login="false" @submit="handleAccountLogin" - > - - - - + /> diff --git a/apps/web-antd/src/views/demo/demo/api/index.ts b/apps/web-antd/src/views/demo/demo/api/index.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/demo/api/model.d.ts b/apps/web-antd/src/views/demo/demo/api/model.d.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/demo/data.ts b/apps/web-antd/src/views/demo/demo/data.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/demo/demo-modal.vue b/apps/web-antd/src/views/demo/demo/demo-modal.vue old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/tree/api/index.ts b/apps/web-antd/src/views/demo/tree/api/index.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/tree/api/model.d.ts b/apps/web-antd/src/views/demo/tree/api/model.d.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/tree/data.ts b/apps/web-antd/src/views/demo/tree/data.ts old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/demo/tree/tree-modal.vue b/apps/web-antd/src/views/demo/tree/tree-modal.vue old mode 100755 new mode 100644 diff --git a/apps/web-antd/src/views/system/client/index.vue b/apps/web-antd/src/views/system/client/index.vue index 8ff96d4248e6b5d442ebfbdac9164db571fb4931..55e1bc291e481575062389a9677e697245804ee3 100644 --- a/apps/web-antd/src/views/system/client/index.vue +++ b/apps/web-antd/src/views/system/client/index.vue @@ -33,6 +33,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/config/config-modal.vue b/apps/web-antd/src/views/system/config/config-modal.vue index 9569f0c5861e22973aa49748758e68b767d7915a..7e3f7af8aae4e0426bdc836944c5f869da82e3d7 100644 --- a/apps/web-antd/src/views/system/config/config-modal.vue +++ b/apps/web-antd/src/views/system/config/config-modal.vue @@ -27,6 +27,7 @@ const [BasicForm, formApi] = useVbenForm({ const [BasicModal, modalApi] = useVbenModal({ fullscreenButton: false, + draggable: true, onCancel: handleCancel, onConfirm: handleConfirm, onOpenChange: async (isOpen) => { diff --git a/apps/web-antd/src/views/system/dept/index.vue b/apps/web-antd/src/views/system/dept/index.vue index 94aa5ac988d53b58a325b8f59d1ed75c783f2c62..34e58b0d95438adb9c9e51543396af67006ec58e 100644 --- a/apps/web-antd/src/views/system/dept/index.vue +++ b/apps/web-antd/src/views/system/dept/index.vue @@ -26,6 +26,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/dict/data/index.vue b/apps/web-antd/src/views/system/dict/data/index.vue index e2d0c48e210864e3ebcc4512999ea872ace74771..88fff428737f930536e3005308c322c13ca72d2c 100644 --- a/apps/web-antd/src/views/system/dict/data/index.vue +++ b/apps/web-antd/src/views/system/dict/data/index.vue @@ -34,6 +34,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3', }; diff --git a/apps/web-antd/src/views/system/dict/index.vue b/apps/web-antd/src/views/system/dict/index.vue index c98d347a40a9c876d8874b8eb31c247a748dc1df..94ba1cdc3125c23337859b7bd4c2b51d30819ce8 100644 --- a/apps/web-antd/src/views/system/dict/index.vue +++ b/apps/web-antd/src/views/system/dict/index.vue @@ -8,7 +8,7 @@ import DictTypePanel from './type/index.vue'; diff --git a/apps/web-antd/src/views/system/dict/type/index.vue b/apps/web-antd/src/views/system/dict/type/index.vue index 9568771dee7c1007d8039510552bf42a67c04388..86232c41dd825e8542cdd1d6a5a3c4de55f521c0 100644 --- a/apps/web-antd/src/views/system/dict/type/index.vue +++ b/apps/web-antd/src/views/system/dict/type/index.vue @@ -44,6 +44,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3', }; diff --git a/apps/web-antd/src/views/system/menu/index.vue b/apps/web-antd/src/views/system/menu/index.vue index 0204f50c57d1e40d3c1eaaca72b46775c73d79d2..ed9d8188dbc28dd70cf89061667c4dff73209db3 100644 --- a/apps/web-antd/src/views/system/menu/index.vue +++ b/apps/web-antd/src/views/system/menu/index.vue @@ -32,6 +32,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/notice/index.vue b/apps/web-antd/src/views/system/notice/index.vue index 348e94a8f18cad34d2743c60a15f7acfc87af07a..dc9fe0d87f21eaba5499b1a401f37e2562117f27 100644 --- a/apps/web-antd/src/views/system/notice/index.vue +++ b/apps/web-antd/src/views/system/notice/index.vue @@ -26,6 +26,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/oss/index.vue b/apps/web-antd/src/views/system/oss/index.vue index 1d0931e4d13b6c15fc053598c8f305b008e3eaac..4a4111d9936aa3b59f77666b3f8c8909d7302cfd 100644 --- a/apps/web-antd/src/views/system/oss/index.vue +++ b/apps/web-antd/src/views/system/oss/index.vue @@ -40,6 +40,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + collapsed: true, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/post/index.vue b/apps/web-antd/src/views/system/post/index.vue index 807c03236fd0e197e74d6665b43b1f2385e349c8..e3a85b4dfbf8005098871ecd2c66e67ccb130ab9 100644 --- a/apps/web-antd/src/views/system/post/index.vue +++ b/apps/web-antd/src/views/system/post/index.vue @@ -30,6 +30,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + showCollapseButton: false, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', handleReset: async () => { diff --git a/apps/web-antd/src/views/system/role/index.vue b/apps/web-antd/src/views/system/role/index.vue index 9a414d111d3c203917dcaba4058be2158f28859c..faebfdae7a1e086a83d668498d4cf2e6af0032a6 100644 --- a/apps/web-antd/src/views/system/role/index.vue +++ b/apps/web-antd/src/views/system/role/index.vue @@ -48,6 +48,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + collapsed: true, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/role/role-drawer.vue b/apps/web-antd/src/views/system/role/role-drawer.vue index 01f4d6373c9b9ae252fcd0d5d9243d4a4d01b1a7..28e43bd0f5f7a50eb7ae23799b46eebb58562786 100644 --- a/apps/web-antd/src/views/system/role/role-drawer.vue +++ b/apps/web-antd/src/views/system/role/role-drawer.vue @@ -26,7 +26,6 @@ const [BasicForm, formApi] = useVbenForm({ }, formItemClass: 'col-span-2', }, - layout: 'vertical', schema: drawerSchema(), showDefaultActions: false, wrapperClass: 'grid-cols-2', diff --git a/apps/web-antd/src/views/system/tenant/index.vue b/apps/web-antd/src/views/system/tenant/index.vue index 46c1dabcc3531689c2caae1a733bb45be3efbcd4..46413e290c8e3a5d61b272143436439aa22979ea 100644 --- a/apps/web-antd/src/views/system/tenant/index.vue +++ b/apps/web-antd/src/views/system/tenant/index.vue @@ -37,6 +37,7 @@ const formOptions: VbenFormProps = { allowClear: true, }, }, + collapsed: true, schema: querySchema(), wrapperClass: 'grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4', }; diff --git a/apps/web-antd/src/views/system/user/index.vue b/apps/web-antd/src/views/system/user/index.vue index a1691c4fcbdc692f593de5f689cee943cdfa0e4a..3857903f2c02a80f1609fca658c58feffcaff582 100644 --- a/apps/web-antd/src/views/system/user/index.vue +++ b/apps/web-antd/src/views/system/user/index.vue @@ -61,6 +61,7 @@ function handleImport() { const selectDeptId = ref([]); const formOptions: VbenFormProps = { + collapsed: true, schema: querySchema(), commonConfig: { labelWidth: 80, diff --git a/apps/web-antd/src/views/tool/gen/index.vue b/apps/web-antd/src/views/tool/gen/index.vue index 63464069f5e76907e5a49199164f9ba9697b0e6f..4baffb19b3f2a87291f9238c2d1786f9bd02b36f 100644 --- a/apps/web-antd/src/views/tool/gen/index.vue +++ b/apps/web-antd/src/views/tool/gen/index.vue @@ -213,12 +213,6 @@ function handleImport() { - 👉关于代码生成模板 - { $slots.extra " ref="headerRef" - class="bg-card relative px-6 py-4" + class="bg-card relative px-4 py-2" > @@ -83,19 +83,19 @@ onMounted(() => { - + - +