123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- import { BasicColumn } from '/@/components/Table';
- import { FormSchema } from '/@/components/Table';
- export const columns: BasicColumn[] = [
- {
- title: '类型名称',
- dataIndex: 'itemText',
- align: 'left',
- width: 120,
- },
- {
- title: '值',
- dataIndex: 'itemValue',
- width: 100,
- },
- {
- title: '描述',
- dataIndex: 'description',
- width: 100,
- },
- {
- title: '排序',
- dataIndex: 'sortOrder',
- width: 100,
- },
- ];
- export const formSchema: FormSchema[] = [
- {
- label: '',
- field: 'id',
- component: 'Input',
- show: false,
- },
- {
- label: '',
- field: 'dictId',
- component: 'Input',
- show: false,
- },
- {
- label: '名称',
- field: 'itemText',
- component: 'Input',
- },
- {
- label: '数据值',
- field: 'itemValue',
- component: 'Input',
- },
- {
- label: '描述',
- field: 'description',
- component: 'Input',
- },
- {
- label: '排序值',
- field: 'sortOrder',
- suffix: '值越小越靠前',
- component: 'InputNumber',
- },
- ];
|