|
|
@@ -108,6 +108,7 @@
|
|
|
<el-dialog
|
|
|
title="用户信息"
|
|
|
:visible.sync="isInfo"
|
|
|
+ v-if="isInfo"
|
|
|
append-to-body
|
|
|
width="30%"
|
|
|
center
|
|
|
@@ -446,11 +447,18 @@
|
|
|
return this.$message.warning('请选择班组');
|
|
|
}
|
|
|
|
|
|
+ this.isInfo = false;
|
|
|
+
|
|
|
+ console.log(this.infoForm, 'this.infoForm');
|
|
|
this.$store.commit('user/setAllUserInfo', this.infoForm);
|
|
|
+
|
|
|
+ console.log(this.$store.state.user, 'this.$store.state.user');
|
|
|
this.$router.push(this.$route?.query?.from ?? '/').catch(() => {});
|
|
|
},
|
|
|
|
|
|
- closeInfo() {},
|
|
|
+ closeInfo() {
|
|
|
+ this.isInfo = false;
|
|
|
+ },
|
|
|
|
|
|
/* 更换图形验证码 */
|
|
|
changeCaptcha() {
|