| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172 |
- import { BasicColumn, FormSchema } from '/@/components/Table';
- import { DescItem } from '/@/components/Description';
- export const columns: BasicColumn[] = [
- {
- title: '任务名称',
- dataIndex: 'jobName',
- },
- {
- title: '任务分组',
- dataIndex: 'jobGroup',
- },
- {
- title: '调用目标字符串',
- dataIndex: 'invokeTarget',
- },
- {
- title: '日志信息',
- dataIndex: 'jobMessage',
- },
- {
- title: '状态',
- dataIndex: 'status',
- },
- {
- title: '开始时间',
- dataIndex: 'startTime',
- width: 150,
- fixed: 'right',
- },
- ];
- export const searchFormSchema: FormSchema[] = [
- {
- field: 'jobName',
- label: '任务名称',
- component: 'Input',
- componentProps: {
- placeholder: '请输入表名称',
- },
- },
- ];
- export const viewSchema: DescItem[] = [
- {
- label: '任务名称',
- field: 'jobName',
- },
- {
- label: '任务分组',
- field: 'jobGroup',
- },
- {
- label: '调用目标字符串',
- field: 'invokeTarget',
- },
- {
- label: '任务状态',
- field: 'status',
- },
- {
- label: '日志信息',
- field: 'jobMessage',
- },
- {
- label: '创建时间',
- field: 'startTime',
- },
- {
- label: '异常信息',
- field: 'exceptionInfo',
- },
- ];
|