个人信息不跳转bug&&菜单折叠后图标大小以及折叠后图标错乱显示问题
| | |
| | | label: '登陆密码', |
| | | prop: 'oldPassword', |
| | | span: 24, |
| | | labelWidth: "7%", |
| | | labelWidth: "8%", |
| | | type: 'password', |
| | | rules: [ |
| | | { |
| | |
| | | label: '新登陆密码', |
| | | prop: 'password', |
| | | span: 24, |
| | | labelWidth: "7%", |
| | | labelWidth: "8%", |
| | | type: 'password', |
| | | rules: [ |
| | | { |
| | |
| | | label: '新密码登陆确认', |
| | | prop: 'confirmPassword', |
| | | span: 24, |
| | | labelWidth: "7%", |
| | | labelWidth: "8%", |
| | | type: 'password', |
| | | rules: [ |
| | | { |
| | |
| | | :index="item[pathKey]"> |
| | | <template slot="title"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="item[iconKey]" class="iconShowSpan"></icon-show> |
| | | <icon-show :name="item[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <span slot="title" |
| | | :class="{'el-menu--display':collapse && first}">{{ generateTitle(item) }}</span> |
| | | </div> |
| | |
| | | :index="child[pathKey],cindex" |
| | | @click="open(child)"> |
| | | <div style="display: flex"> |
| | | <icon-show :name="child[iconKey]" class="iconShowSpan"></icon-show> |
| | | <icon-show :name="child[iconKey]" class="iconShowSpan" :style="{ height: iconSize, width: iconSize }"></icon-show> |
| | | <span slot="title">{{ generateTitle(child) }}</span> |
| | | </div> |
| | | </el-menu-item> |
| | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["roles"]), |
| | | iconSize() { |
| | | return this.collapse ? '20px' : '16px'; |
| | | }, |
| | | labelKey() { |
| | | return this.props.label || this.config.propsDefault.label; |
| | | }, |
| | |
| | | .iconShowSpan{ |
| | | display: inline-block; |
| | | margin-top: -2px; |
| | | width: 16px !important; |
| | | height: 16px !important; |
| | | margin-right: 10px; |
| | | color: #eeeeea; |
| | | } |
| | | |
| | | </style> |
| | | |
| | | |
| | |
| | | <el-dropdown-item> |
| | | <router-link to="/">{{ $t('navbar.dashboard') }}</router-link> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item> |
| | | <router-link to="/info/index">{{ $t('navbar.userinfo') }}</router-link> |
| | | <el-dropdown-item @click.native="gotoInfo"> |
| | | {{ $t('navbar.userinfo') }} |
| | | <!-- 修改密码--> |
| | | </el-dropdown-item> |
| | | <el-dropdown-item v-if="this.website.switchMode" @click.native="switchDept" |
| | |
| | | setScreen() { |
| | | this.$store.commit("SET_FULLSCREN"); |
| | | }, |
| | | gotoInfo() { |
| | | console.log('123') |
| | | this.$router.push({path: '/info'}); |
| | | }, |
| | | switchDept() { |
| | | const userId = this.userInfo.user_id; |
| | | const deptColumn = this.findObject(this.userOption.column, "deptId"); |
| | |
| | | margin-left: 1px; |
| | | } |
| | | |
| | | .el-icon-arrow-right:before { |
| | | content: ""; |
| | | } |
| | | |
| | | .font14{font-size: 14px;width: 12px;height: 12px;display: inline-block;} |
| | | .font16{font-size: 16px;width: 14px;height: 14px;display: inline-block;} |
| | | |
| | |
| | | <el-button icon="el-icon-close" plain size="small" type="danger" @click="deleteOperationClickHandler">删除 |
| | | </el-button> |
| | | </div> |
| | | <el-form ref="form" :model="form" label-width="85px" size="small" style="max-height: calc(100vh - 200px);overflow: auto;"> |
| | | <el-form ref="form" :model="form" label-width="85px" style="max-height: calc(100vh - 200px);overflow: auto;"> |
| | | <span v-if="form.category !== 1"> |
| | | <el-form-item label="模块名:"> |
| | | <el-input v-model="form.name" :disabled="!editStatus && !addStatus" placeholder="请输入模块名"></el-input> |