67 lines
1.5 KiB
JavaScript
67 lines
1.5 KiB
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.IActionDef = void 0;
|
|
;
|
|
exports.IActionDef = {
|
|
stm: {
|
|
undo: ['normal', 'rollbacked'],
|
|
redo: ['rollbacked', 'normal'],
|
|
},
|
|
is: 'normal',
|
|
};
|
|
const entityDesc = {
|
|
locales: {
|
|
zh_CN: {
|
|
name: '操作',
|
|
attr: {
|
|
action: '动作',
|
|
data: '数据',
|
|
filter: '选择条件',
|
|
extra: '其它',
|
|
operator: '操作者',
|
|
targetEntity: '关联对象',
|
|
bornAt: '诞生时间',
|
|
log: '关联日志',
|
|
undoData: '回滚数据',
|
|
iState: '状态',
|
|
},
|
|
action: {
|
|
undo: '回滚',
|
|
redo: '重做',
|
|
},
|
|
v: {
|
|
iState: {
|
|
normal: '正常的',
|
|
rollbacked: '已回滚',
|
|
}
|
|
}
|
|
},
|
|
},
|
|
style: {
|
|
icon: {
|
|
undo: '',
|
|
redo: '',
|
|
},
|
|
color: {
|
|
iState: {
|
|
normal: '#229954',
|
|
rollbacked: '#2C3E50',
|
|
},
|
|
},
|
|
},
|
|
indexes: [
|
|
{
|
|
name: 'index_bornAt_operatorId',
|
|
attributes: [
|
|
{
|
|
name: 'bornAt',
|
|
direction: 'DESC',
|
|
},
|
|
{
|
|
name: 'operator',
|
|
},
|
|
]
|
|
}
|
|
]
|
|
};
|