|
|
@@ -145,7 +145,7 @@ |
|
|
|
<div class="container"> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('receptionCount')" |
|
|
|
@click="secondChange('receptionCount','接待客户/个')" |
|
|
|
style="height: auto; padding-bottom: 10px" |
|
|
|
> |
|
|
|
<div |
|
|
@@ -178,7 +178,7 @@ |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('avgDuration')" |
|
|
|
@click="secondChange('avgDuration','平均接待时长/分钟')" |
|
|
|
style="height: auto" |
|
|
|
> |
|
|
|
<div class="text1" :class="{ tophovese: secindex == 'avgDuration' }"> |
|
|
@@ -203,7 +203,7 @@ |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('prohibitedCustomer')" |
|
|
|
@click="secondChange('prohibitedCustomer','违禁接待次数/次')" |
|
|
|
style="height: auto; padding-bottom: 10px" |
|
|
|
> |
|
|
|
<div |
|
|
@@ -236,7 +236,7 @@ |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('activeCustomer')" |
|
|
|
@click="secondChange('activeCustomer','有效接待/次')" |
|
|
|
style="height: auto; padding-bottom: 10px" |
|
|
|
> |
|
|
|
<div |
|
|
@@ -269,7 +269,7 @@ |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('activeCustomerRate')" |
|
|
|
@click="secondChange('activeCustomerRate','有效接待占比/%')" |
|
|
|
style="height: auto; padding-bottom: 10px" |
|
|
|
> |
|
|
|
<div |
|
|
@@ -302,7 +302,7 @@ |
|
|
|
</div> |
|
|
|
<div |
|
|
|
class="grid-content" |
|
|
|
@click="secondChange('fraction')" |
|
|
|
@click="secondChange('fraction','平均执行率/%')" |
|
|
|
style="height: auto; padding-bottom: 10px" |
|
|
|
> |
|
|
|
<div class="text1" :class="{ tophovese: secindex == 'fraction' }"> |
|
|
@@ -443,10 +443,10 @@ export default { |
|
|
|
// 将得到的三者的数据进行组装为一个数组 |
|
|
|
this.compare2 = res.data.thirdData; |
|
|
|
} |
|
|
|
this.getChars("receptionCount"); |
|
|
|
this.getChars("receptionCount",'接待客户/个'); |
|
|
|
}); |
|
|
|
}, |
|
|
|
async getChars(str) { |
|
|
|
async getChars(str,str1) { |
|
|
|
let obj = { |
|
|
|
startDate: this.dateType ? "" : this.customtime[0], |
|
|
|
endDate: this.dateType ? "" : this.customtime[1], |
|
|
@@ -462,7 +462,7 @@ export default { |
|
|
|
// console.log(res, str); |
|
|
|
// return |
|
|
|
// console.log(idx); |
|
|
|
let Strname = ["时段一"]; |
|
|
|
let Strname = [str1]; |
|
|
|
let timeDate = []; |
|
|
|
let arr1 = []; |
|
|
|
// 判断是第几个然后对数据进行渲染 |
|
|
@@ -624,9 +624,9 @@ export default { |
|
|
|
}); |
|
|
|
} |
|
|
|
}, |
|
|
|
secondChange(i) { |
|
|
|
secondChange(i,str) { |
|
|
|
this.secindex = i; |
|
|
|
this.getChars(i); |
|
|
|
this.getChars(i,str); |
|
|
|
}, |
|
|
|
confirmtime(e) { |
|
|
|
this.dateType = null; |
|
|
|