351f18f255
* feat:新增暂停功能 (#416) * feat:新增暂停功能 * feat: 修改状态相关功能 (#433) Co-authored-by: luchunhui <luchunhui@didiglobal.com> * fix: 修改刷数据逻辑错误和环境变量问题 * fix: 解决lint问题 --------- Co-authored-by: chaorenluo <1243357953@qq.com> Co-authored-by: luchunhui <luchunhui@didiglobal.com>
20 lines
446 B
TypeScript
20 lines
446 B
TypeScript
// 状态类型
|
|
export enum RECORD_STATUS {
|
|
NEW = 'new', // 新建 | 未发布
|
|
PUBLISHED = 'published', // 发布
|
|
EDITING = 'editing', // 编辑
|
|
FINISHED = 'finished', // 已结束
|
|
REMOVED = 'removed',
|
|
}
|
|
|
|
export const enum RECORD_SUB_STATUS {
|
|
DEFAULT = '', // 默认
|
|
PAUSING = 'pausing', // 暂停
|
|
}
|
|
|
|
// 历史类型
|
|
export enum HISTORY_TYPE {
|
|
DAILY_HIS = 'dailyHis', //保存历史
|
|
PUBLISH_HIS = 'publishHis', //发布历史
|
|
}
|