/*
 *    Copyright (c) 2018-2025, cyweb All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions are met:
 *
 * Redistributions of source code must retain the above copyright notice,
 * this list of conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright
 * notice, this list of conditions and the following disclaimer in the
 * documentation and/or other materials provided with the distribution.
 * Neither the name of the pig4cloud.com developer nor the names of its
 * contributors may be used to endorse or promote products derived from
 * this software without specific prior written permission.
 *
 */
import global from "@/components/tools/commondict";

export const YES_OR_NO=[
  {
    label:'待完善',
    value:'0'
  },
  {
    label:'已通过',
    value:'1'
  },
  {
    label:'未通过',
    value:'2'
  },
  {
    label:'已完善,待审核',
    value:'3'
  },
]
export const YES_OR_NO2=[
  {
    label:'待完善',
    value:'0'
  },
  {
    label:'已完善',
    value:'1'
  }
]
export const isInvalid=[
  {
    label:'正常',
    value:'0'
  },
  {
    label:'报废',
    value:'1'
  },
  {
    label:'审核中',
    value:'2'
  }
]

export const isInvalidOther=[
  {
    label:'正常',
    value:'0'
  },
  {
    label:'报废',
    value:'1'
  }
]
export const assetType=[
  {label: "通用设备", value: "1"},
  {label: "专用设备", value: "2"},
  {label: "图书档案", value: "3"},
  {label: "家具用具装具及动植物", value: "4"},
  {label: "文物和陈列品", value: "5"},
  {label: "房屋及构筑物", value: "6"},
  {label: "信息数据", value: "7"},
  {label: "车辆", value: "8"}
]
export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '资产名称',
      prop: 'goodsName',
      search:true,
    },
    {
      label: '出库单号',
      prop: 'outboundNo',
      search:true,
    },
    {
      label: '部门名称',
      prop: 'outDeptName',
      type:'select',
      hide: true,
      addDisplay: false,
      search:true,
      editDisplay: false,
      dicUrl: '/basic/basicdept/getDeptList?teachFlag=1',
      props:{
        label:'deptName',
        value:'deptCode'
      },
    },
    {
      label: '开始编码',
      prop: 'codeStart',
      search:true
    },
    {
      label: '结束编码',
      prop: 'codeEnd'
    },
    {
      label: '面积',
      prop: 'area'
    },
    {
      label: '部门名称',
      prop: 'deptName'
    },
    {
      label: '单位',
      prop: 'unit'
    },

    {
      label: '数量',
      prop: 'num'
    },
    {
      label: '规格|型号',
      prop: 'spec'
    },
    {
      label: '单价',
      prop: 'price'
    },
    {
      label: '总金额',
      prop: 'totalPrice'
    },
    {
      label: '日期',
      prop: 'createTime'
    },
	  // {
    //   label: '存放地点',
    //   prop: 'place'
    // },
    {
      label: '进度',
      prop: 'schedule',
      formslot:true,
      slot:true,
    },
    {
      label: '进度',
      prop: 'schedule',

    },
    {
      label: '是否完善通过',
      prop: 'isPerfect',
      type:'radio',
      dicData:YES_OR_NO,
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },
    {
      label: '意见',
      prop: 'statusReason'
    },
    {
      label: '最小数量',
      prop: 'minNum',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大数量',
      prop: 'maxNum',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最小单价',
      prop: 'minPrice',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大单价',
      prop: 'maxPrice',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最小面积',
      prop: 'minArea',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大面积',
      prop: 'maxArea',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最小金额',
      prop: 'minTotal',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大金额',
      prop: 'maxTotal',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    }
  ]
}
export const tableDetailPageOption= {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  height:500,
  showColumnBtn: false,
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '资产编码',
      prop: 'code',
      search: true,
      sortable:true,
    },
    {
      label: '资产类别',
      prop: 'type',
      search: true,
      type:'select',

      dicData:assetType,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '资产名称',
      prop: 'goodsName',
      search: true
    },
    {
      label: '面积',
      prop: 'area',
    },
    {
      label: '规格|型号',
      prop: 'spec'
    },
    {
      label: '单位',
      prop: 'unit'
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '价格',
      prop: 'price',
    },
    {
      label: '使用部门',
      prop: 'belongDeptName',
    },
    {
      label: '入库时间',
      prop: 'intTimeValue',
      sortable:true,
    },

    {
      label: '部门名称',
      prop: 'belongDeptCode',
      searchFilterable:true,
      type:'select',
      hide: true,
      addDisplay: false,
      search:true,
      editDisplay: false,
      dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
      props:{
        label:'deptName',
        value:'deptCode'
      },
    },
    {
      label: '资产分类',
      prop: 'codeEnName',
      type:'select',
      filterable:true,
      searchFilterable:true,
      hide: true,
      addDisplay: false,
      search:true,
      editDisplay: false,
      dicUrl: '/asset/assetcode/allList',
      props:{
        label:'codeName',
        value:'codeEnName'
      },
    },
    {
      label: '资产状态',
      prop: 'isInvalid',
      type:'select',
      dicData:isInvalid,
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '资产状态',
      prop: 'isInvalidVal',
      type:'select',
      dicData:isInvalidOther,
      props:{
        label:'label',
        value:'value'
      },
      search:true,
      hide:true
    },
    {
      label: '开始编码',
      prop: 'startCode',
      hide: true,
      search:true
    },
    {
      label: '结束编码',
      prop: 'endCode',
      hide: true,
      search:true
    },
    {
      label: '是否已完善',
      prop: 'isPerfect',
      type:'radio',
      hide: true,
      dicData:YES_OR_NO2,
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },
    {
      label: '最小面积',
      prop: 'minArea',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大面积',
      prop: 'maxArea',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '最小单价',
      prop: 'minPrice',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '最大单价',
      prop: 'maxPrice',
      addDisplay: false,
      editDisplay: false,
      search:true,
      hide: true
    },
    {
      label: '保管人',
      prop: 'belongTeacherNo',
      search:true,
    },
    {
      label: '入库开始时间',
      prop: 'startTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search:true,
      hide: true
    },
    {
      label: '入库结束时间',
      prop: 'endTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search:true,
      hide: true
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },
    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }
    ,{
      label: '调拨日期',
      prop: 'transferTime',
    },{
      label: '备注',
      prop: 'remarks',
      search:true
    },{
      label: '资产备注',
      prop: 'assetRemark'
    },{
      label: '老资产ID',
      prop: 'oldId',
      search: true
    },{
      label: '调拨状态',
      prop: 'transferState',
      search: true,
      hide: true,
      type:'select',
      dicData:global.transferState,
      props:{
        label:'label',
        value:'value'
      },
    },{
      label: '报废状态',
      prop: 'invalidState',
      search: true,
      hide: true,
      type:'select',
      dicData:global.invalidState,
      props:{
        label:'label',
        value:'value'
      },
    }
  ]
}

