Commit e6a352d32226eb27c77db9c98f3eb4de02eee605
1 parent
65efcbff
feat(front): 把OrganizationIdTree调整为公告页面
Showing
2 changed files
with
3 additions
and
3 deletions
src/views/common/OrganizationIdTree.vue
renamed from
src/views/system/account/OrganizationIdTree.vue
1 | <template> | 1 | <template> |
2 | <PageWrapper dense contentFullHeight fixedHeight contentClass="flex"> | 2 | <PageWrapper dense contentFullHeight fixedHeight contentClass="flex"> |
3 | - <DeptTree class="w-1/4 xl:w-1/5" @select="handleSelect" /> | 3 | + <OrganizationIdTree class="w-1/4 xl:w-1/5" @select="handleSelect" /> |
4 | <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo"> | 4 | <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5" :searchInfo="searchInfo"> |
5 | <template #toolbar> | 5 | <template #toolbar> |
6 | <a-button type="primary" @click="handleCreate">新增账号</a-button> | 6 | <a-button type="primary" @click="handleCreate">新增账号</a-button> |
@@ -56,7 +56,7 @@ | @@ -56,7 +56,7 @@ | ||
56 | import { BasicTable, useTable, TableAction } from '/@/components/Table'; | 56 | import { BasicTable, useTable, TableAction } from '/@/components/Table'; |
57 | import {deleteUser, getAccountList} from '/@/api/system/system'; | 57 | import {deleteUser, getAccountList} from '/@/api/system/system'; |
58 | import { PageWrapper } from '/@/components/Page'; | 58 | import { PageWrapper } from '/@/components/Page'; |
59 | - import DeptTree from './OrganizationIdTree.vue'; | 59 | + import OrganizationIdTree from '../../common/OrganizationIdTree.vue'; |
60 | import {Tag} from "ant-design-vue"; | 60 | import {Tag} from "ant-design-vue"; |
61 | import { useModal } from '/@/components/Modal'; | 61 | import { useModal } from '/@/components/Modal'; |
62 | import AccountModal from './AccountModal.vue'; | 62 | import AccountModal from './AccountModal.vue'; |
@@ -67,7 +67,7 @@ | @@ -67,7 +67,7 @@ | ||
67 | 67 | ||
68 | export default defineComponent({ | 68 | export default defineComponent({ |
69 | name: 'AccountManagement', | 69 | name: 'AccountManagement', |
70 | - components: { BasicTable, PageWrapper, DeptTree, AccountModal, TableAction,Tag }, | 70 | + components: { BasicTable, PageWrapper, OrganizationIdTree, AccountModal, TableAction,Tag }, |
71 | setup() { | 71 | setup() { |
72 | const go = useGo(); | 72 | const go = useGo(); |
73 | const [registerModal, { openModal }] = useModal(); | 73 | const [registerModal, { openModal }] = useModal(); |