| | |
| | | "webpack-merge": "^5.7.3", |
| | | "webpack-virtual-modules": "^0.4.2", |
| | | "whatwg-fetch": "^3.6.2" |
| | | }, |
| | | "dependencies": { |
| | | "@vue/vue-loader-v15": { |
| | | "version": "npm:vue-loader@15.10.1", |
| | | "resolved": "https://registry.npmjs.org/vue-loader/-/vue-loader-15.10.1.tgz", |
| | | "integrity": "sha512-SaPHK1A01VrNthlix6h1hq4uJu7S/z0kdLUb6klubo738NeQoLbS6V9/d8Pv19tU0XdQKju3D1HSKuI8wJ5wMA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@vue/component-compiler-utils": "^3.1.0", |
| | | "hash-sum": "^1.0.2", |
| | | "loader-utils": "^1.1.0", |
| | | "vue-hot-reload-api": "^2.3.0", |
| | | "vue-style-loader": "^4.1.0" |
| | | }, |
| | | "dependencies": { |
| | | "hash-sum": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmjs.org/hash-sum/-/hash-sum-1.0.2.tgz", |
| | | "integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==", |
| | | "dev": true |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "@vue/cli-shared-utils": { |
| | |
| | | "version": "2.1.2", |
| | | "resolved": "https://registry.npmmirror.com/yallist/-/yallist-2.1.2.tgz", |
| | | "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", |
| | | "dev": true |
| | | } |
| | | } |
| | | }, |
| | | "@vue/vue-loader-v15": { |
| | | "version": "npm:vue-loader@15.10.1", |
| | | "resolved": "https://registry.npmmirror.com/vue-loader/-/vue-loader-15.10.1.tgz", |
| | | "integrity": "sha512-SaPHK1A01VrNthlix6h1hq4uJu7S/z0kdLUb6klubo738NeQoLbS6V9/d8Pv19tU0XdQKju3D1HSKuI8wJ5wMA==", |
| | | "dev": true, |
| | | "requires": { |
| | | "@vue/component-compiler-utils": "^3.1.0", |
| | | "hash-sum": "^1.0.2", |
| | | "loader-utils": "^1.1.0", |
| | | "vue-hot-reload-api": "^2.3.0", |
| | | "vue-style-loader": "^4.1.0" |
| | | }, |
| | | "dependencies": { |
| | | "hash-sum": { |
| | | "version": "1.0.2", |
| | | "resolved": "https://registry.npmmirror.com/hash-sum/-/hash-sum-1.0.2.tgz", |
| | | "integrity": "sha512-fUs4B4L+mlt8/XAtSOGMUO1TXmAelItBPtJG7CyHJfYTdDjwisntGO2JQz7oUsatOY9o68+57eziUVNw/mRHmA==", |
| | | "dev": true |
| | | } |
| | | } |
| | |
| | | // 设置用户基本信息 |
| | | 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; |