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: '关联一级分类id',
    align:"center",
    dataIndex: 'categoryoneId_dictText'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '二级分类名称',
    field: 'name',
    component: 'Input',
  },
  {
    label: '关联一级分类id',
    field: 'categoryoneId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"carrent_categoryone,name,id"
     },
  },
];
