个人中心

dev
yujialong 3 years ago
parent 09cea2e74f
commit 1c8fbb6547
  1. BIN
      src/assets/img/person/bg.png
  2. BIN
      src/assets/img/person/bind.png
  3. BIN
      src/assets/img/person/date.png
  4. BIN
      src/assets/img/person/edit.png
  5. BIN
      src/assets/img/person/idcard.png
  6. BIN
      src/assets/img/person/manag.png
  7. BIN
      src/assets/img/person/open.png
  8. BIN
      src/assets/img/person/school.png
  9. BIN
      src/assets/img/person/select.png
  10. BIN
      src/assets/img/person/user.png
  11. 14
      src/components/Header.vue
  12. 8
      src/router/index.js
  13. 6
      src/utils/api.js
  14. 4
      src/views/data/Product.vue
  15. 1325
      src/views/setting/Person.vue

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -5,12 +5,10 @@
</div>
<div class="header-right">
<div class="header-user-con">
<!-- <span>应用市场</span>
<el-divider class="ml20" direction="vertical"></el-divider> -->
<div class="ml20">
<div class="user" @click="toPerson">
<el-avatar :size="40" :src="circleUrl"></el-avatar>
<span class="user-avator">{{username}}</span>
</div>
<span class="user-avator">{{username}}</span>
<el-divider class="ml20" direction="vertical"></el-divider>
<el-button type="text" class="ml20" @click="loginout">退出</el-button>
</div>
@ -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;

@ -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'),

@ -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`, //查询系统列表详情

@ -197,10 +197,6 @@ export default {
previewVisible: false,
previewHead: [],
previewData: []
defaultActive: [],
isDetail: false,
userAccount: '',
userName: ''
};
},
watch: {

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save