import {BasicColumn} from '/@/components/Table';
import {FormSchema} from '/@/components/Table';
import { rules} from '/@/utils/helper/validator';
import { render } from '/@/utils/common/renderUtils';
//列表数据
export const columns: BasicColumn[] = [
    {
    title: '新闻分类名称',
    align:"center",
    dataIndex: 'name'
   },
   {
    title: '新闻分类图片',
    align:"center",
    dataIndex: 'imageString'
   },
   {
    title: '排序字段',
    align:"center",
    dataIndex: 'orderId'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '新闻分类名称',
    field: 'name',
    component: 'Input',
  },
  {
    label: '新闻分类图片',
    field: 'image',
    component: 'Input',
  },
  {
    label: '排序字段',
    field: 'orderId',
    component: 'InputNumber',
  },
];
