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: 'templateId_dictText'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-规格',
    align:"center",
    dataIndex: 'param0'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-1',
    align:"center",
    dataIndex: 'param1'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-2',
    align:"center",
    dataIndex: 'param2'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-3',
    align:"center",
    dataIndex: 'param3'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-4',
    align:"center",
    dataIndex: 'param4'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-5',
    align:"center",
    dataIndex: 'param5'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-6',
    align:"center",
    dataIndex: 'param6'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-7',
    align:"center",
    dataIndex: 'param7'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-8',
    align:"center",
    dataIndex: 'param8'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-9',
    align:"center",
    dataIndex: 'param9'
   },
   {
    title: '上、下壳体焊接-上壳体引出线安装状态-10',
    align:"center",
    dataIndex: 'param10'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '关联工单id',
    field: 'templateId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"workorder_template,task_no,id"
     },
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-规格',
    field: 'param0',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-1',
    field: 'param1',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-2',
    field: 'param2',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-3',
    field: 'param3',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-4',
    field: 'param4',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-5',
    field: 'param5',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-6',
    field: 'param6',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-7',
    field: 'param7',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-8',
    field: 'param8',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-9',
    field: 'param9',
    component: 'Input',
  },
  {
    label: '上、下壳体焊接-上壳体引出线安装状态-10',
    field: 'param10',
    component: 'Input',
  },
];
