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', }, ];