chore: 清理冗余代码与配置,优化项目结构

1.  删除无用文件与废弃代码:移除locale枚举、element-plus插件、sse路由、api token模块等
2.  简化类型导入与依赖:移除大量未使用的类型导入,统一echarts导入方式
3.  优化配置与样式:调整gitignore、样式引入顺序,新增列表动画样式
4.  修复接口与模型:修正接口返回类型、查询参数配置,更新部门模型字段
5.  优化性能与体验:添加图片懒加载,优化加载逻辑与表格渲染
6.  调整环境配置:新增并更新开发/生产环境配置文件
This commit is contained in:
zhangtao
2026-07-23 20:49:52 +08:00
parent 096e2216d6
commit 0ce31936aa
360 changed files with 8072 additions and 22122 deletions
+3 -3
View File
@@ -12,7 +12,7 @@ const DictAPI = {
},
optionDictType() {
return request<ApiResponse>({
return request<ApiResponse<DictTable[]>>({
url: `${API_PATH}/type/optionselect`,
method: "get",
});
@@ -132,13 +132,13 @@ const DictAPI = {
export default DictAPI;
export interface DictPageQuery extends PageQuery, UserByQueryParams {
export interface DictPageQuery extends PageQuery {
dict_name?: string;
dict_type?: string;
status?: number;
}
export interface DictDataPageQuery extends PageQuery, UserByQueryParams {
export interface DictDataPageQuery extends PageQuery {
dict_label?: string;
dict_type?: string;
dict_type_id?: number;