|
@@ -22,7 +22,8 @@
|
|
|
<el-button type="primary" size="small" @click="resetPwd">修改密码</el-button>
|
|
|
<el-button type="warning" size="small" @click="logout">退出登录</el-button>
|
|
|
</div>
|
|
|
- <el-link type="primary" @click="backToMainPage" style="border-top: 1px solid #334780;" icon="el-icon-s-home">回到首页</el-link>
|
|
|
+ <el-link type="primary" @click="backToMainPage" style="border-top: 1px solid #334780;" icon="el-icon-s-home">返回首页</el-link>
|
|
|
+<!-- <a href="#"><i class="el-icon-monitor"></i>管理系统</a>-->
|
|
|
</div>
|
|
|
<div slot="reference" style="text-align: center; width:4rem;height:3rem;">
|
|
|
<img src="@/assets/images/mascot-small.png" />
|
|
@@ -39,7 +40,7 @@
|
|
|
import resetPwd from "../views/system/user/profile/resetPwd";
|
|
|
import { getUserProfile } from "@/api/system/user";
|
|
|
import { selectConfigKey } from "@/api/system/config";
|
|
|
-
|
|
|
+import Cookies from 'js-cookie';
|
|
|
export default {
|
|
|
components: {resetPwd },
|
|
|
data() {
|
|
@@ -80,6 +81,8 @@ import { selectConfigKey } from "@/api/system/config";
|
|
|
this.nickName=response.data.nickName
|
|
|
this.deptNames=response.data.deptNames
|
|
|
this.phonenumber=response.data.phonenumber
|
|
|
+ this.userId=response.data.userId
|
|
|
+ Cookies.set('userId',response.data.userId);
|
|
|
});
|
|
|
},
|
|
|
resetPwd(){
|
|
@@ -193,7 +196,7 @@ import { selectConfigKey } from "@/api/system/config";
|
|
|
|
|
|
}
|
|
|
.el-popover{
|
|
|
- background:#0c2127;
|
|
|
+ background:#0c1327;
|
|
|
border:1px solid #334780;
|
|
|
box-shadow:$shadowListHover;
|
|
|
border-radius: 1rem;
|