lcny-vue3-antd-admin/src/views/base/crops/town-crops/town.data.ts

31 lines
606 B
TypeScript

import { BasicColumn } from '/@/components/Table'
import { FormSchema } from '/@/components/Table'
export const columns: BasicColumn[] = [
{
title: '名称',
dataIndex: 'name',
},
{
title: '单位',
dataIndex: 'unit',
},
{
title: '是否是结点',
dataIndex: 'is_end',
customRender: ({ text }) => {
return text == 1 ? '是' : '否'
},
},
{
width: 180,
title: '操作',
dataIndex: 'action',
align: 'center',
fixed: undefined,
},
]
export const searchFormSchema: FormSchema[] = []
export const accountFormSchema: FormSchema[] = []