diff --git a/src/views/system/role/index.vue b/src/views/system/role/index.vue
index 14a662b..c811182 100644
--- a/src/views/system/role/index.vue
+++ b/src/views/system/role/index.vue
@@ -1,5 +1,5 @@
-
-
-
+
+
+
+
+
-
-
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
-
-
- 搜索
-
-
- 重置
-
+
+
+ 确认
-
-
-
-
- 新增角色
-
-
-
-
-
-
- 修改
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
-
diff --git a/src/views/system/role/role-form-modal.vue b/src/views/system/role/role-form-modal.vue
index f2fb717..238e0b1 100644
--- a/src/views/system/role/role-form-modal.vue
+++ b/src/views/system/role/role-form-modal.vue
@@ -135,8 +135,8 @@ const processedMenuOptions = computed(() => {
-
+
@@ -144,9 +144,9 @@ const processedMenuOptions = computed(() => {
-
+
{{
diff --git a/src/views/system/role/utils/hook.tsx b/src/views/system/role/utils/hook.tsx
index 8614623..fad3bd6 100644
--- a/src/views/system/role/utils/hook.tsx
+++ b/src/views/system/role/utils/hook.tsx
@@ -10,7 +10,7 @@ import { getMenuListApi, MenuDTO } from "@/api/system/menu";
import { ElMessage, ElMessageBox } from "element-plus";
import { usePublicHooks } from "../../hooks";
import { type PaginationProps } from "@pureadmin/table";
-import { onMounted, reactive, ref, toRaw } from "vue";
+import { onMounted, reactive, ref, toRaw, watch } from "vue";
import { toTree } from "@/utils/tree";
export function useRole() {
@@ -19,13 +19,14 @@ export function useRole() {
roleName: "",
status: undefined
});
- const dataList = ref([]);
+ const dataList = ref([]);
const loading = ref(true);
const switchLoadMap = ref({});
const { switchStyle } = usePublicHooks();
+ const activeTab = ref('');
const pagination = reactive({
total: 0,
- pageSize: 10,
+ pageSize: 100,
currentPage: 1,
background: true
});
@@ -189,7 +190,8 @@ export function useRole() {
form,
loading,
columns,
- dataList,
+ dataList,
+ activeTab,
pagination,
onSearch,
resetForm,