mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
Merge branch 'dev' of https://gitee.com/xlsea/ruoyi-plus-soybean into flow
This commit is contained in:
15
src/typings/api/monitor.api.d.ts
vendored
15
src/typings/api/monitor.api.d.ts
vendored
@ -10,6 +10,9 @@ declare namespace Api {
|
||||
* backend api module: "monitor"
|
||||
*/
|
||||
namespace Monitor {
|
||||
/** 业务操作类型 */
|
||||
type BusinessType = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
||||
|
||||
/** oper log */
|
||||
type OperLog = Common.CommonRecord<{
|
||||
/** 日志主键 */
|
||||
@ -19,13 +22,13 @@ declare namespace Api {
|
||||
/** 系统模块 */
|
||||
title: string;
|
||||
/** 操作类型 */
|
||||
businessType: number;
|
||||
businessType: Monitor.BusinessType;
|
||||
/** 方法名称 */
|
||||
method: string;
|
||||
/** 请求方式 */
|
||||
requestMethod: string;
|
||||
/** 操作类别 */
|
||||
operatorType: number;
|
||||
operatorType: string;
|
||||
/** 操作人员 */
|
||||
operName: string;
|
||||
/** 部门名称 */
|
||||
@ -41,7 +44,7 @@ declare namespace Api {
|
||||
/** 返回参数 */
|
||||
jsonResult: string;
|
||||
/** 操作状态 */
|
||||
status: number;
|
||||
status: Common.EnableStatus;
|
||||
/** 错误消息 */
|
||||
errorMsg: string;
|
||||
/** 操作时间 */
|
||||
@ -70,7 +73,7 @@ declare namespace Api {
|
||||
/** 客户端 */
|
||||
clientKey: string;
|
||||
/** 设备类型 */
|
||||
deviceType: string;
|
||||
deviceType: System.DeviceType;
|
||||
/** 登录IP地址 */
|
||||
ipaddr: string;
|
||||
/** 登录地点 */
|
||||
@ -80,7 +83,7 @@ declare namespace Api {
|
||||
/** 操作系统 */
|
||||
os: string;
|
||||
/** 登录状态(0成功 1失败) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 提示消息 */
|
||||
msg: string;
|
||||
/** 访问时间 */
|
||||
@ -149,7 +152,7 @@ declare namespace Api {
|
||||
/** 所在部门 */
|
||||
deptName: string;
|
||||
/** 设备类型 */
|
||||
deviceType: string;
|
||||
deviceType: System.DeviceType;
|
||||
/** 登录时间 */
|
||||
loginTime: number;
|
||||
/** 令牌ID */
|
||||
|
43
src/typings/api/system.api.d.ts
vendored
43
src/typings/api/system.api.d.ts
vendored
@ -34,7 +34,7 @@ declare namespace Api {
|
||||
/** 显示顺序 */
|
||||
roleSort: number;
|
||||
/** 角色状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 是否管理员 */
|
||||
superAdmin: boolean;
|
||||
}>;
|
||||
@ -115,7 +115,7 @@ declare namespace Api {
|
||||
/** 密码 */
|
||||
password: string;
|
||||
/** 帐号状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 最后登录IP */
|
||||
loginIp: string;
|
||||
/** 最后登录时间 */
|
||||
@ -356,7 +356,7 @@ declare namespace Api {
|
||||
/** 字典键值 */
|
||||
dictValue: string;
|
||||
/** 是否默认(Y是 N否) */
|
||||
isDefault: string;
|
||||
isDefault: Common.YesOrNoStatus;
|
||||
/** 表格回显样式 */
|
||||
listClass: NaiveUI.ThemeColor;
|
||||
/** 备注 */
|
||||
@ -402,7 +402,7 @@ declare namespace Api {
|
||||
/** 邮箱 */
|
||||
email: string;
|
||||
/** 部门状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 子部门 */
|
||||
children: Dept[];
|
||||
}>;
|
||||
@ -440,7 +440,7 @@ declare namespace Api {
|
||||
/** 显示顺序 */
|
||||
postSort: number;
|
||||
/** 状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 备注 */
|
||||
remark: string;
|
||||
}>;
|
||||
@ -476,7 +476,7 @@ declare namespace Api {
|
||||
/** 参数键值 */
|
||||
configValue: string;
|
||||
/** 是否内置 */
|
||||
configType: string;
|
||||
configType: Common.YesOrNoStatus;
|
||||
/** 备注 */
|
||||
remark: string;
|
||||
}>;
|
||||
@ -523,7 +523,7 @@ declare namespace Api {
|
||||
/** 用户数量(-1不限制) */
|
||||
accountCount: number;
|
||||
/** 租户状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 删除标志(0代表存在 1代表删除) */
|
||||
delFlag: string;
|
||||
}>;
|
||||
@ -577,7 +577,7 @@ declare namespace Api {
|
||||
/** 菜单树选择项是否关联显示 */
|
||||
menuCheckStrictly: boolean;
|
||||
/** 状态(0正常 1停用) */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 删除标志(0代表存在 1代表删除) */
|
||||
delFlag: string;
|
||||
}>;
|
||||
@ -602,6 +602,9 @@ declare namespace Api {
|
||||
/** tenant package select list */
|
||||
type TenantPackageSelectList = Common.CommonRecord<Pick<TenantPackage, 'packageId' | 'packageName'>>;
|
||||
|
||||
/** 通知公告类型 */
|
||||
type NoticeType = '1' | '2';
|
||||
|
||||
/** notice */
|
||||
type Notice = Common.CommonRecord<{
|
||||
/** 公告ID */
|
||||
@ -611,11 +614,11 @@ declare namespace Api {
|
||||
/** 公告标题 */
|
||||
noticeTitle: string;
|
||||
/** 公告类型 */
|
||||
noticeType: string;
|
||||
noticeType: System.NoticeType;
|
||||
/** 公告内容 */
|
||||
noticeContent: string;
|
||||
/** 公告状态 */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 创建者 */
|
||||
createByName: string;
|
||||
/** 备注 */
|
||||
@ -635,6 +638,12 @@ declare namespace Api {
|
||||
/** notice list */
|
||||
type NoticeList = Api.Common.PaginatingQueryRecord<Notice>;
|
||||
|
||||
/** 授权类型 */
|
||||
type GrantType = 'password' | 'sms' | 'password' | 'email' | 'xcx' | 'social';
|
||||
|
||||
/** 设备类型 */
|
||||
type DeviceType = 'pc' | 'android' | 'ios' | 'xcx';
|
||||
|
||||
/** client */
|
||||
type Client = Common.CommonRecord<{
|
||||
/** id */
|
||||
@ -646,17 +655,17 @@ declare namespace Api {
|
||||
/** 客户端秘钥 */
|
||||
clientSecret: string;
|
||||
/** 授权类型 */
|
||||
grantType: string;
|
||||
grantType: System.GrantType;
|
||||
/** 授权类型列表 */
|
||||
grantTypeList: string[];
|
||||
grantTypeList: System.GrantType[];
|
||||
/** 设备类型 */
|
||||
deviceType: string;
|
||||
deviceType: System.DeviceType;
|
||||
/** token活跃超时时间 */
|
||||
activeTimeout: number;
|
||||
/** token固定超时 */
|
||||
timeout: number;
|
||||
/** 状态 */
|
||||
status: string;
|
||||
status: Common.EnableStatus;
|
||||
/** 删除标志(0代表存在 1代表删除) */
|
||||
delFlag: string;
|
||||
}>;
|
||||
@ -758,13 +767,13 @@ declare namespace Api {
|
||||
/** 自定义域名 */
|
||||
domain: string;
|
||||
/** 是否https(Y=是,N=否) */
|
||||
isHttps: Api.Common.YesOrNoStatus;
|
||||
isHttps: Common.YesOrNoStatus;
|
||||
/** 域 */
|
||||
region: string;
|
||||
/** 桶权限类型 */
|
||||
accessPolicy: Api.System.OssAccessPolicy;
|
||||
accessPolicy: System.OssAccessPolicy;
|
||||
/** 是否默认(0=是,1=否) */
|
||||
status: Api.Common.EnableStatus;
|
||||
status: Common.EnableStatus;
|
||||
/** 扩展字段 */
|
||||
ext1: string;
|
||||
/** 备注 */
|
||||
|
34
src/typings/app.d.ts
vendored
34
src/typings/app.d.ts
vendored
@ -58,6 +58,10 @@ declare namespace App {
|
||||
/** Whether to show the multilingual */
|
||||
visible: boolean;
|
||||
};
|
||||
globalSearch: {
|
||||
/** Whether to show the GlobalSearch */
|
||||
visible: boolean;
|
||||
};
|
||||
};
|
||||
/** Tab */
|
||||
tab: {
|
||||
@ -109,6 +113,20 @@ declare namespace App {
|
||||
/** Watermark text */
|
||||
text: string;
|
||||
};
|
||||
table: {
|
||||
/** Whether to show the table border */
|
||||
bordered: boolean;
|
||||
/** Whether to show the table bottom border */
|
||||
bottomBordered: boolean;
|
||||
/** Whether to show the table single column */
|
||||
singleColumn: boolean;
|
||||
/** Whether to show the table single line */
|
||||
singleLine: boolean;
|
||||
/** Whether to show the table size */
|
||||
size: UnionKey.ThemeTableSize;
|
||||
/** Whether to show the table striped */
|
||||
striped: boolean;
|
||||
};
|
||||
/** define some theme settings tokens, will transform to css variables */
|
||||
tokens: {
|
||||
light: ThemeSettingToken;
|
||||
@ -401,6 +419,9 @@ declare namespace App {
|
||||
multilingual: {
|
||||
visible: string;
|
||||
};
|
||||
globalSearch: {
|
||||
visible: string;
|
||||
};
|
||||
};
|
||||
tab: {
|
||||
visible: string;
|
||||
@ -426,6 +447,15 @@ declare namespace App {
|
||||
visible: string;
|
||||
text: string;
|
||||
};
|
||||
tablePropsTitle: string;
|
||||
table: {
|
||||
size: { title: string } & Record<UnionKey.ThemeTableSize, string>;
|
||||
bordered: string;
|
||||
bottomBordered: string;
|
||||
singleColumn: string;
|
||||
singleLine: string;
|
||||
striped: string;
|
||||
};
|
||||
themeDrawerTitle: string;
|
||||
pageFunTitle: string;
|
||||
resetCacheStrategy: { title: string } & Record<UnionKey.ResetCacheStrategy, string>;
|
||||
@ -437,6 +467,7 @@ declare namespace App {
|
||||
};
|
||||
};
|
||||
route: Record<I18nRouteKey, string>;
|
||||
dict: Record<string, Record<string, string>>;
|
||||
page: {
|
||||
common: {
|
||||
id: string;
|
||||
@ -680,6 +711,7 @@ declare namespace App {
|
||||
buttonPermissionList: string;
|
||||
emptyMenu: string;
|
||||
menuDetail: string;
|
||||
cascadeDeleteContent: string;
|
||||
iconifyTip: string;
|
||||
isFrameTip: string;
|
||||
isCacheTip: string;
|
||||
@ -691,6 +723,7 @@ declare namespace App {
|
||||
form: {
|
||||
parentId: FormMsg;
|
||||
menuType: FormMsg;
|
||||
menuIds: FormMsg;
|
||||
icon: FormMsg;
|
||||
menuName: FormMsg;
|
||||
orderNum: FormMsg;
|
||||
@ -717,6 +750,7 @@ declare namespace App {
|
||||
addMenu: string;
|
||||
addChildMenu: string;
|
||||
editMenu: string;
|
||||
cascadeDelete: string;
|
||||
};
|
||||
notice: {
|
||||
title: string;
|
||||
|
4
src/typings/components.d.ts
vendored
4
src/typings/components.d.ts
vendored
@ -15,6 +15,7 @@ declare module 'vue' {
|
||||
copy: typeof import('./../components/custom/dept-tree-select copy.vue')['default']
|
||||
CountTo: typeof import('./../components/custom/count-to.vue')['default']
|
||||
DarkModeContainer: typeof import('./../components/common/dark-mode-container.vue')['default']
|
||||
DataTable: typeof import('./../components/common/data-table.vue')['default']
|
||||
DeptTree: typeof import('./../components/custom/dept-tree.vue')['default']
|
||||
DeptTreeSelect: typeof import('./../components/custom/dept-tree-select.vue')['default']
|
||||
DictRadio: typeof import('./../components/custom/dict-radio.vue')['default']
|
||||
@ -64,6 +65,7 @@ declare module 'vue' {
|
||||
NA: typeof import('naive-ui')['NA']
|
||||
NAlert: typeof import('naive-ui')['NAlert']
|
||||
NAvatar: typeof import('naive-ui')['NAvatar']
|
||||
NBadge: typeof import('naive-ui')['NBadge']
|
||||
NBreadcrumb: typeof import('naive-ui')['NBreadcrumb']
|
||||
NBreadcrumbItem: typeof import('naive-ui')['NBreadcrumbItem']
|
||||
NButton: typeof import('naive-ui')['NButton']
|
||||
@ -84,6 +86,7 @@ declare module 'vue' {
|
||||
NDrawerContent: typeof import('naive-ui')['NDrawerContent']
|
||||
NDropdown: typeof import('naive-ui')['NDropdown']
|
||||
NDynamicInput: typeof import('naive-ui')['NDynamicInput']
|
||||
NEllipsis: typeof import('naive-ui')['NEllipsis']
|
||||
NEmpty: typeof import('naive-ui')['NEmpty']
|
||||
NForm: typeof import('naive-ui')['NForm']
|
||||
NFormItem: typeof import('naive-ui')['NFormItem']
|
||||
@ -130,6 +133,7 @@ declare module 'vue' {
|
||||
NUpload: typeof import('naive-ui')['NUpload']
|
||||
NUploadDragger: typeof import('naive-ui')['NUploadDragger']
|
||||
NWatermark: typeof import('naive-ui')['NWatermark']
|
||||
OssUpload: typeof import('./../components/custom/oss-upload.vue')['default']
|
||||
PinToggler: typeof import('./../components/common/pin-toggler.vue')['default']
|
||||
PostSelect: typeof import('./../components/custom/post-select.vue')['default']
|
||||
ReloadButton: typeof import('./../components/common/reload-button.vue')['default']
|
||||
|
9
src/typings/union-key.d.ts
vendored
9
src/typings/union-key.d.ts
vendored
@ -51,6 +51,15 @@ declare namespace UnionKey {
|
||||
*/
|
||||
type ThemeTabMode = import('@sa/materials').PageTabMode;
|
||||
|
||||
/**
|
||||
* The table size
|
||||
*
|
||||
* - small: small size
|
||||
* - medium: medium size
|
||||
* - large: large size
|
||||
*/
|
||||
type ThemeTableSize = 'small' | 'medium' | 'large';
|
||||
|
||||
/** Unocss animate key */
|
||||
type UnoCssAnimateKey =
|
||||
| 'pulse'
|
||||
|
Reference in New Issue
Block a user