Migrate old admin modules and local crud deps

Port pages for data forms, score admin, student maintenance,
vacation records, menu routing, and workbench. Add team switching,
dynamic menu loading, viewport scaling, and bundled local fast-crud
packages.
This commit is contained in:
2026-11-02 12:21:25 +08:00
parent 47dd605067
commit 792131228a
232 changed files with 60676 additions and 604 deletions
+7 -2
View File
@@ -19,7 +19,12 @@
// 非相对模块导入的路径映射配置,根据 baseUrl 配置进行路径计算,与 vite.config 中 alias 配置同步
"paths": {
"@/*": ["src/*"],
"@@/*": ["src/common/*"]
"@@/*": ["src/common/*"],
// 新平台二次开发版 fast-crud(构建产物在 lib 目录,与 vite alias 保持一致)
"@fast-crud/fast-crud": ["lib/fast-crud/dist/d/index.d.ts"],
"@fast-crud/fast-crud/*": ["lib/fast-crud/*"],
"@fast-crud/ui-element": ["lib/ui-element/dist/d/index.d.ts"],
"@fast-crud/ui-element/*": ["lib/ui-element/*"]
},
"resolveJsonModule": true,
"types": ["vite/client", "element-plus/global"],
@@ -41,5 +46,5 @@
// 需要被编译的文件列表
"include": ["**/*.ts", "**/*.tsx", "**/*.vue", "**/*.d.ts"],
// 从编译中排除的文件列表
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist", "lib"]
}