diff --git a/pages/center/Piabodata/Theteamcompared.vue b/pages/center/Piabodata/Theteamcompared.vue
index d1d4394..e764148 100644
--- a/pages/center/Piabodata/Theteamcompared.vue
+++ b/pages/center/Piabodata/Theteamcompared.vue
@@ -38,122 +38,128 @@
-
-
-
-
- 接待量
-
-
- 排名
-
-
- 趋势
-
+
+
+ 接待量
+
+
+ 排名
-
-
- {{!staff1.value?'团队总数':staff1.label}}:{{newTeam1||0}}
- {{!staff2.value?'团队平均':staff2.label}}:{{newAvg1||0}}
-
-
- 接待量
-
-
+
+ 趋势
+
-
-
-
- {{item.name.substring(0, 4)}}
-
-
-
- {{item.zxl==null?0:item.zxl}}
+
+
+ {{!staff1.value?'团队总数':staff1.label}}:{{newTeam1||0}}
+ {{!staff2.value?'团队平均':staff2.label}}:{{newAvg1||0}}
+
+
+ 接待量
+
+
+
+
+
+
+
+ {{item.name.substring(0, 4)}}
+
+
+ {{item.zxl==null?0:item.zxl}}
-
-
+
-
-
-
- 接待时长
-
-
- 排名
-
-
- 趋势
-
+
+
+
+ 接待时长
+
+
+ 排名
-
-
- {{!staff1.value?'团队总数':staff1.label}}:{{newTeam2||0}}
- {{!staff2.value?'团队平均':staff2.label}}:{{newAvg2||0}}
-
-
- 录音时长
-
-
+
+ 趋势
+
-
-
-
- {{item.name.substring(0, 4)}}
-
-
-
- {{item.zxl==null?0:item.zxl}}
+
+
+ {{!staff1.value?'团队总数':staff1.label}}:{{newTeam2||0}}
+ {{!staff2.value?'团队平均':staff2.label}}:{{newAvg2||0}}
+
+
+ 录音时长
+
+
+
+
+
+
+
+ {{item.name.substring(0, 4)}}
+
+
+ {{item.zxl==null?0:item.zxl}}
-
+
-
-
-
-
- 销讲执行率
-
-
- 排名
-
-
- 趋势
-
+
+
+ 销讲执行率
+
+
+ 排名
-
-
- 执行率
-
-
+
+ 趋势
+
-
-
-
- {{item.name.substring(0, 4)}}
-
-
-
- {{item.zxl==null?0:item.zxl}}%
+
+
+
+ 执行率
+
+
+
+
+
+
+
+ {{item.name.substring(0, 4)}}
+
+
+ {{item.zxl==null?0:item.zxl}}%
-
+
+
-
+
选择二级:
@@ -127,8 +130,8 @@
-
+
{{Selecttuanduiobj.name}}
@@ -166,20 +169,25 @@
style="border-right:1px solid #E0E0E0;">{{item1}}
- {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
+ {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
+
-
-
+
+
-
+
{{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
+ style="border-right:1px solid #E0E0E0;">
+ {{item1==0?'--':item1+'%'}}{{item1*1>0?'↑':item1*1<0?'↓':''}}
- {{item1+'%'}}
+ {{item1+'%'}}
+
{{item1}}
@@ -189,22 +197,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -368,7 +372,7 @@
}
this.activeTotal = 8;
},
-
+
init() {
this.$u.post("/cusLvStatistics/lyAndcp", this.pamect).then(data => {
this.pamect.lastStartDate = data.lastStartDate;
@@ -385,7 +389,7 @@
this.numlist[2].num1 = data.endSumDuration || 0;
this.numlist[0].num2 = data.contrastSumCustomer
this.numlist[1].num2 = data.contrastFraction;
- this.numlist[2].num2 = data.contrastSumDuration|| 0;
+ this.numlist[2].num2 = data.contrastSumDuration || 0;
} else {
this.compareFlag = false
}
@@ -546,7 +550,7 @@
this.guwenshow = false;
this.Selectlevel = false;
this.Selecttuandui = false;
- this.tableDate=[]
+ this.tableDate = []
this.pamect.showStatus = 0;
this.pamect.timeType = "4";
this.pamect.firstStartDate = '';
@@ -605,7 +609,8 @@
data.endList.forEach((child, zxc) => {
if (sdf == zxc) {
that.lineOptsect.categories.push(
- child.statDate.substring(5,10) + 'vs' + item.statDate.substring(5, 10)
+ child.statDate.substring(5, 10) + 'vs' + item.statDate
+ .substring(5, 10)
)
}
})
@@ -624,7 +629,8 @@
// },
]
that.lineOptsect.categories.map((item, index) => {
- let newarr = [item, data.endList[index].fraction, data.startList[index].fraction,data.comparedList[index].fraction
+ let newarr = [item, data.endList[index].fraction, data.startList[index]
+ .fraction, data.comparedList[index].fraction
]
// obj.time=item
// obj.time1=data.firstValue[index].fraction
@@ -809,9 +815,10 @@
data.firstList.forEach((item, sdf) => {
data.lastList.forEach((child, zxc) => {
if (sdf == zxc) {
- this.lineOptsect.categories.push(
- child.statDate.substring(5,10) + 'vs' + item.statDate.substring(5, 10)
- )
+ this.lineOptsect.categories.push(
+ child.statDate.substring(5, 10) + 'vs' + item.statDate
+ .substring(5, 10)
+ )
}
})
})
@@ -825,7 +832,9 @@
]
that.lineOptsect.categories.map((item, index) => {
let newarr = [item, data.lastList[
- index].avgExecutionRate, data.firstList[index].avgExecutionRate, data.contrast[index].data]
+ index].avgExecutionRate, data.firstList[index].avgExecutionRate,
+ data.contrast[index].data
+ ]
arr.push(newarr)
})
// console.log(arr)
@@ -936,11 +945,11 @@
//获取团队列表
getuanduilist() {
uni.request({
- url: config.service.findListByUser + "?houseId=" +this.pamect.houseId,
+ url: config.service.findListByUser + "?houseId=" + this.pamect.houseId,
method: "GET",
header: {
'content-type': 'application/json',
- 'Authorization': 'Bearer '+uni.getStorageSync('weapp_session_login_data').token
+ 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
},
success: (data) => {
if (data.data.data.length == 0) {
@@ -964,8 +973,8 @@
this.TeamCompared()
}
}
- })
-
+ })
+
// this.$u.post("/cusLvStatistics/findAllDeptIdByHouseId ", {
// houseId: this.pamect.houseId
// }).then(data => {
@@ -1069,7 +1078,8 @@
data.lastValue.receptionStatList.forEach((child, zxc) => {
if (sdf == zxc) {
that.lineOptsect.categories.push(
- child.statDate.substring(5,10) + 'vs' + item.statDate.substring(5, 10)
+ child.statDate.substring(5, 10) + 'vs' + item
+ .statDate.substring(5, 10)
)
}
})
@@ -1085,8 +1095,9 @@
['时间', '时段一', '时段二', '变化']
]
that.lineOptsect.categories.map((item, index) => {
- let newarr = [item, data
- .lastValue.receptionStatList[index].fraction, data.firstValue.receptionStatList[index].fraction,data.contrast
+ let newarr = [item, data
+ .lastValue.receptionStatList[index].fraction, data.firstValue
+ .receptionStatList[index].fraction, data.contrast
.receptionStatList[index].data
]
arr.push(newarr)
@@ -1145,7 +1156,7 @@
align-items: center;
border-bottom: 1px solid #E0E0E0;
flex-wrap: nowrap;
-
+
.td {
text-align: center;
font-size: 24rpx;
@@ -1155,11 +1166,13 @@
line-height: 64rpx;
// flex-shrink: 0;
}
- .trd{
- flex-shrink: 0;
- min-width: 300rpx;
- // border-bottom: 1px solid #ccc;
+
+ .trd {
+ flex-shrink: 0;
+ min-width: 300rpx;
+ // border-bottom: 1px solid #ccc;
}
+
.th {
height: 64rpx;
text-align: center;
@@ -1345,11 +1358,13 @@
color: #666666;
margin-top: 10rpx;
}
- .grid:nth-child(1){
- border-right:none ;
- border-bottom:none ;
+
+ .grid:nth-child(1) {
+ border-right: none;
+ border-bottom: none;
}
- .grid:nth-child(3){
+
+ .grid:nth-child(3) {
width: 50.5%;
}