export const setQueryFormItmes = (self) => {
  return [
    { name: 'name', label: '消息名称', type: 'input' },
    {
      name: 'type',
      label: '消息类型',
      type: 'select',
      itemStyle:"width:120px",
      get options() {
        return self.options?.MESSAGE_TYPE??[]
      }
    },
    {
      name: 'status',
      label: '状态',
      type: 'select',
      itemStyle:"width:120px",
      get options() {
        return [{ value: '0',label:'停用'},{ value: '1',label:'启用'}]
      }
    },

    {
      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" },

    // }
  ]
}
