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: '绑定人id',
    align:"center",
    dataIndex: 'bindId_dictText'
   },
   {
    title: '附属人员id',
    align:"center",
    dataIndex: 'userId_dictText'
   },
   {
    title: '绑定状态',
    align:"center",
    dataIndex: 'status_dictText'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '绑定人id',
    field: 'bindId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"han_hai_member,nick_name,id"
     },
  },
  {
    label: '附属人员id',
    field: 'userId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"han_hai_member,nick_name,id"
     },
  },
  {
    label: '绑定状态',
    field: 'status',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"bind_status"
     },
  },
];
