-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
628533e
commit 35a4aab
Showing
164 changed files
with
1,462 additions
and
1,425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
vivy-common/vivy-common-core/src/enums/base/base-delete.enums.ts
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
vivy-common/vivy-common-core/src/enums/base/base-is.enums.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* 是否状态 | ||
*/ | ||
export enum BaseIsEnums { | ||
/** | ||
* 否 | ||
*/ | ||
NO = '0', | ||
|
||
/** | ||
* 是 | ||
*/ | ||
YES = '1', | ||
} |
14 changes: 10 additions & 4 deletions
14
vivy-common/vivy-common-core/src/enums/base/base-status.enums.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,20 @@ | ||
/** | ||
* 业务状态(只有两个状态的通用枚举) | ||
* 业务状态 | ||
* @description 表示目前有两个状态的通用枚举(状态是可扩展的) | ||
*/ | ||
export enum BaseStatusEnums { | ||
/** | ||
* 正常/成功/是 | ||
* 正常/成功 | ||
*/ | ||
NORMAL = '0', | ||
|
||
/** | ||
* 停用/失败/否 | ||
* 停用/失败 | ||
*/ | ||
ABNORMAL = '1', | ||
DISABLE = '1', | ||
|
||
/** | ||
* 扩展字段 | ||
*/ | ||
// ARCHIVE = '2', | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export * from './user-status.enums' | ||
export * from './base/base-delete.enums' | ||
export * from './base/base-is.enums' | ||
export * from './base/base-status.enums' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
vivy-modules/vivy-system/src/common/interceptors/log.interceptor.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 3 additions & 2 deletions
5
vivy-modules/vivy-system/src/modules/auth/login/login.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
vivy-modules/vivy-system/src/modules/auth/login/vo/login.vo.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,42 @@ | ||
/** | ||
* 验证码 | ||
*/ | ||
export class ImageCaptchaVo { | ||
/* 验证码 img */ | ||
img: string | ||
|
||
/* 验证码 uuid */ | ||
uuid: string | ||
} | ||
|
||
/** | ||
* 路由树 | ||
*/ | ||
export class RouterTreeVo { | ||
/** 菜单的名字 */ | ||
name: string | ||
|
||
/** 路径,可以设定为网页链接 */ | ||
path: string | ||
|
||
/** 菜单的 icon */ | ||
icon: string | ||
|
||
/** 自定义菜单的国际化 key */ | ||
locale: string | false | ||
|
||
/** 组件路径,通过路径找到组件元素 */ | ||
component: string | ||
|
||
/** 子菜单 */ | ||
children: RouterTreeVo[] | ||
|
||
/** 在菜单中隐藏自己和子节点 */ | ||
hideInMenu: boolean | ||
|
||
/** 在菜单中隐藏子节点 */ | ||
hideChildrenInMenu: boolean | ||
|
||
/** 当此节点被选中的时候也会选中 parentKeys 的节点 */ | ||
parentKeys: string[] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.