import type { ISearchConfig } from "@/components/CURD/types";
import { statusOptions } from './config'
const searchConfig: ISearchConfig = {
  pageName: "sys:user",
  formItems: [
    {
      type: "input",
      label: "小程序页面路径",
      prop: "name",
      attrs: {
        placeholder: "请输入小程序页面路径",
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "input",
      label: "小程序页面路径",
      prop: "path",
      attrs: {
        placeholder: "请输入小程序页面路径",
        clearable: true,
        style: {
          width: "200px",
        },
      },
    },
    {
      type: "radio-button",
      label: "小程序页面状态",
      prop: "status",
      options: statusOptions,
      initialValue: '',
    }
  ],
};

export default searchConfig;
