mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-11-13 22:23:48 +08:00
【V3.5.0】1、【新增】轻量级定时任务 SmartJob;2、【新增】站内信;3、【新增】个人中心;4、【新增】岗位管理;5、【优化】部门员工管理
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* @Description: file content
|
||||
* @Author: yandy
|
||||
* @Date: 2022-07-24 21:43:43
|
||||
* @LastEditors:
|
||||
* @LastEditTime: 2022-07-24 21:43:43
|
||||
*/
|
||||
export const MESSAGE_TYPE_ENUM = {
|
||||
MAIL: {
|
||||
value: 1,
|
||||
desc: '站内信'
|
||||
},
|
||||
ORDER: {
|
||||
value: 2,
|
||||
desc: '订单'
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
export const MESSAGE_RECEIVE_TYPE_ENUM = {
|
||||
EMPLOYEE: {
|
||||
value: 1,
|
||||
desc: '员工'
|
||||
},
|
||||
};
|
||||
|
||||
export default {
|
||||
MESSAGE_TYPE_ENUM,
|
||||
MESSAGE_RECEIVE_TYPE_ENUM
|
||||
};
|
||||
@@ -17,8 +17,10 @@ import file from './support/file-const';
|
||||
import notice from './business/oa/notice-const';
|
||||
import loginLog from './support/login-log-const';
|
||||
import enterprise from './business/oa/enterprise-const';
|
||||
import message from './business/message/message-const';
|
||||
import codeGeneratorConst from './support/code-generator-const';
|
||||
import changeLogConst from './support/change-log-const';
|
||||
import jobConst from './support/job-const.js';
|
||||
|
||||
export default {
|
||||
FLAG_NUMBER_ENUM,
|
||||
@@ -33,6 +35,8 @@ export default {
|
||||
...file,
|
||||
...notice,
|
||||
...enterprise,
|
||||
...message,
|
||||
...codeGeneratorConst,
|
||||
...changeLogConst,
|
||||
...jobConst,
|
||||
};
|
||||
|
||||
@@ -21,3 +21,14 @@ export const LAYOUT_ENUM = {
|
||||
desc: '顶部',
|
||||
},
|
||||
};
|
||||
|
||||
export const PAGE_TAG_ENUM = {
|
||||
DEFAULT: {
|
||||
value: 'default',
|
||||
desc: '默认',
|
||||
},
|
||||
ANTD: {
|
||||
value: 'antd',
|
||||
desc: 'Ant Design',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* job 常量
|
||||
* @type {{CRON: {value: number, desc: string}, FIXED_DELAY: {value: number, desc: string}}}
|
||||
*/
|
||||
export const TRIGGER_TYPE_ENUM = {
|
||||
CRON: {
|
||||
value: 'cron',
|
||||
desc: 'cron表达式',
|
||||
},
|
||||
FIXED_DELAY: {
|
||||
value: 'fixed_delay',
|
||||
desc: '固定间隔',
|
||||
},
|
||||
};
|
||||
|
||||
export default {
|
||||
TRIGGER_TYPE_ENUM,
|
||||
};
|
||||
@@ -40,6 +40,7 @@ export const TABLE_ID_CONST = {
|
||||
SYSTEM: {
|
||||
EMPLOYEE: systemInitTableId + 1, //员工
|
||||
MENU: systemInitTableId + 2, //菜单
|
||||
POSITION:systemInitTableId + 3, //职位
|
||||
},
|
||||
/**
|
||||
* 支撑
|
||||
@@ -53,5 +54,7 @@ export const TABLE_ID_CONST = {
|
||||
LOGIN_LOG: supportInitTableId + 6, //登录日志
|
||||
RELOAD: supportInitTableId + 7, //reload
|
||||
HELP_DOC: supportInitTableId + 8, //帮助文档
|
||||
JOB: supportInitTableId + 9, //Job
|
||||
JOB_LOG: supportInitTableId + 10, //JobLog
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user