You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
88 lines
1.7 KiB
88 lines
1.7 KiB
import { DescItem } from "/@/components/Description";
|
|
import { useLocalization } from '/@/hooks/abp/useLocalization';
|
|
|
|
const { L } = useLocalization('TaskManagement');
|
|
|
|
export function getDescriptionSchemas() : DescItem[] {
|
|
return [
|
|
{
|
|
label: L('DisplayName:Group'),
|
|
field: 'group',
|
|
},
|
|
{
|
|
label: L('DisplayName:Name'),
|
|
field: 'name',
|
|
},
|
|
{
|
|
label: L('DisplayName:Type'),
|
|
field: 'type',
|
|
},
|
|
{
|
|
label: L('DisplayName:CreationTime'),
|
|
field: 'creationTime',
|
|
},
|
|
{
|
|
label: L('DisplayName:BeginTime'),
|
|
field: 'beginTime',
|
|
},
|
|
{
|
|
label: L('DisplayName:EndTime'),
|
|
field: 'endTime',
|
|
},
|
|
{
|
|
label: L('DisplayName:LockTimeOut'),
|
|
field: 'lockTimeOut',
|
|
span: 1,
|
|
},
|
|
{
|
|
label: L('DisplayName:Description'),
|
|
field: 'description',
|
|
span: 2,
|
|
},
|
|
{
|
|
label: L('DisplayName:LastRunTime'),
|
|
field: 'lastRunTime',
|
|
span: 1.5,
|
|
},
|
|
{
|
|
label: L('DisplayName:NextRunTime'),
|
|
field: 'nextRunTime',
|
|
span: 1.5,
|
|
},
|
|
{
|
|
label: L('DisplayName:Status'),
|
|
field: 'status',
|
|
span: 1,
|
|
},
|
|
{
|
|
label: L('DisplayName:JobType'),
|
|
field: 'jobType',
|
|
span: 1,
|
|
},
|
|
{
|
|
label: L('DisplayName:Priority'),
|
|
field: 'priority',
|
|
span: 1,
|
|
},
|
|
{
|
|
label: L('DisplayName:TriggerCount'),
|
|
field: 'triggerCount',
|
|
span: 0.75,
|
|
},
|
|
{
|
|
label: L('DisplayName:MaxCount'),
|
|
field: 'maxCount',
|
|
span: 0.75,
|
|
},
|
|
{
|
|
label: L('DisplayName:TryCount'),
|
|
field: 'tryCount',
|
|
span: 0.75,
|
|
},
|
|
{
|
|
label: L('DisplayName:MaxTryCount'),
|
|
field: 'maxTryCount',
|
|
span: 0.75,
|
|
},
|
|
];
|
|
}
|
|
|