Commit 108bc2d9 authored by youjie's avatar youjie

no message

parent 69a9b8e1
......@@ -184,11 +184,14 @@
<td>{{item.DeptName}}</td>
<td>{{item.PostName?item.PostName:'-'}}</td>
<td>{{item.EmName}}</td>
<td>{{item.ProfitMoney}}</td>
<td>
<span @click="item.ProfitMoney>0?clickUrl(item,1):''" :class="item.ProfitMoney>0?'clickCp':''">{{item.ProfitMoney}}</span>
</td>
<td>
<span @click="item.LureNum>0?clickUrl(item,2):''" :class="item.LureNum>0?'clickCp':''">{{item.EmpType!=1?item.LureNum:'-'}}</span>
</td>
<td>{{item.EmpType!=1?item.OrderNum:'-'}}</td>
<td>
<span @click="item.OrderNum>0?clickUrl(item,3):''" :class="item.OrderNum>0?'clickCp':''">{{item.EmpType!=1?item.OrderNum:'-'}}</span></td>
<td>{{item.WageMoney}}</td>
<td @click="GenerateScale(item)">
<span class="cursor-p">{{item.WageType!=1?'上季度定档':'新员工比例'}}</span>
......@@ -414,10 +417,30 @@
},
methods: {
clickUrl(item,type){
if(type==2){
if(type==2){//线索
this.clueManagement(item)
}else{//当月利润成交订单
this.planeTicketOrder(item)
}
},
// crm核算统计
planeTicketOrder(item){
let data = [
{
path: "planeTicketOrder",
EmpType: item.EmpType,
PeriodsId: item.Month,
EmName: item.EmName,
EmpId: item.EmpId,
},
];
let href = this.domainManager().crmRoutingUrl +
"automaticLogin?token=" +
this.getLocalStorage().token +
"&data=" +
JSON.stringify(data);
window.open(href);
},
// crm线索
clueManagement(item){
let data = [
......@@ -434,7 +457,7 @@
this.getLocalStorage().token +
"&data=" +
JSON.stringify(data);
window.open(href);
window.open(href);
},
// 自定义进度条文字
setItemTextW(row) {
......
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