feat(projects): 1:恢复岗位页面;2:国际化功能摒弃;
This commit is contained in:
20
src/typings/api/system-manage.d.ts
vendored
20
src/typings/api/system-manage.d.ts
vendored
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user