| | |
| | | <GlobalAlertWindow |
| | | title="修改密码" |
| | | :visible.sync="visible.changePwd" |
| | | :showClose="!userInfo.needChangePwd || userInfo.needChangePwd == '1'" |
| | | :showCancel="userInfo.needChangePwd && userInfo.needChangePwd == '0'" |
| | | @confirm="confirmChangePwd" |
| | | @close="visible.changePwd = false" |
| | | > |
| | |
| | | v-model="changePwdData.form.newPwd" |
| | | type="password" |
| | | placeholder="请输入新密码" |
| | | maxlength="30" |
| | | maxlength="20" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | v-model="changePwdData.form.confirmPwd" |
| | | type="password" |
| | | placeholder="请再次输入新密码" |
| | | maxlength="30" |
| | | maxlength="20" |
| | | show-password |
| | | ></el-input> |
| | | </el-form-item> |
| | |
| | | // } |
| | | }, |
| | | mounted() { |
| | | console.log('userInfo',this.userInfo); |
| | | // console.log('userInfo',this.userInfo); |
| | | if(!this.userInfo.needChangePwd || this.userInfo.needChangePwd == '0'){ |
| | | this.visible.changePwd = true |
| | | } |
| | | |
| | | }, |
| | | filters: { |