feat: 完善角色管理页面 (#557)

This commit is contained in:
xiaoming
2023-05-17 11:41:18 +08:00
committed by GitHub
parent 03fff4befb
commit af421a6489
20 changed files with 472 additions and 358 deletions

View File

@@ -1,8 +1,8 @@
<script setup lang="ts">
import { ref } from "vue";
import { formRules } from "./rule";
import { FormProps } from "./types";
import ReCol from "@/components/ReCol";
import { formRules } from "./utils/rule";
import { FormProps } from "./utils/types";
import { usePublicHooks } from "../hooks";
const props = withDefaults(defineProps<FormProps>(), {

View File

@@ -1,6 +1,6 @@
<script setup lang="ts">
import { ref } from "vue";
import { useDept } from "./hook";
import { useDept } from "./utils/hook";
import { PureTableBar } from "@/components/RePureTableBar";
import { useRenderIcon } from "@/components/ReIcon/src/hooks";

View File

@@ -1,12 +1,12 @@
import dayjs from "dayjs";
import editForm from "./form.vue";
import editForm from "../form.vue";
import { handleTree } from "@/utils/tree";
import { usePublicHooks } from "../hooks";
import { message } from "@/utils/message";
import { getDeptList } from "@/api/system";
import { type FormItemProps } from "./types";
import { usePublicHooks } from "../../hooks";
import { addDialog } from "@/components/ReDialog";
import { reactive, ref, onMounted, h } from "vue";
import { type FormItemProps } from "../utils/types";
import { cloneDeep, isAllEmpty } from "@pureadmin/utils";
export function useDept() {