nav-bar-menu.ts 920 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import icon from "@/utils/icon";
  2. import config from "@/config/index";
  3. interface menuItem {
  4. MenuName: string;
  5. IsUse: string;
  6. IsShow: string;
  7. IsIframe?: boolean | string | number;
  8. Path: string;
  9. Icon?: any;
  10. SelectedIcon?: any;
  11. Children?: Array<menuItem>;
  12. }
  13. export default {
  14. navBar: [
  15. {
  16. MenuName: "页面规范",
  17. IsUse: "1",
  18. IsShow: "1",
  19. Path: "/layout/specification",
  20. },
  21. {
  22. MenuName: "表格类型页面",
  23. IsUse: "1",
  24. IsShow: "1",
  25. Path: "/layout/table",
  26. },
  27. {
  28. MenuName: "hospital2自定义页面",
  29. IsUse: "1",
  30. IsShow: "1",
  31. Path: "/layout/diy-page",
  32. },
  33. // 内嵌iframe
  34. // {
  35. // MenuName: "分组中心",
  36. // IsUse: "1",
  37. // IsShow: "1",
  38. // IsIframe: 1,
  39. // Path: "http://localhost:8081/hcrm/#/patient-manage/group-center", // 跨域不能
  40. // },
  41. ] as Array<menuItem>,
  42. };