mirror of
https://github.com/cool-team-official/cool-admin-vue.git
synced 2024-11-01 06:02:38 +08:00
更新登陆页
This commit is contained in:
parent
9efbce1e5f
commit
ae5c5e2299
File diff suppressed because one or more lines are too long
728
build/cool/temp/service.d.ts
vendored
728
build/cool/temp/service.d.ts
vendored
@ -50,6 +50,36 @@ declare interface RequestOptions {
|
||||
}
|
||||
|
||||
declare interface BaseComm {
|
||||
/**
|
||||
* 修改个人信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
personUpdate(data?: any): Promise<any>;
|
||||
/**
|
||||
* 文件上传模式
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
uploadMode(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限与菜单
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
permmenu(data?: any): Promise<any>;
|
||||
/**
|
||||
* 个人信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
person(data?: any): Promise<any>;
|
||||
/**
|
||||
* 文件上传
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
upload(data?: any): Promise<any>;
|
||||
/**
|
||||
* 退出
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
logout(data?: any): Promise<any>;
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
@ -80,44 +110,51 @@ declare interface BaseComm {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* personUpdate
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
personUpdate(data?: any): Promise<any>;
|
||||
/**
|
||||
* uploadMode
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
uploadMode(data?: any): Promise<any>;
|
||||
/**
|
||||
* permmenu
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
permmenu(data?: any): Promise<any>;
|
||||
/**
|
||||
* logout
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
logout(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
personUpdate: string;
|
||||
uploadMode: string;
|
||||
permmenu: string;
|
||||
person: string;
|
||||
upload: string;
|
||||
logout: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
personUpdate: string;
|
||||
uploadMode: string;
|
||||
permmenu: string;
|
||||
logout: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseOpen {
|
||||
/**
|
||||
* 刷新token
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
refreshToken(data?: any): Promise<any>;
|
||||
/**
|
||||
* 验证码
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
captcha(data?: any): Promise<any>;
|
||||
/**
|
||||
* 登录
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
login(data?: any): Promise<any>;
|
||||
/**
|
||||
* 获得网页内容的参数值
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
html(data?: any): Promise<any>;
|
||||
/**
|
||||
* 实体信息与路径
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
eps(data?: any): Promise<any>;
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
@ -148,55 +185,50 @@ declare interface BaseOpen {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* refreshToken
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
refreshToken(data?: any): Promise<any>;
|
||||
/**
|
||||
* captcha
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
captcha(data?: any): Promise<any>;
|
||||
/**
|
||||
* login
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
login(data?: any): Promise<any>;
|
||||
/**
|
||||
* html
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
html(data?: any): Promise<any>;
|
||||
/**
|
||||
* eps
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
eps(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
refreshToken: string;
|
||||
captcha: string;
|
||||
login: string;
|
||||
html: string;
|
||||
eps: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysDepartment {
|
||||
/**
|
||||
* list
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 排序
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
order(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
@ -207,51 +239,46 @@ declare interface BaseSysDepartment {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* order
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
order(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
order: string;
|
||||
list: string;
|
||||
add: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
order: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysLog {
|
||||
/**
|
||||
* 日志保存时间
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
setKeep(data?: any): Promise<any>;
|
||||
/**
|
||||
* 获得日志保存时间
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
getKeep(data?: any): Promise<any>;
|
||||
/**
|
||||
* 清理
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
clear(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
@ -272,65 +299,50 @@ declare interface BaseSysLog {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* setKeep
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
setKeep(data?: any): Promise<any>;
|
||||
/**
|
||||
* getKeep
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
getKeep(data?: any): Promise<any>;
|
||||
/**
|
||||
* clear
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
clear(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
list: string;
|
||||
setKeep: string;
|
||||
getKeep: string;
|
||||
clear: string;
|
||||
page: string;
|
||||
list: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
setKeep: string;
|
||||
getKeep: string;
|
||||
clear: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysMenu {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
@ -338,93 +350,93 @@ declare interface BaseSysMenu {
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
info: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysParam {
|
||||
/**
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 获得网页内容的参数值
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
html(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* html
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
html(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
update: string;
|
||||
html: string;
|
||||
info: string;
|
||||
page: string;
|
||||
add: string;
|
||||
list: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysRole {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
@ -432,62 +444,62 @@ declare interface BaseSysRole {
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
info: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface BaseSysUser {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* move
|
||||
* 移动部门
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
move(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
move: string;
|
||||
info: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
move: string;
|
||||
};
|
||||
}
|
||||
|
||||
@ -522,6 +534,16 @@ declare interface ChatChat {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* translate
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
translate(data?: any): Promise<any>;
|
||||
/**
|
||||
* timeOut
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
timeOut(data?: any): Promise<any>;
|
||||
/**
|
||||
* getChatChannelUser
|
||||
* @returns Promise<any>
|
||||
@ -562,6 +584,11 @@ declare interface ChatChat {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
setReply(data?: any): Promise<any>;
|
||||
/**
|
||||
* setLabel
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
setLabel(data?: any): Promise<any>;
|
||||
/**
|
||||
* setWork
|
||||
* @returns Promise<any>
|
||||
@ -572,11 +599,21 @@ declare interface ChatChat {
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
setStar(data?: any): Promise<any>;
|
||||
/**
|
||||
* sendMsg
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
sendMsg(data?: any): Promise<any>;
|
||||
/**
|
||||
* inChat
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
inChat(data?: any): Promise<any>;
|
||||
/**
|
||||
* remark
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
remark(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
@ -587,6 +624,8 @@ declare interface ChatChat {
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
translate: string;
|
||||
timeOut: string;
|
||||
getChatChannelUser: string;
|
||||
checkingSetReply: string;
|
||||
changePrincipal: string;
|
||||
@ -595,9 +634,12 @@ declare interface ChatChat {
|
||||
addHelper: string;
|
||||
setBlack: string;
|
||||
setReply: string;
|
||||
setLabel: string;
|
||||
setWork: string;
|
||||
setStar: string;
|
||||
sendMsg: string;
|
||||
inChat: string;
|
||||
remark: string;
|
||||
};
|
||||
}
|
||||
|
||||
@ -691,32 +733,32 @@ declare interface ChatSession {
|
||||
|
||||
declare interface DemoGoods {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
@ -724,11 +766,11 @@ declare interface DemoGoods {
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
update: string;
|
||||
info: string;
|
||||
page: string;
|
||||
list: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
@ -1497,32 +1539,32 @@ declare interface ShopReply {
|
||||
|
||||
declare interface SpaceInfo {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
@ -1530,43 +1572,43 @@ declare interface SpaceInfo {
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
info: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
|
||||
declare interface SpaceType {
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 列表查询
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
@ -1574,11 +1616,11 @@ declare interface SpaceType {
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
delete: string;
|
||||
update: string;
|
||||
info: string;
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
};
|
||||
}
|
||||
@ -2136,70 +2178,70 @@ declare interface SysWarehouse {
|
||||
}
|
||||
|
||||
declare interface TaskInfo {
|
||||
/**
|
||||
* 删除
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* 修改
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* 开始
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
start(data?: any): Promise<any>;
|
||||
/**
|
||||
* 执行一次
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
once(data?: any): Promise<any>;
|
||||
/**
|
||||
* 停止
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
stop(data?: any): Promise<any>;
|
||||
/**
|
||||
* 单个信息
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* 分页查询
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* 日志
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
log(data?: any): Promise<any>;
|
||||
/**
|
||||
* 新增
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* list
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
list(data?: any): Promise<any>;
|
||||
/**
|
||||
* page
|
||||
* @returns Promise<PageResponse>
|
||||
*/
|
||||
page(data?: any): Promise<PageResponse>;
|
||||
/**
|
||||
* info
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
info(data?: any): Promise<any>;
|
||||
/**
|
||||
* update
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
update(data?: any): Promise<any>;
|
||||
/**
|
||||
* delete
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
delete(data?: any): Promise<any>;
|
||||
/**
|
||||
* add
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
add(data?: any): Promise<any>;
|
||||
/**
|
||||
* start
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
start(data?: any): Promise<any>;
|
||||
/**
|
||||
* once
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
once(data?: any): Promise<any>;
|
||||
/**
|
||||
* stop
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
stop(data?: any): Promise<any>;
|
||||
/**
|
||||
* log
|
||||
* @returns Promise<any>
|
||||
*/
|
||||
log(data?: any): Promise<any>;
|
||||
/**
|
||||
* 权限
|
||||
*/
|
||||
permission: {
|
||||
list: string;
|
||||
page: string;
|
||||
info: string;
|
||||
update: string;
|
||||
delete: string;
|
||||
add: string;
|
||||
update: string;
|
||||
start: string;
|
||||
once: string;
|
||||
stop: string;
|
||||
info: string;
|
||||
page: string;
|
||||
log: string;
|
||||
add: string;
|
||||
list: string;
|
||||
};
|
||||
}
|
||||
|
||||
|
9274
package-lock.json
generated
Normal file
9274
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -9,7 +9,7 @@
|
||||
"lint:eslint": "eslint \"{src,mock}/**/*.{vue,ts,tsx}\" --fix"
|
||||
},
|
||||
"dependencies": {
|
||||
"@cool-vue/crud": "^5.2.2",
|
||||
"@cool-vue/crud": "^5.2.3",
|
||||
"@element-plus/icons-vue": "^1.1.3",
|
||||
"@vueuse/core": "^8.2.5",
|
||||
"axios": "^0.27.2",
|
||||
|
@ -117,13 +117,9 @@ export default defineComponent({
|
||||
await menu.get();
|
||||
|
||||
// 跳转地址
|
||||
const path = menu.getPath();
|
||||
menu.getPath();
|
||||
|
||||
if (path) {
|
||||
router.push(path);
|
||||
} else {
|
||||
ElMessage.error("该账号没有权限!");
|
||||
}
|
||||
router.push("/");
|
||||
} catch (err: any) {
|
||||
refs.value.captcha.refresh();
|
||||
ElMessage.error(err.message);
|
||||
|
@ -984,10 +984,10 @@
|
||||
"@babel/helper-validator-identifier" "^7.16.7"
|
||||
to-fast-properties "^2.0.0"
|
||||
|
||||
"@cool-vue/crud@^5.2.2":
|
||||
version "5.2.2"
|
||||
resolved "https://registry.npmjs.org/@cool-vue/crud/-/crud-5.2.2.tgz#7387343d23066ee4d5b441f4f05f413bff50b6d8"
|
||||
integrity sha512-u+NCjUIap2g4H+tapzBVGRqRdMqUDDFDhWHsatiLu2KgYPG7THvMhmcf1jkPaa24vImBsB1yKPG63lweL5kzjw==
|
||||
"@cool-vue/crud@^5.2.3":
|
||||
version "5.2.3"
|
||||
resolved "https://registry.npmjs.org/@cool-vue/crud/-/crud-5.2.3.tgz#05e24d484e7748b71f4dcdf5649fd297113a6ee5"
|
||||
integrity sha512-LWrfEnFVkIZyVUdCI/hsF3Kl4v0BrsweHMXYW7WBpfDEG/IR9n2mYTZPqFXjlqgX/vWux4YXmD0pg1cIAN2bMQ==
|
||||
dependencies:
|
||||
array.prototype.flat "^1.2.4"
|
||||
core-js "^3.21.1"
|
||||
|
Loading…
Reference in New Issue
Block a user