|
|
|
|
@ -58,7 +58,7 @@
|
|
|
|
|
<i class="iconfont icon-xiaoxi"></i>
|
|
|
|
|
<!-- <svg class="svg_icon f16 user-box" aria-hidden="true">
|
|
|
|
|
<use xlink:href="#icon-xiaoxi" />
|
|
|
|
|
</svg> -->
|
|
|
|
|
</svg>-->
|
|
|
|
|
</div>
|
|
|
|
|
<div class="loginbox" slot="overlay">
|
|
|
|
|
<router-link to="/systemMsg">
|
|
|
|
|
@ -102,15 +102,15 @@
|
|
|
|
|
<i class="iconfont icon-youjiantou"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</router-link>
|
|
|
|
|
<router-link to="/merchantBack" v-if="loginValue.agencyName == '郑州一才工作' ">
|
|
|
|
|
<!-- <router-link to="/merchantBack" v-if="loginValue.agencyName == '郑州一才工作' ">
|
|
|
|
|
<div>
|
|
|
|
|
<span>
|
|
|
|
|
<i class="iconfont icon-shangjiahoutai"></i>商家后台and1.0
|
|
|
|
|
</span>
|
|
|
|
|
<i class="iconfont icon-youjiantou"></i>
|
|
|
|
|
</div>
|
|
|
|
|
</router-link>
|
|
|
|
|
<!-- 2023-11-29 注释该条件 && (loginValue.agencyRole == 2 || loginValue.agencyRole == 1 ) -->
|
|
|
|
|
</router-link>-->
|
|
|
|
|
<!-- 2023-11-29 注释该条件 && (loginValue.agencyRole == 2 || loginValue.agencyRole == 1 ) -->
|
|
|
|
|
<router-link to="###" v-if="loginValue.agencyName == '郑州一才工作'">
|
|
|
|
|
<div @click="goAdmin">
|
|
|
|
|
<span>
|
|
|
|
|
@ -670,13 +670,13 @@ export default {
|
|
|
|
|
let obj = JSON.parse(localStorage.getItem('LOGIN_DATA'))
|
|
|
|
|
if (window.location.hostname == 'localhost') {
|
|
|
|
|
// 测试环境,通过URL获取token
|
|
|
|
|
window.location.href = 'http://localhost:3000/merchantManagement/homePage?token=' + obj.token + '&username=' + (obj.user.userName ? obj.user.userName : obj.user.nickName) + '&avatar=' + obj.imgSrc + '&roleid=' + obj.user.agencyRoleId;
|
|
|
|
|
window.location.href = 'http://localhost:3000/merchantManagement/homePage?token=' + obj.token + '&username=' + (obj.user.userName ? obj.user.userName : obj.user.nickName) + '&avatar=' + obj.imgSrc + '&roleid=' + obj.user.agencyRoleId
|
|
|
|
|
} else {
|
|
|
|
|
// 正式环境,通过缓存获取
|
|
|
|
|
localStorage.setItem('daotian_to_admin_token', obj.token)
|
|
|
|
|
localStorage.setItem('daotian_to_admin_avatar', obj.imgSrc)
|
|
|
|
|
localStorage.setItem('daotian_to_admin_username', obj.user.userName ? obj.user.userName : obj.user.nickName)
|
|
|
|
|
localStorage.setItem('daotian_to_admin_roleid', obj.user.agencyRoleId)
|
|
|
|
|
localStorage.setItem('daotian_to_admin_roleid', obj.user.agencyRoleId)
|
|
|
|
|
window.location.href = 'http://idaotian.com/dist2.0.0/#/merchantManagement/homePage'
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
@ -1121,8 +1121,8 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.user-box:hover{
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #ff4400 !important;
|
|
|
|
|
.user-box:hover {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: #ff4400 !important;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
|