diff --git a/src/assets/img/person/bg.png b/src/assets/img/person/bg.png new file mode 100644 index 0000000..3cd9a55 Binary files /dev/null and b/src/assets/img/person/bg.png differ diff --git a/src/assets/img/person/bind.png b/src/assets/img/person/bind.png new file mode 100644 index 0000000..84626d5 Binary files /dev/null and b/src/assets/img/person/bind.png differ diff --git a/src/assets/img/person/date.png b/src/assets/img/person/date.png new file mode 100644 index 0000000..0844163 Binary files /dev/null and b/src/assets/img/person/date.png differ diff --git a/src/assets/img/person/edit.png b/src/assets/img/person/edit.png new file mode 100644 index 0000000..8aab22d Binary files /dev/null and b/src/assets/img/person/edit.png differ diff --git a/src/assets/img/person/idcard.png b/src/assets/img/person/idcard.png new file mode 100644 index 0000000..0b71982 Binary files /dev/null and b/src/assets/img/person/idcard.png differ diff --git a/src/assets/img/person/manag.png b/src/assets/img/person/manag.png new file mode 100644 index 0000000..5cb92fd Binary files /dev/null and b/src/assets/img/person/manag.png differ diff --git a/src/assets/img/person/open.png b/src/assets/img/person/open.png new file mode 100644 index 0000000..caba915 Binary files /dev/null and b/src/assets/img/person/open.png differ diff --git a/src/assets/img/person/school.png b/src/assets/img/person/school.png new file mode 100644 index 0000000..53d8523 Binary files /dev/null and b/src/assets/img/person/school.png differ diff --git a/src/assets/img/person/select.png b/src/assets/img/person/select.png new file mode 100644 index 0000000..1099f6f Binary files /dev/null and b/src/assets/img/person/select.png differ diff --git a/src/assets/img/person/user.png b/src/assets/img/person/user.png new file mode 100644 index 0000000..6a2cafc Binary files /dev/null and b/src/assets/img/person/user.png differ diff --git a/src/components/Header.vue b/src/components/Header.vue index 0cb62d9..b9f0be3 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -5,12 +5,10 @@
- -
+
+ {{username}}
- {{username}} 退出
@@ -35,6 +33,9 @@ export default { } }, methods: { + toPerson(){ + this.$router.push('/person') + }, loginout() { localStorage.removeItem('ms_username'); this.$router.push('/login'); @@ -75,6 +76,11 @@ export default { height: 70px; align-items: center; } +.header-user-con .user{ + display: inline-flex; + align-items: center; + cursor: pointer; +} .user-avator { cursor: pointer; margin-left: 10px; diff --git a/src/router/index.js b/src/router/index.js index 2f2529f..5acc4c0 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -77,11 +77,15 @@ let router = new Router({ meta: { title: '数据管理' } }, { - // 权限页面 path: '/permission', - component: () => import(/* webpackChunkName: "permission" */ '../views/customer/Permission.vue'), + component: () => import('../views/customer/Permission.vue'), meta: { title: '应用权限', permission: true } }, + { + path: '/person', + component: () => import('../views/setting/Person.vue'), + meta: { title: '个人中心' } + }, { path: '/404', component: () => import(/* webpackChunkName: "404" */ '../views/404.vue'), diff --git a/src/utils/api.js b/src/utils/api.js index 147d51e..717916a 100644 --- a/src/utils/api.js +++ b/src/utils/api.js @@ -1,20 +1,14 @@ -// let host = 'http://192.168.31.117:8080' -// let host = 'http://www.huorantech.cn/liuwanr' let host = 'http://39.108.250.202' let host1 = 'http://192.168.31.151:9000' let host2 = 'http://192.168.31.125:9000' export default { logins: `${host}/liuwanr/userInfo/adminLogins`, //登录 - // addUser: `${host}/liuwanr/user/addUser`, //增加用户 addUser: `${host}/liuwanr/userInfo/addUser`, //增加用户新版 - // queryUser: `${host}/liuwanr/user/queryUser`, //查询用户 queryUser: `${host}/liuwanr/userInfo/queryUserInfo`, //查询用户新版 - // deleteUser: `${host}/liuwanr/user/deleteUser`, //删除用户 deleteUser: `${host}/liuwanr/userInfo/deleteUserInfo`, //删除用户新版 updateUser: `${host}/liuwanr/user/updateUser`, //编辑用户 - // queryUserDetails: `${host}/liuwanr/user/queryUserDetails`, //查询用户详情 queryUserInfoDetails: `${host}/liuwanr/userInfo/queryUserInfoDetails`, //查询用户详情新版 queryAccountIsExist: `${host}/liuwanr/userInfo/queryServerAccountIsExist`, //查询账号是否存在 queryUserOR: `${host}/liuwanr/userInfo/queryUserOR`, //查询系统列表详情 diff --git a/src/views/data/Product.vue b/src/views/data/Product.vue index ad2abdb..6961614 100644 --- a/src/views/data/Product.vue +++ b/src/views/data/Product.vue @@ -197,10 +197,6 @@ export default { previewVisible: false, previewHead: [], previewData: [] - defaultActive: [], - isDetail: false, - userAccount: '', - userName: '' }; }, watch: { diff --git a/src/views/setting/Person.vue b/src/views/setting/Person.vue new file mode 100644 index 0000000..10f459e --- /dev/null +++ b/src/views/setting/Person.vue @@ -0,0 +1,1325 @@ + + + + + \ No newline at end of file