flat:初始化
This commit is contained in:
45
src/types/system/config.d.ts
vendored
Normal file
45
src/types/system/config.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
export interface Config {
|
||||
configId: number;
|
||||
configName: string;
|
||||
configKey: string;
|
||||
configValue: string;
|
||||
configType: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface ConfigListParams {
|
||||
configId?: string;
|
||||
configName?: string;
|
||||
configKey?: string;
|
||||
configValue?: string;
|
||||
configType?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
current?: string;
|
||||
}
|
||||
|
||||
export interface ConfigInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Config;
|
||||
}
|
||||
|
||||
export interface ConfigPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<Config>;
|
||||
}
|
||||
|
||||
}
|
||||
53
src/types/system/dept.d.ts
vendored
Normal file
53
src/types/system/dept.d.ts
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface Dept {
|
||||
deptId: number;
|
||||
parentId: number;
|
||||
ancestors: string;
|
||||
deptName: string;
|
||||
orderNum: number;
|
||||
leader: string;
|
||||
phone: string;
|
||||
email: string;
|
||||
status: string;
|
||||
delFlag: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
}
|
||||
|
||||
export interface DeptListParams {
|
||||
deptId?: string;
|
||||
parentId?: string;
|
||||
ancestors?: string;
|
||||
deptName?: string;
|
||||
orderNum?: string;
|
||||
leader?: string;
|
||||
phone?: string;
|
||||
email?: string;
|
||||
status?: string;
|
||||
delFlag?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
pageSize?: string;
|
||||
current?: string;
|
||||
}
|
||||
|
||||
export interface DeptInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Dept;
|
||||
}
|
||||
|
||||
export interface DeptPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
data: Array<Dept>;
|
||||
}
|
||||
|
||||
}
|
||||
53
src/types/system/dict-data.d.ts
vendored
Normal file
53
src/types/system/dict-data.d.ts
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
declare namespace API.System {
|
||||
interface DictData {
|
||||
dictCode: number;
|
||||
dictSort: number;
|
||||
dictLabel: string;
|
||||
dictValue: string;
|
||||
dictType: string;
|
||||
cssClass: string;
|
||||
listClass: string;
|
||||
isDefault: string;
|
||||
status: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface DictDataListParams {
|
||||
dictCode?: string;
|
||||
dictSort?: string;
|
||||
dictLabel?: string;
|
||||
dictValue?: string;
|
||||
dictType?: string;
|
||||
cssClass?: string;
|
||||
listClass?: string;
|
||||
isDefault?: string;
|
||||
status?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
currentPage?: string;
|
||||
filter?: string;
|
||||
sorter?: string;
|
||||
}
|
||||
|
||||
export interface DictDataInfoResult {
|
||||
current: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
data: DictData;
|
||||
}
|
||||
|
||||
export interface DictDataPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<DictData>;
|
||||
}
|
||||
}
|
||||
48
src/types/system/dict.d.ts
vendored
Normal file
48
src/types/system/dict.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
declare namespace API.System {
|
||||
export interface DictType {
|
||||
dictId: number;
|
||||
dictName: string;
|
||||
dictType: string;
|
||||
status: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface DictTypeListParams {
|
||||
dictId?: string;
|
||||
dictName?: string;
|
||||
dictType?: string;
|
||||
status?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
currentPage?: string;
|
||||
filter?: string;
|
||||
sorter?: string;
|
||||
}
|
||||
|
||||
export interface DictTypeInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Dict;
|
||||
}
|
||||
|
||||
export interface DictTypePageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<Dict>;
|
||||
}
|
||||
|
||||
export interface DictTypeResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Array<Dict>;
|
||||
}
|
||||
}
|
||||
66
src/types/system/menu.d.ts
vendored
Normal file
66
src/types/system/menu.d.ts
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface Menu {
|
||||
menuId: number;
|
||||
menuName: string;
|
||||
parentId: number;
|
||||
orderNum: number;
|
||||
path: string;
|
||||
component: string;
|
||||
query: string;
|
||||
isFrame: number;
|
||||
isCache: number;
|
||||
menuType: string;
|
||||
visible: string;
|
||||
status: string;
|
||||
perms: string;
|
||||
icon: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface MenuListParams {
|
||||
menuId?: string;
|
||||
menuName?: string;
|
||||
parentId?: string;
|
||||
orderNum?: string;
|
||||
path?: string;
|
||||
component?: string;
|
||||
query?: string;
|
||||
isFrame?: string;
|
||||
isCache?: string;
|
||||
menuType?: string;
|
||||
visible?: string;
|
||||
status?: string;
|
||||
perms?: string;
|
||||
icon?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
currentPage?: string;
|
||||
filter?: string;
|
||||
sorter?: string;
|
||||
}
|
||||
|
||||
export interface MenuInfoResult {
|
||||
current: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
data: Menu;
|
||||
}
|
||||
|
||||
export interface MenuPageResult {
|
||||
current: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
data: Array<Menu>;
|
||||
}
|
||||
|
||||
}
|
||||
45
src/types/system/notice.d.ts
vendored
Normal file
45
src/types/system/notice.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
export interface Notice {
|
||||
noticeId: number;
|
||||
noticeTitle: string;
|
||||
noticeType: string;
|
||||
noticeContent: string;
|
||||
status: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface NoticeListParams {
|
||||
noticeId?: string;
|
||||
noticeTitle?: string;
|
||||
noticeType?: string;
|
||||
noticeContent?: string;
|
||||
status?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
current?: string;
|
||||
}
|
||||
|
||||
export interface NoticeInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Notice;
|
||||
}
|
||||
|
||||
export interface NoticePageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<Notice>;
|
||||
}
|
||||
|
||||
}
|
||||
45
src/types/system/post.d.ts
vendored
Normal file
45
src/types/system/post.d.ts
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface Post {
|
||||
postId: number;
|
||||
postCode: string;
|
||||
postName: string;
|
||||
postSort: number;
|
||||
status: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface PostListParams {
|
||||
postId?: string;
|
||||
postCode?: string;
|
||||
postName?: string;
|
||||
postSort?: string;
|
||||
status?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
current?: string;
|
||||
}
|
||||
|
||||
export interface PostInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Post;
|
||||
}
|
||||
|
||||
export interface PostPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<Post>;
|
||||
}
|
||||
|
||||
}
|
||||
65
src/types/system/role.d.ts
vendored
Normal file
65
src/types/system/role.d.ts
vendored
Normal file
@@ -0,0 +1,65 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface Role {
|
||||
roleId: number;
|
||||
roleName: string;
|
||||
roleKey: string;
|
||||
roleSort: number;
|
||||
dataScope: string;
|
||||
menuCheckStrictly: number;
|
||||
deptCheckStrictly: number;
|
||||
status: string;
|
||||
delFlag: string;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface RoleListParams {
|
||||
roleId?: string;
|
||||
roleName?: string;
|
||||
roleKey?: string;
|
||||
roleSort?: string;
|
||||
dataScope?: string;
|
||||
menuCheckStrictly?: string;
|
||||
deptCheckStrictly?: string;
|
||||
status?: string;
|
||||
delFlag?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
current?: string;
|
||||
}
|
||||
|
||||
export interface RoleInfoResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
data: Role;
|
||||
}
|
||||
|
||||
export interface RolePageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<Role>;
|
||||
}
|
||||
|
||||
export type RoleMenuNode = {
|
||||
id: number|string;
|
||||
label: string;
|
||||
children?: Array<RoleMenuNode>;
|
||||
}
|
||||
export interface RoleMenuResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
checkedKeys: number[];
|
||||
menus: Array<RoleMenuNode>;
|
||||
}
|
||||
|
||||
}
|
||||
71
src/types/system/user.d.ts
vendored
Normal file
71
src/types/system/user.d.ts
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
|
||||
declare namespace API.System {
|
||||
|
||||
interface User {
|
||||
userId: number;
|
||||
deptId: number;
|
||||
userName: string;
|
||||
nickName: string;
|
||||
userType: string;
|
||||
email: string;
|
||||
phonenumber: string;
|
||||
sex: string;
|
||||
avatar: string;
|
||||
password: string;
|
||||
status: string;
|
||||
delFlag: string;
|
||||
loginIp: string;
|
||||
loginDate: Date;
|
||||
createBy: string;
|
||||
createTime: Date;
|
||||
updateBy: string;
|
||||
updateTime: Date;
|
||||
remark: string;
|
||||
}
|
||||
|
||||
export interface UserListParams {
|
||||
userId?: string;
|
||||
deptId?: string;
|
||||
userName?: string;
|
||||
nickName?: string;
|
||||
userType?: string;
|
||||
email?: string;
|
||||
phonenumber?: string;
|
||||
sex?: string;
|
||||
avatar?: string;
|
||||
password?: string;
|
||||
status?: string;
|
||||
delFlag?: string;
|
||||
loginIp?: string;
|
||||
loginDate?: string;
|
||||
createBy?: string;
|
||||
createTime?: string;
|
||||
updateBy?: string;
|
||||
updateTime?: string;
|
||||
remark?: string;
|
||||
pageSize?: string;
|
||||
currentPage?: string;
|
||||
filter?: string;
|
||||
sorter?: string;
|
||||
}
|
||||
|
||||
export interface UserInfoResult {
|
||||
current: number;
|
||||
pageSize: number;
|
||||
total: number;
|
||||
data: User;
|
||||
posts: [];
|
||||
postIds: any;
|
||||
roleId: number;
|
||||
roleIds: [];
|
||||
roles: [];
|
||||
}
|
||||
|
||||
export interface UserPageResult {
|
||||
code: number;
|
||||
msg: string;
|
||||
total: number;
|
||||
rows: Array<User>;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user