mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2025-11-11 02:57:09 +08:00
refactor(apis): 将 common 目录下的 common.ts 文件移动到 system 目录下
This commit is contained in:
@@ -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 }) {
|
||||
|
||||
@@ -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>>()
|
||||
|
||||
@@ -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'
|
||||
|
||||
/** 菜单模块 */
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { ref } from 'vue'
|
||||
import { listRoleDict } from '@/apis'
|
||||
import { listRoleDict } from '@/apis/system'
|
||||
import type { LabelValueState } from '@/types/global'
|
||||
|
||||
/** 角色模块 */
|
||||
|
||||
Reference in New Issue
Block a user