diff --git a/src/components/HbAdminUserCard.vue b/src/components/HbAdminUserCard.vue
index b6315c6..e44302f 100644
--- a/src/components/HbAdminUserCard.vue
+++ b/src/components/HbAdminUserCard.vue
@@ -1,7 +1,7 @@
@@ -12,10 +12,13 @@ import {isMenuCollapsed} from "../global/config";
千阳
-
-
-
-
+
+
+
+
+
+
+
diff --git a/src/mock/routerData.js b/src/mock/routerData.js
index bedb31f..6995192 100644
--- a/src/mock/routerData.js
+++ b/src/mock/routerData.js
@@ -9,15 +9,6 @@ const routerData = [
type: 'menu',
children: []
},
- {
- name: '权限',
- path: '/permission',
- view: '/permission/index.vue',
- isRouter: true,
- isKeepalive: true,
- type: 'menu',
- children: []
- },
{
name: '错误页面',
path: '/error',
@@ -69,6 +60,47 @@ const routerData = [
icon:'ri-table-line',
children: []
},
+ {
+ name: '系统设置',
+ path: '/setting',
+ view: '',
+ isRouter: false,
+ isKeepalive: false,
+ icon:'ri-tools-line',
+ type: 'menu',
+ children: [
+ {
+ name: '菜单设置',
+ path: '/menu',
+ view: '/permission/index.vue',
+ isRouter: true,
+ isKeepalive: false,
+ icon:'ri-menu-line',
+ type: 'menu',
+ children: []
+ },
+ {
+ name: '用户管理',
+ path: '/user',
+ view: '/user/index.vue',
+ isRouter: true,
+ isKeepalive: false,
+ icon:'ri-user-line',
+ type: 'menu',
+ children: []
+ },
+ {
+ name: '角色管理',
+ path: '/role',
+ view: '/role/index.vue',
+ isRouter: true,
+ isKeepalive: false,
+ icon:'ri-file-user-line',
+ type: 'menu',
+ children: []
+ },
+ ]
+ },
]
export default routerData
diff --git a/src/views/base-list/index.vue b/src/views/base-list/index.vue
index fee289e..ff8f114 100644
--- a/src/views/base-list/index.vue
+++ b/src/views/base-list/index.vue
@@ -8,7 +8,7 @@ import {
} from "naive-ui";
import {h, onMounted, reactive, ref} from "vue";
import {
- AddSharp, TrashSharp, RefreshSharp, SearchSharp,DocumentOutline,PencilSharp
+ AddSharp, TrashSharp, RefreshSharp, SearchSharp,DocumentOutline,PencilSharp,CreateOutline
} from "@vicons/ionicons5"
@@ -74,7 +74,7 @@ const columns = [
tertiary: true,
size: "small",
onClick: () => openDialog(row)
- }, {default: () => "编辑", icon: () => h(PencilSharp)}),
+ }, {default: () => "编辑", icon: () => h(CreateOutline)}),
h(NPopconfirm, {
onPositiveClick: () => handlePositiveClick(row),
onNegativeClick: () => handleNegativeClick(row),
diff --git a/src/views/card-list/index.vue b/src/views/card-list/index.vue
new file mode 100644
index 0000000..54b19c1
--- /dev/null
+++ b/src/views/card-list/index.vue
@@ -0,0 +1,13 @@
+
+
+
+
+
+
+
diff --git a/src/views/role/index.vue b/src/views/role/index.vue
new file mode 100644
index 0000000..3bfadc3
--- /dev/null
+++ b/src/views/role/index.vue
@@ -0,0 +1,236 @@
+
+
+
+
+
+
+
+
+
+
+ 描述
+
+
+
+
+
+
+ 角色
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+ 刷新数据
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+ 你选中了 {{ checkedRowKeys.length }} 行
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/user/index.vue b/src/views/user/index.vue
new file mode 100644
index 0000000..dd013b8
--- /dev/null
+++ b/src/views/user/index.vue
@@ -0,0 +1,205 @@
+
+
+
+
+
+
+
+
+
+
+
+ 姓名
+
+
+
+
+
+
+ 手机号
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+ 刷新数据
+
+
+
+
+
+ 查询
+
+ 重置
+
+
+
+
+
+
+ 你选中了 {{ checkedRowKeys.length }} 行
+
+
+
+
+
+
+
+
+
+
+
+
+