Commit 0b24ee84 authored by liudong1993's avatar liudong1993
parents 70cc5b30 e18dde3d
...@@ -220,12 +220,12 @@ ...@@ -220,12 +220,12 @@
CRM系统 CRM系统
<i class="iconfont icon-right1"></i> <i class="iconfont icon-right1"></i>
</el-dropdown-item> </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"> v-if="2==userInfo.RB_Group_id">
<i class="iconfont icon-Newspaper" style="color:#f39c12"></i> <i class="iconfont icon-Newspaper" style="color:#f39c12"></i>
CAR系统 CAR系统
<i class="iconfont icon-right1"></i> <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 <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
&& userInfo.DepartName.indexOf('市场')==-1)"> && userInfo.DepartName.indexOf('市场')==-1)">
...@@ -4130,10 +4130,13 @@ ...@@ -4130,10 +4130,13 @@
window.open(url) window.open(url)
}, },
goUrlCAR() { goUrlCAR() {
let userinfo = this.getLocalStorage(); var that = this;
let url = this.domainManager().CarUrl + "/auth/autologon?tk=" + userinfo.token; this.apipost("travel_temp_token", {}, res => {
console.log(url); if (res.data.resultCode == 1) {
let url = that.domainManager().CarUrl + "/auth/autologin?tk=" + res.data.data;
window.open(url) window.open(url)
}
})
}, },
//跳转至个人信息设置 //跳转至个人信息设置
goUrlPersonal() { goUrlPersonal() {
......
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