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: 'question'
   },
   {
    title: '答案',
    align:"center",
    dataIndex: 'answer'
   },
   {
    title: '排序字段',
    align:"center",
    dataIndex: 'orderNo'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '问题',
    field: 'question',
    component: 'Input',
  },
  {
    label: '答案',
    field: 'answer',
    component: 'Input',
  },
  {
    label: '排序字段',
    field: 'orderNo',
    component: 'InputNumber',
  },
];
