diff --git a/src/views/system/menu/form.vue b/src/views/system/menu/form.vue index 29408ab..d7d488c 100644 --- a/src/views/system/menu/form.vue +++ b/src/views/system/menu/form.vue @@ -4,6 +4,7 @@ import ReCol from "@/components/ReCol"; import { formRules } from "./utils/rule"; import { usePublicHooks } from "../hooks"; import { MenuRequest } from "@/api/system/menu"; +import IconSelect from "@/components/ReIcon/src/Select.vue"; interface FormProps { formInline: MenuRequest; @@ -101,7 +102,13 @@ defineExpose({ getRef }); - + + + + + + + @@ -188,12 +195,15 @@ defineExpose({ getRef }); - - + @@ -211,5 +221,17 @@ defineExpose({ getRef }); + + + + + + + diff --git a/src/views/system/menu/utils/hook.tsx b/src/views/system/menu/utils/hook.tsx index 1a62c75..5265ae7 100644 --- a/src/views/system/menu/utils/hook.tsx +++ b/src/views/system/menu/utils/hook.tsx @@ -17,6 +17,7 @@ import { usePublicHooks } from "../../hooks"; import { addDialog } from "@/components/ReDialog"; import { reactive, ref, onMounted, h, computed } from "vue"; import { isAllEmpty } from "@pureadmin/utils"; +import { IconifyIconOnline } from "@/components/ReIcon"; export function useHook() { const searchFormParams = reactive({ @@ -65,6 +66,16 @@ export function useHook() { width: 160, align: "center" }, + { + label: "图标", + prop: "row.icon", + minWidth: 40, + cellRenderer: ({ row }) => ( +
+ +
+ ) + }, { label: "状态", prop: "status",