From 45c2197fc1ab2d9e92cfa7ff106a3b83d867cb0e Mon Sep 17 00:00:00 2001 From: duan Date: Thu, 4 Aug 2022 13:23:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(src/views/user):=20=E5=AE=8C=E6=88=90=20?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=AE=A1=E7=90=86=E9=A1=B5=E9=9D=A2=E7=BC=96?= =?UTF-8?q?=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/UserForm/index.vue | 162 +++++++++++ src/icons/svg/分配权限.svg | 2 + src/layout/components/Sidebar/SidebarItem.vue | 1 - src/views/user/index.vue | 254 +++++++++++++++++- 4 files changed, 415 insertions(+), 4 deletions(-) create mode 100644 src/components/UserForm/index.vue create mode 100644 src/icons/svg/分配权限.svg diff --git a/src/components/UserForm/index.vue b/src/components/UserForm/index.vue new file mode 100644 index 0000000..5a6d6e3 --- /dev/null +++ b/src/components/UserForm/index.vue @@ -0,0 +1,162 @@ + + + diff --git a/src/icons/svg/分配权限.svg b/src/icons/svg/分配权限.svg new file mode 100644 index 0000000..2ba2829 --- /dev/null +++ b/src/icons/svg/分配权限.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index 1d1b786..baaf057 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -30,7 +30,6 @@ import { isExternal } from '@/utils/validate' import Item from './Item' import AppLink from './Link' import FixiOSBug from './FixiOSBug' -import { mapGetters } from 'vuex' export default { name: 'SidebarItem', diff --git a/src/views/user/index.vue b/src/views/user/index.vue index d954d8a..fdd40a0 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -1,13 +1,261 @@ -