mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-10-09 02:57:35 +00:00
chore: 完成多批次代码优化与重构
- 重构工作流模块目录结构,迁移代码文件 - 修复类型断言空值安全问题,添加 ! 操作符 - 优化样式类名,替换 flex-cc 为标准 flex 工具类 - 更新路由标签简化文案,移除冗余注释 - 调整 ruff 配置,放宽行长度限制 - 更新 README 与多语言文案,优化项目描述 - 修复表单、图表组件的类型与样式问题 - 简化搜索表单、数据卡片的布局代码
This commit is contained in:
@@ -53,10 +53,8 @@ const DeptAPI = {
|
||||
|
||||
export default DeptAPI;
|
||||
|
||||
export interface DeptPageQuery {
|
||||
export interface DeptPageQuery extends UserByQueryParams {
|
||||
name?: string;
|
||||
status?: string;
|
||||
created_time?: string[];
|
||||
}
|
||||
|
||||
export interface DeptTable extends BaseType {
|
||||
@@ -69,6 +67,8 @@ export interface DeptTable extends BaseType {
|
||||
parent_id?: number;
|
||||
parent_name?: string;
|
||||
children?: DeptTable[];
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
export interface DeptForm extends BaseFormType {
|
||||
@@ -78,4 +78,7 @@ export interface DeptForm extends BaseFormType {
|
||||
phone?: string;
|
||||
email?: string;
|
||||
parent_id?: number;
|
||||
order?: number;
|
||||
status?: number;
|
||||
description?: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user