feat(projects): 1:恢复岗位页面;2:国际化功能摒弃;

This commit is contained in:
2026-04-03 13:42:55 +08:00
parent ef60ebf8b2
commit 74d8e669c0
11 changed files with 684 additions and 21 deletions

View File

@@ -177,6 +177,18 @@ declare namespace Api {
type PostType = 'management' | 'technical' | 'business';
interface Post {
id: number;
name: string;
code?: string | null;
postType?: PostType | null;
levelRank?: number | null;
sort?: number | null;
status: CommonStatus;
remark?: string | null;
createTime: number;
}
interface PostSimple {
id: number;
name: string;
@@ -188,6 +200,14 @@ declare namespace Api {
type PostSimpleList = PostSimple[];
type PostSearchParams = CommonType.RecordNullable<Pick<Post, 'name' | 'code' | 'postType' | 'status'>> & PageParams;
type SavePostParams = Pick<Post, 'name' | 'code' | 'postType' | 'levelRank' | 'sort' | 'status'> & {
remark?: string | null;
};
type PostList = PageResult<Post>;
type RoleSimple = Pick<Role, 'id' | 'name' | 'code' | 'status' | 'sort'>;
type RoleSimpleList = RoleSimple[];