search.config.ts 934 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { FormConfig } from "/@/components/PageSearch";
  2. import { statusList } from "/@/utils/status";
  3. import { shareTypes } from "./configs";
  4. const searchFormConfig: FormConfig = {
  5. formItems: [
  6. {
  7. field: "source_nickname",
  8. type: "input",
  9. placeholder: "数据源用户"
  10. },
  11. {
  12. field: "source_group_title",
  13. type: "input",
  14. placeholder: "数据源用户组"
  15. },
  16. {
  17. field: "nickname",
  18. type: "input",
  19. placeholder: "数据共享用户"
  20. },
  21. {
  22. field: "group_title",
  23. type: "input",
  24. placeholder: "数据共享用户组",
  25. options: shareTypes
  26. },
  27. // {
  28. // field: "status",
  29. // type: "select",
  30. // placeholder: "当前状态",
  31. // options: statusList
  32. // },
  33. {
  34. field: "type",
  35. type: "select",
  36. placeholder: "共享权限",
  37. options: shareTypes
  38. },
  39. ]
  40. };
  41. export default searchFormConfig;