export const setQueryFormItmes = self => {
  return [

    { name: 'code', label: '设备编号', type: 'input' },
    { name: 'name', label: '设备名称', type: 'input' },

    {
      span: 6,
      type: 'buttonGroup',
      style: { textAlign: 'right' },
      options: [
        {
          value: '查询',
          icon: 'search',
          btnType: 'primary',
          style: 'margin-right:10px',
          htmlType: 'submit'
        },
        {
          value: '重置',
          name: 'ccz',
          style: 'margin-right:10px',
          on: {
            click(event, form) {
              form.resetFields()
            }
          }
        }
      ]
    },
    // {
    //   style: 'float:right',
    //   scopedSlots: { customRender: "right" },

    // }
  ]
}
