refactor: ♻️ aPI 文件根据模块划分

This commit is contained in:
ray
2024-10-18 22:28:02 +08:00
parent 0cc300a032
commit af460b5dc3
43 changed files with 150 additions and 297 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="app-container">
<div class="search-container">
<div class="search-bar">
<el-form ref="queryFormRef" :model="queryParams" :inline="true">
<el-form-item label="关键字" prop="keywords">
<el-input
@@ -38,7 +38,7 @@
</el-form>
</div>
<el-card shadow="never" class="table-container">
<el-card shadow="never" class="table-wrapper">
<template #header>
<el-button
v-hasPerm="['sys:dept:add']"
@@ -186,7 +186,7 @@ defineOptions({
inheritAttrs: false,
});
import DeptAPI, { DeptVO, DeptForm, DeptQuery } from "@/api/dept";
import DeptAPI, { DeptVO, DeptForm, DeptQuery } from "@/api/system/dept";
const queryFormRef = ref(ElForm);
const deptFormRef = ref(ElForm);