export const tableDetail= {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  height:500,
  showColumnBtn: false,
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '资产编码',
      prop: 'code',
      search: true
    },
    {
      label: '资产名称',
      prop: 'goodsName'
    },
    {
      label: '面积',
      prop: 'area',
    },
    {
      label: '规格|型号',
      prop: 'spec'
    },
    {
      label: '单位',
      prop: 'unit'
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '价格',
      prop: 'price',
    },
    {
      label: '使用部门',
      prop: 'belongDeptName',
    },
    {
      label: '入库时间',
      prop: 'intTimeValue',
    },


    {
      label: '资产状态',
      prop: 'isInvalid',
      type:'select',
      dicData:isInvalid,
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '开始编码',
      prop: 'startCode',
      hide: true,
      search:true
    },
    {
      label: '结束编码',
      prop: 'endCode',
      hide: true,
      search:true
    },
    {
      label: '是否已完善',
      prop: 'isPerfect',
      type:'radio',
      hide: true,
      dicData:YES_OR_NO2,
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },

    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },

    {
      label: '保管人',
      prop: 'belongTeacherNo',
      search:true,
    },
    {
      label: '入库开始时间',
      prop: 'startTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      hide: true
    },
    {
      label: '入库结束时间',
      prop: 'endTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      hide: true
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },
    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }
    ,{
      label: '调拨日期',
      prop: 'transferTime',
    },{
      label: '备注',
      prop: 'remarks',
    },{
      label: '老资产ID',
      prop: 'oldId',
    }
  ]
}
export const tableDictItemOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  showColumnBtn: false,
  showSummary:true,
  sumColumnList: [
    {
      name: 'num',
      type: 'sum'
    }
  ],
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '资产编码',
      prop: 'code',
      search:true
    },
    {
      label: '资产名称',
      prop: 'goodsName'
    },
    {
      label: '入库时间',
      prop: 'inTime',
    },
    {
      label: '金额',
      prop: 'price',
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '保管人',
      prop: 'belongTeacherNo',
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '部门名称',
      prop: 'belongDeptName',
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },
    {
      label: '资产状态',
      prop: 'isInvalid',
    },
    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }
   ,{
      label: '调拨状态',
      prop: 'isTranid',
    }
    ,{
      label: '老资产id',
      prop: 'oldId',
    }
  ]
}

export const tableTimeOutOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  showColumnBtn: false,
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '资产编码',
      prop: 'code',
    },
    {
      label: '资产名称',
      prop: 'goodsName'
    },
    {
      label: '入库时间',
      prop: 'inTime',
      type:'date',
      format:'yyyy-MM-dd',
    },

    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '金额',
      prop: 'price',
    },
    {
      label: '保管人',
      prop: 'belongTeacherNo',
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '部门名称',
      prop: 'belongDeptName',
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },

    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }

  ]
}

export const tableStaticOption= {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  showColumnBtn: false,
  showSummary:true,
  sumColumnList: [
    {
      name: 'num',
      type: 'sum'
    }
  ],
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '资产编码',
      prop: 'code'
    },
    {
      label: '资产名称',
      prop: 'goodsName'
    },
    {
      label: '金额',
      prop: 'price',
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '保管人-工号',
      prop: 'belongTeacherNo',
    },
    {
      label: '保管人-姓名',
      prop: 'belongRealName',
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '部门名称',
      prop: 'belongDeptName',
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },
    {
      label: '资产状态',
      prop: 'isInvalid',
    },
    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }
    ,{
      label: '调拨状态',
      prop: 'isTranid',
    }
  ]
}

