mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-25 11:09:20 +08:00
refactor: 调整api和页面组件位置
This commit is contained in:
+6
-6
@@ -1,7 +1,7 @@
|
||||
<script lang="ts" setup>
|
||||
import type { AccountDTO, AccountVO } from '#/api/organization/account';
|
||||
import type { DepartmentVO } from '#/api/organization/department';
|
||||
import type { PositionVO } from '#/api/organization/position';
|
||||
import type { AccountDTO, AccountVO } from '#/api/company/account';
|
||||
import type { DepartmentVO } from '#/api/org/department';
|
||||
import type { PositionVO } from '#/api/org/position';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref, watch } from 'vue';
|
||||
@@ -13,9 +13,9 @@ import { Cascader, Form, Input, message, Select } from 'ant-design-vue';
|
||||
import {
|
||||
admin_createAccountApi,
|
||||
admin_updateAccountApi,
|
||||
} from '#/api/organization/account';
|
||||
import { getDepartmentTreeApi } from '#/api/organization/department';
|
||||
import { getPositionPageApi } from '#/api/organization/position';
|
||||
} from '#/api/company/account';
|
||||
import { getDepartmentTreeApi } from '#/api/org/department';
|
||||
import { getPositionPageApi } from '#/api/org/position';
|
||||
|
||||
interface Emits {
|
||||
(e: 'success'): void;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import type { VxeGridProps } from '#/adapter/vxe-table';
|
||||
import type { AccountDTO, AccountVO } from '#/api/organization/account';
|
||||
import type { AccountDTO, AccountVO } from '#/api/company/account';
|
||||
import type { PageQueryDTO } from '#/types/common';
|
||||
|
||||
import { computed, ref } from 'vue';
|
||||
@@ -14,7 +14,7 @@ import { useVbenVxeGrid } from '#/adapter/vxe-table';
|
||||
import {
|
||||
admin_deleteAccountApi,
|
||||
admin_getAccountPageApi,
|
||||
} from '#/api/organization/account';
|
||||
} from '#/api/company/account';
|
||||
|
||||
import AccountFormModal from './components/AccountFormModal.vue';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user