| | |
| | | // 设置用户基本信息 |
| | | async setLoginInfo() { |
| | | const info = JSON.parse(sessionStorage.getItem('user')); |
| | | this.getMessage(); |
| | | if (info) { |
| | | this.user = info; |
| | | } else { |
| | | this.user = await this.getLoginInfo(); |
| | | } |
| | | this.getMessage(); |
| | | this.show = true |
| | | }, |
| | | // 获取登录用户信息 |
| | |
| | | <style lang="scss" scoped> |
| | | ::v-deep .el-form{ |
| | | padding: 3vh 5vw; |
| | | |
| | | .el-form-item__label{ |
| | | color: #4b9bb7; |
| | | } |
| | | } |
| | | |
| | | .el-header { |
| | | background-color: #071a38; |
| | | color: #333; |
| | |
| | | .header-left { |
| | | display: flex; |
| | | flex: 1; |
| | | |
| | | .menu-left__item { |
| | | width: 120px; |
| | | |
| | |
| | | display: flex; |
| | | padding-left: 10vw; |
| | | flex: 1; |
| | | |
| | | .item { |
| | | width: 100%; |
| | | position: relative; |