chore: 优化 apis 导入,随着模块和接口的增加,方便维护

This commit is contained in:
2024-09-06 21:14:13 +08:00
parent cb03111c22
commit 8a80db0f92
80 changed files with 210 additions and 179 deletions

View File

@@ -16,7 +16,7 @@
<script setup lang="ts">
import { Message } from '@arco-design/web-vue'
import { addDept, getDept, updateDept } from '@/apis'
import { addDept, getDept, updateDept } from '@/apis/system'
import { type Columns, GiForm } from '@/components/GiForm'
import { useForm } from '@/hooks'
import { useDept } from '@/hooks/app'

View File

@@ -74,7 +74,7 @@
<script setup lang="ts">
import DeptAddModal from './DeptAddModal.vue'
import { type DeptQuery, type DeptResp, deleteDept, exportDept, listDept } from '@/apis'
import { type DeptQuery, type DeptResp, deleteDept, exportDept, listDept } from '@/apis/system'
import type GiTable from '@/components/GiTable/index.vue'
import type { TableInstanceColumns } from '@/components/GiTable/type'
import { useDownload, useTable } from '@/hooks'