import type { ISearchConfig } from "@/components/CURD/types";
const searchConfig: ISearchConfig = {
  pageName: "sys:user",
  isExpandable: false,
  formItems: [
    {
      type: "select",
      label: "通知类型 ",
      prop: "type",
      attrs: {
        placeholder: "请选择",
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        {
          label: "数据同步",
          value: "数据同步",
        },
        {
          label: "数据变动",
          value: "数据变动",
        },
        {
          label: "库存预警",
          value: "库存预警",
        },
      ],
    },
    {
      type: "select",
      label: "是否已读",
      prop: "isRead",
      attrs: {
        placeholder: "请选择",
        clearable: true,
        style: {
          width: "200px",
        },
      },
      options: [
        {
          label: "未读",
          value: "0",
        },
        {
          label: "已读",
          value: "1",
        },
      ],
    },
  ],
};

export default searchConfig;