export const tableDictItemOption2 = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  showColumnBtn: false,
  showSummary:true,
  sumColumnList: [
    {
      name: 'num',
      type: 'sum'
    }
  ],
  searchSize: 'mini',
  selection: true,
  selectable:(row,index)=>{
    return index===1;
  },
  column: [
    {
      label: '主键',
      prop: 'id',
      hide: true,
      addDisplay:false,
      editDisabled:true,
      editDisplay:false,
      visdiplay:false
    },
    {
      label: '资产编码',
      prop: 'code',
      search:true
    },
    {
      label: '资产名称',
      prop: 'goodsName'
    },
    {
      label: '金额',
      prop: 'price',
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '保管人-工号',
      prop: 'belongTeacherNo',
    },
    {
      label: '保管人-姓名',
      prop: 'belongRealName',
    },
    {
      label: '部门编码',
      prop: 'belongDeptCode',
      hide: true,
    },
    {
      label: '部门名称',
      prop: 'belongDeptName',
    },
    {
      label: '存放地类型',
      prop: 'roomType',
      type:'select',
      dicData:global.all_room_type_id,
      props:{
        label:'label',
        value:'value'
      },
    },
    {
      label: '存放楼栋',
      prop: 'buildName'
    },
    {
      label: '存放房间',
      prop: 'roomName'
    },
    {
      label: '照片',
      prop: 'photo',
      slot: true,
      formslot: true
    },
    {
      label: '资产状态',
      prop: 'isInvalid',
    },
    {
      label: '预计报废日期',
      prop: 'invalidDate',
      type:'date',
      format:'yyyy-MM-dd',
    },
    {
      label: '实际报废日期',
      type:'date',
      prop: 'invalidActualDate',
      format:'yyyy-MM-dd',

    }
    ,{
      label: '调拨状态',
      prop: 'isTranid',
    },{
      label: '老资产ID',
      prop: 'oldId',
    }
  ]
}


export const tableOptionByNameAndTime= {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  editBtn: false,
  delBtn: false,
  addBtn: false,
  dic: [],
  refreshBtn: false,
  showColumnBtn: false,
  searchSize: 'mini',
  column: [
    {
      label: '资产名称',
      prop: 'goodsName',
      search: true
    },
    {
      label: '编码范围',
      prop: 'codeFW'
    },
    {
      label: '资产编码',
      prop: 'code',
      search:true,
      hide:true
    },
    {
      label: '资产分类',
      prop: 'codeEnName',
      type:'select',
      filterable:true,
      searchFilterable:true,
      addDisplay: false,
      search:true,
      hide:true,
      editDisplay: false,
      dicUrl: '/asset/assetcode/allList',
      props:{
        label:'codeName',
        value:'codeEnName'
      },
    },
    {
      label: '部门名称',
      prop: 'belongDeptCode',
      type:'select',
      hide:true,
      addDisplay: false,
      filterable:true,
      searchFilterable:true,
      search:true,
      editDisplay: false,
      dicUrl: '/basic/basicdept/getDeptListByLevelTwo',
      props:{
        label:'deptName',
        value:'deptCode'
      },
    },
    {
      label: '部门',
      prop: 'belongDeptName',
    },
    {
      label: '资产状态',
      prop: 'isInvalid',
      type:'select',
      dicData:isInvalid,
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '资产状态',
      prop: 'isInvalidVal',
      type:'select',
      hide:true,
      search:true,
      dicData:isInvalidOther,
      props:{
        label:'label',
        value:'value'
      }
    },
    {
      label: '面积',
      prop: 'area',
    },
    {
      label: '规格|型号',
      prop: 'spec'
    },
    {
      label: '单位',
      prop: 'unit'
    },
    {
      label: '数量',
      prop: 'num',
    },
    {
      label: '单价',
      prop: 'price',
    },
    {
      label: '总金额',
      prop: 'total',
    },

    {
      label: '入库时间',
      prop: 'time',
    },


    {
      label: '入库开始时间',
      prop: 'startTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search:true,
      hide: true
    },
    {
      label: '入库结束时间',
      prop: 'endTime',
      type: 'date',
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      search:true,
      hide: true
    },
    {
      label: '备注',
      prop: 'remarks',
      search:true
    },
    {
      label: '老资产ID',
      prop: 'oldId',
      search:true,
    },
    {
      label: '存放楼栋',
      prop: 'buildId',
      type:'select',
      filterable:true,
      searchFilterable:true,
      addDisplay: false,
      search:true,
      hide:true,
      editDisplay: false,
      dicUrl: '/asset/assetsbuilding/list',
      props:{
        label:'buildName',
        value:'id'
      },
    },
    {
      label: '是否已完善',
      prop: 'isPerfect',
      type:'radio',
      hide: true,
      dicData:YES_OR_NO2,
      props:{
        label:'label',
        value:'value'
      },
      search:true
    },
  ]
}
