index.ts
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import { DescItem } from '/@/components/Description';
import { BasicColumn } from '/@/components/Table';
import { useI18n } from '/@/hooks/web/useI18n';
const { t } = useI18n();
export const columns: BasicColumn[] = [
{
title: t('application.record.text.applicationName'),
dataIndex: 'name',
width: 120,
},
{
title: t('application.record.text.accumulatedNumberOfCalls'),
dataIndex: 'recordNum',
width: 120,
},
{
title: t('application.record.text.numberOfSuccessfulAttempts'),
dataIndex: 'successCount',
width: 180,
},
{
title: t('application.record.text.numberOfFailedAttempts'),
dataIndex: 'failureCount',
width: 180,
},
];
export const formSchema: DescItem[] = [
{
field: 'name',
label: t('application.record.text.applicationName'),
},
{
field: 'recordNum',
label: t('application.record.text.accumulatedNumberOfCalls'),
},
{
field: 'successCount',
label: t('application.record.text.numberOfSuccessfulAttempts'),
},
{
field: 'failureCount',
label: t('application.record.text.numberOfFailedAttempts'),
},
];