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: 'specs'
   },
   {
    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'
   },
   {
    title: '参数11',
    align:"center",
    dataIndex: 'param11'
   },
   {
    title: '参数12',
    align:"center",
    dataIndex: 'param12'
   },
   {
    title: '参数13',
    align:"center",
    dataIndex: 'param13'
   },
   {
    title: '参数14',
    align:"center",
    dataIndex: 'param14'
   },
   {
    title: '参数15',
    align:"center",
    dataIndex: 'param15'
   },
   {
    title: '参数16',
    align:"center",
    dataIndex: 'param16'
   },
   {
    title: '参数17',
    align:"center",
    dataIndex: 'param17'
   },
   {
    title: '参数18',
    align:"center",
    dataIndex: 'param18'
   },
   {
    title: '参数19',
    align:"center",
    dataIndex: 'param19'
   },
   {
    title: '参数20',
    align:"center",
    dataIndex: 'param20'
   },
   {
    title: '备注',
    align:"center",
    dataIndex: 'remark'
   },
   {
    title: '关联检查项目id',
    align:"center",
    dataIndex: 'processId_dictText'
   },
   {
    title: '关联工单id',
    align:"center",
    dataIndex: 'templateId_dictText'
   },
];
//查询数据
export const searchFormSchema: FormSchema[] = [
];
//表单数据
export const formSchema: FormSchema[] = [
  {
    label: '规格',
    field: 'specs',
    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',
  },
  {
    label: '参数11',
    field: 'param11',
    component: 'Input',
  },
  {
    label: '参数12',
    field: 'param12',
    component: 'Input',
  },
  {
    label: '参数13',
    field: 'param13',
    component: 'Input',
  },
  {
    label: '参数14',
    field: 'param14',
    component: 'Input',
  },
  {
    label: '参数15',
    field: 'param15',
    component: 'Input',
  },
  {
    label: '参数16',
    field: 'param16',
    component: 'Input',
  },
  {
    label: '参数17',
    field: 'param17',
    component: 'Input',
  },
  {
    label: '参数18',
    field: 'param18',
    component: 'Input',
  },
  {
    label: '参数19',
    field: 'param19',
    component: 'Input',
  },
  {
    label: '参数20',
    field: 'param20',
    component: 'Input',
  },
  {
    label: '备注',
    field: 'remark',
    component: 'Input',
  },
  {
    label: '关联检查项目id',
    field: 'processId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"workorder_item_check,name,id"
     },
  },
  {
    label: '关联工单id',
    field: 'templateId',
    component: 'JDictSelectTag',
    componentProps:{
        dictCode:"workorder_template,task_no,id"
     },
  },
];
