refactor: 项目结构优化调整

This commit is contained in:
Ray.Hao
2025-12-20 21:56:48 +08:00
parent 5851976c5d
commit 65ad4fe59f
68 changed files with 2463 additions and 1761 deletions

View File

@@ -215,7 +215,8 @@
import { useAppStore } from "@/store/modules/app-store";
import { DeviceEnum } from "@/enums/settings";
import RoleAPI, { RolePageVO, RoleForm, RolePageQuery } from "@/api/system/role";
import RoleAPI from "@/api/system/role";
import type { RolePageVo, RoleForm, RolePageQuery } from "@/api/types";
import MenuAPI from "@/api/system/menu";
defineOptions({
@@ -239,7 +240,7 @@ const queryParams = reactive<RolePageQuery>({
});
// 角色表格数据
const roleList = ref<RolePageVO[]>();
const roleList = ref<RolePageVo[]>();
// 菜单权限下拉
const menuPermOptions = ref<OptionType[]>([]);
@@ -389,7 +390,7 @@ function handleDelete(roleId?: number) {
}
// 打开分配菜单权限弹窗
async function handleOpenAssignPermDialog(row: RolePageVO) {
async function handleOpenAssignPermDialog(row: RolePageVo) {
const roleId = row.id;
if (roleId) {
assignPermDialogVisible.value = true;