refactor(apis): 将 common 目录下的 common.ts 文件移动到 system 目录下

This commit is contained in:
2025-07-17 23:42:42 +08:00
parent 87bcf33940
commit 60c6df2574
9 changed files with 8 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
import { ref } from 'vue'
import type { TreeNodeData } from '@arco-design/web-vue'
import { listDeptTree } from '@/apis'
import { listDeptTree } from '@/apis/system'
/** 部门模块 */
export function useDept(options?: { onSuccess?: () => void }) {

View File

@@ -1,5 +1,5 @@
import { ref, toRefs } from 'vue'
import { listCommonDict } from '@/apis'
import { listCommonDict } from '@/apis/system'
import { useDictStore } from '@/stores'
const pendingRequests = new Map<string, Promise<any>>()

View File

@@ -1,6 +1,6 @@
import { ref } from 'vue'
import type { TreeNodeData } from '@arco-design/web-vue'
import { listMenuTree } from '@/apis'
import { listMenuTree } from '@/apis/system'
import { listTenantPackageMenu } from '@/apis/tenant/package'
/** 菜单模块 */

View File

@@ -1,5 +1,5 @@
import { ref } from 'vue'
import { listRoleDict } from '@/apis'
import { listRoleDict } from '@/apis/system'
import type { LabelValueState } from '@/types/global'
/** 角色模块 */