Commit c39fd819 authored by 黄奎's avatar 黄奎

新增自动登录,跳转到车系统

parent 601e10e2
......@@ -220,12 +220,12 @@
CRM系统
<i class="iconfont icon-right1"></i>
</el-dropdown-item>
<!-- <el-dropdown-item class="clearfix _dropdown_other" @click.native="goUrlCAR()"
<el-dropdown-item class="clearfix _dropdown_other" @click.native="goUrlCAR()"
v-if="2==userInfo.RB_Group_id">
<i class="iconfont icon-Newspaper" style="color:#f39c12"></i>
CAR系统
<i class="iconfont icon-right1"></i>
</el-dropdown-item> -->
</el-dropdown-item>
<el-dropdown-item class="clearfix _dropdown_other" @click.native="unbundlingVisible=true" v-if="userInfo&&userInfo.DepartName&&(userInfo.DepartName.indexOf('操作部')!=-1 || userInfo.DepartName.indexOf('总部财务部')!=-1) ||(userInfo.RB_Branch_id == 1245
&& userInfo.DepartName.indexOf('引流')==-1
&& userInfo.DepartName.indexOf('市场')==-1)">
......@@ -4131,8 +4131,7 @@
},
goUrlCAR() {
let userinfo = this.getLocalStorage();
let url = this.domainManager().CarUrl + "/auth/autologon?tk=" + userinfo.token;
console.log(url);
let url = this.domainManager().CarUrl + "/auth/autologin?tk=" + userinfo.token;
window.open(url)
},
//跳转至个人信息设置
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment