@@ -504,6 +504,7 @@ | |||||
tabtimetap(index, text) { | tabtimetap(index, text) { | ||||
if (index == 3) { | if (index == 3) { | ||||
this.totalTimeShow = true; | this.totalTimeShow = true; | ||||
this.screenShow = false | |||||
} else { | } else { | ||||
this.screenShow = false | this.screenShow = false | ||||
this.showTimeText = text | this.showTimeText = text | ||||
@@ -571,7 +572,7 @@ | |||||
.boxtittab { | .boxtittab { | ||||
width: 100%; | width: 100%; | ||||
flex-direction: column; | flex-direction: column; | ||||
border: none; | |||||
.tabbox { | .tabbox { | ||||
width: 100%; | width: 100%; | ||||
} | } | ||||
@@ -621,6 +621,7 @@ | |||||
tabtimetap(index, text) { | tabtimetap(index, text) { | ||||
if (index == 3) { | if (index == 3) { | ||||
this.totalTimeShow = true; | this.totalTimeShow = true; | ||||
this.screenShow = false | |||||
} else { | } else { | ||||
this.screenShow = false | this.screenShow = false | ||||
this.showTimeText = text | this.showTimeText = text | ||||
@@ -709,7 +710,7 @@ | |||||
.boxtittab { | .boxtittab { | ||||
width: 100%; | width: 100%; | ||||
flex-direction: column; | flex-direction: column; | ||||
border: none; | |||||
.tabbox { | .tabbox { | ||||
width: 100%; | width: 100%; | ||||
} | } | ||||
@@ -545,6 +545,7 @@ | |||||
tabtimetap(index, text) { | tabtimetap(index, text) { | ||||
if (index == 3) { | if (index == 3) { | ||||
this.totalTimeShow = true; | this.totalTimeShow = true; | ||||
this.screenShow = false | |||||
} else { | } else { | ||||
this.screenShow = false | this.screenShow = false | ||||
this.showTimeText = text | this.showTimeText = text | ||||
@@ -955,7 +956,7 @@ | |||||
.boxtittab { | .boxtittab { | ||||
width: 100%; | width: 100%; | ||||
flex-direction: column; | flex-direction: column; | ||||
border: none; | |||||
.tabbox { | .tabbox { | ||||
width: 100%; | width: 100%; | ||||
} | } | ||||
@@ -111,9 +111,8 @@ | |||||
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image> | <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image> | ||||
</view> | </view> | ||||
</view> | </view> | ||||
<view | |||||
style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;" | |||||
v-if="lopanobj.name" @click="oninputtap()"> | |||||
<view style="display: flex;justify-content:center;padding-left: 30rpx;padding-right: 30rpx;" | |||||
v-if="lopanobj.name && newactiveTotal == 1" @click="oninputtap()"> | |||||
<view class="title2-che" style="width: 220rpx;">{{lopanobj.name}} | <view class="title2-che" style="width: 220rpx;">{{lopanobj.name}} | ||||
<image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image> | <image class="righttochoose" src="../../../static/images/righttochoose.png" mode=""></image> | ||||
</view> | </view> | ||||
@@ -323,7 +322,8 @@ | |||||
accountId: '', //顾问ids | accountId: '', //顾问ids | ||||
marketingId: '', //二级销讲id | marketingId: '', //二级销讲id | ||||
deptId: "", //部门id | deptId: "", //部门id | ||||
showStatus: 0 | |||||
showStatus: 0, | |||||
marketingBusiness: '', | |||||
}, | }, | ||||
linetype: "line", | linetype: "line", | ||||
lineOptsect: {}, //图表数据 | lineOptsect: {}, //图表数据 | ||||
@@ -524,6 +524,9 @@ | |||||
}, | }, | ||||
init() { | init() { | ||||
if (this.marketingBusiness) { | |||||
this.pamect.marketingBusiness = this.marketingBusiness | |||||
} | |||||
this.$u.post("/cusLvStatistics/lyAndcp", this.pamect).then(data => { | this.$u.post("/cusLvStatistics/lyAndcp", this.pamect).then(data => { | ||||
this.pamect.lastStartDate = data.lastStartDate; | this.pamect.lastStartDate = data.lastStartDate; | ||||
this.pamect.lastEndDate = data.lastEndDate; | this.pamect.lastEndDate = data.lastEndDate; | ||||
@@ -722,6 +725,9 @@ | |||||
series: [] | series: [] | ||||
}; | }; | ||||
this.linetype = "line"; | this.linetype = "line"; | ||||
if (this.marketingBusiness) { | |||||
this.pamect.marketingBusiness = this.marketingBusiness | |||||
} | |||||
this.$u.post("/cusLvStatistics/teamOrOneValueShow", this.pamect).then(data => { | this.$u.post("/cusLvStatistics/teamOrOneValueShow", this.pamect).then(data => { | ||||
if (this.pamect.showStatus == 0) { | if (this.pamect.showStatus == 0) { | ||||
that.lineOptsect = { | that.lineOptsect = { | ||||
@@ -1133,7 +1139,8 @@ | |||||
//获取团队列表 | //获取团队列表 | ||||
getuanduilist() { | getuanduilist() { | ||||
this.$u.post("/cusLvStatistics/findAllDeptIdByHouseId ", { | this.$u.post("/cusLvStatistics/findAllDeptIdByHouseId ", { | ||||
houseId: this.pamect.houseId | |||||
houseId: this.pamect.houseId, | |||||
marketingBusiness: this.marketingBusiness, | |||||
}).then(data => { | }).then(data => { | ||||
this.selectlist4 = [{ | this.selectlist4 = [{ | ||||
value: "", | value: "", | ||||
@@ -1170,6 +1177,9 @@ | |||||
}; | }; | ||||
this.linetype = "line"; | this.linetype = "line"; | ||||
this.$forceUpdate() | this.$forceUpdate() | ||||
if (this.marketingBusiness) { | |||||
this.pamect.marketingBusiness = this.marketingBusiness | |||||
} | |||||
this.$u.post("/cusLvStatistics/teamOrOneValueShowByDept", this.pamect).then(data => { | this.$u.post("/cusLvStatistics/teamOrOneValueShowByDept", this.pamect).then(data => { | ||||
if (this.Selecttuanduiobj.id == "") { | if (this.Selecttuanduiobj.id == "") { | ||||
var newlist = []; | var newlist = []; | ||||
@@ -341,6 +341,7 @@ | |||||
tabtimetap(index, text) { | tabtimetap(index, text) { | ||||
if (index == 3) { | if (index == 3) { | ||||
this.totalTimeShow = true; | this.totalTimeShow = true; | ||||
this.screenShow = false | |||||
} else { | } else { | ||||
this.screenShow = false | this.screenShow = false | ||||
this.showTimeText = text | this.showTimeText = text | ||||
@@ -391,7 +392,7 @@ | |||||
.boxtittab { | .boxtittab { | ||||
width: 100%; | width: 100%; | ||||
flex-direction: column; | flex-direction: column; | ||||
border: none; | |||||
.tabbox { | .tabbox { | ||||
width: 100%; | width: 100%; | ||||
} | } | ||||
@@ -635,6 +635,7 @@ | |||||
tabtimetap(index, text) { | tabtimetap(index, text) { | ||||
if (index == 3) { | if (index == 3) { | ||||
this.totalTimeShow = true; | this.totalTimeShow = true; | ||||
this.screenShow = false | |||||
} else { | } else { | ||||
this.screenShow = false | this.screenShow = false | ||||
this.showTimeText = text | this.showTimeText = text | ||||
@@ -783,6 +784,7 @@ | |||||
.boxtittab { | .boxtittab { | ||||
width: 100%; | width: 100%; | ||||
flex-direction: column; | flex-direction: column; | ||||
border: none; | |||||
.tabbox { | .tabbox { | ||||
width: 100%; | width: 100%; | ||||
@@ -84,23 +84,53 @@ | |||||
</view> | </view> | ||||
<view v-if="Thevisitingrecords.length!=0" class="content-tips" | <view v-if="Thevisitingrecords.length!=0" class="content-tips" | ||||
v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)"> | v-for="(item,index) in Thevisitingrecords" :key="index" @click="tapThevisiting(item)"> | ||||
<view class="content-first"> | |||||
<view class="left"> | |||||
<view class="name">{{item.agentName || '--'}}</view> | |||||
<view class="status" v-if="item.replaceReception==1">代接待</view> | |||||
<view class="content-first"> | |||||
<view class="left"> | |||||
<view class="name">{{item.agentName}}</view> | |||||
<view class="status" v-if="item.replaceReception==1">代接待</view> | |||||
<view class="normal-status">{{item.receptionStatusName || ''}} | |||||
</view> | |||||
</view> | |||||
<view class="right" v-if="item.recording!=0"> | |||||
<view style="margin-right: 6rpx;">{{item.validInvalidName||''}}</view> | |||||
<view v-if="methodsisshow"> | |||||
<text style="color: red;" v-if="item.taboo==1">违禁接待</text> | |||||
<text v-if="item.taboo==1"> |</text> | |||||
</view> | |||||
<view v-if="item.markAdvisor==0" class="">未标记</view> | |||||
<view v-if="item.markAdvisor==1" class="">已标记</view> | |||||
</view> | |||||
<view class="right" v-else> | |||||
<view class="">无录音</view> | |||||
</view> | |||||
</view> | </view> | ||||
</view> | |||||
<view class="content-sec"> | |||||
<view class="left"> | |||||
<view class="cus" style="line-height: 46rpx;">客户:{{item.name || '--'}} |</view> | |||||
<view style="line-height: 46rpx;" class="arriveNum">{{item.visitRecord || '0'}}次到访 | |||||
<view class="content-time"> | |||||
{{item.createTime}} | {{item.mm || '0'}}min | |||||
</view> | |||||
<view class="content-sec"> | |||||
<view class="left">客户:{{item.name || '--'}}</view> | |||||
<view class="right">销讲业务:{{ item.marketingBusinessName || '--' }}</view> | |||||
</view> | |||||
<view class="content-last"> | |||||
<view class="cont-item"> | |||||
<view class="count">{{item.visitRecord|| 0}}</view> | |||||
<view class="text">访问次数</view> | |||||
</view> | |||||
<view class="cont-item"> | |||||
<view class="count">{{item.wordFraction||0}}%</view> | |||||
<view class="text">挖掘执行</view> | |||||
</view> | |||||
<view class="cont-item"> | |||||
<view class="count">{{item.wordFinishFraction|| 0}}%</view> | |||||
<view class="text">挖掘成功</view> | |||||
</view> | |||||
<view class="cont-item"> | |||||
<view class="count" style="color: #2671E2;font-weight:600">{{item.fraction|| 0}}%</view> | |||||
<view class="text">销讲执行率</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
<view class="right">{{item.fraction || '0'}}%</view> | |||||
</view> | |||||
<view class="content-last">{{item.createTime}} | {{item.mm || 0}}min</view> | |||||
</view> | </view> | ||||
</view> | </view> | ||||
@@ -1350,117 +1380,147 @@ | |||||
.tabactive1 { | .tabactive1 { | ||||
padding-bottom: 100rpx; | padding-bottom: 100rpx; | ||||
.content-tips { | |||||
background: #fff; | |||||
padding: 0 30rpx; | |||||
box-sizing: border-box; | |||||
overflow: hidden; | |||||
margin-bottom: 20rpx; | |||||
border-bottom: 20rpx solid #f8f8f8; | |||||
.content-first { | |||||
margin-top: 19rpx; | |||||
.content-tips { | |||||
background: #fff; | |||||
box-sizing: border-box; | |||||
overflow: hidden; | |||||
margin: 0 0 20rpx 0; | |||||
padding: 30rpx; | |||||
.content-first { | |||||
display: flex; | |||||
justify-content: space-between; | |||||
.left { | |||||
display: flex; | display: flex; | ||||
justify-content: space-between; | |||||
align-items: center; | |||||
.left { | |||||
display: flex; | |||||
.img { | |||||
width: 52rpx; | |||||
height: 52rpx; | |||||
background: #FFFFFF; | |||||
border: 1px solid #C9C9C9; | |||||
border-radius: 50%; | |||||
text-align: center; | |||||
line-height: 52rpx; | |||||
} | |||||
.img { | |||||
width: 52rpx; | |||||
height: 52rpx; | |||||
background: #FFFFFF; | |||||
border: 1px solid #C9C9C9; | |||||
border-radius: 50%; | |||||
text-align: center; | |||||
line-height: 52rpx; | |||||
margin-right: 20rpx; | |||||
} | |||||
.name { | |||||
font-weight: 600; | |||||
color: #333333; | |||||
margin-right: 10rpx; | |||||
font-size: 30rpx; | |||||
} | |||||
.name { | |||||
font-weight: 600; | |||||
color: #333333; | |||||
// margin-left: 20rpx; | |||||
margin-top: 11rpx; | |||||
} | |||||
.status { | |||||
width: 110rpx; | |||||
height: 42rpx; | |||||
background: #FFF9F5; | |||||
border-radius: 4rpx; | |||||
font-size: 26rpx; | |||||
font-weight: 400; | |||||
color: #EC8D49; | |||||
line-height: 42rpx; | |||||
text-align: center; | |||||
margin: 0 10rpx; | |||||
} | |||||
.status { | |||||
width: 110rpx; | |||||
height: 42rpx; | |||||
background: #FFF9F5; | |||||
border-radius: 4rpx; | |||||
font-size: 26rpx; | |||||
font-weight: 400; | |||||
color: #EC8D49; | |||||
line-height: 42rpx; | |||||
text-align: center; | |||||
margin-left: 19rpx; | |||||
margin-top: 11rpx; | |||||
} | |||||
.normal-status { | |||||
color: red; | |||||
} | } | ||||
} | |||||
.right { | |||||
display: flex; | |||||
margin-top: 11rpx; | |||||
.right { | |||||
display: flex; | |||||
margin-top: 11rpx; | |||||
.point { | |||||
width: 12rpx; | |||||
height: 12rpx; | |||||
background: #2B6EFF; | |||||
border-radius: 50%; | |||||
margin-right: 9rpx; | |||||
margin-top: 16rpx; | |||||
.point { | |||||
width: 12rpx; | |||||
height: 12rpx; | |||||
background: #2B6EFF; | |||||
border-radius: 50%; | |||||
margin-right: 9rpx; | |||||
margin-top: 16rpx; | |||||
} | |||||
} | } | ||||
} | } | ||||
} | |||||
.content-sec { | |||||
display: flex; | |||||
justify-content: space-between; | |||||
margin: 24rpx 0; | |||||
.content-sec { | |||||
display: flex; | |||||
justify-content: space-between; | |||||
margin-top: 19rpx; | |||||
.left { | |||||
flex-grow: 1; | |||||
height: 40rpx; | |||||
font-size: 28rpx; | |||||
font-family: PingFangSC-Medium, PingFang SC; | |||||
font-weight: 500; | |||||
color: #333333; | |||||
line-height: 40rpx; | |||||
} | |||||
.left { | |||||
display: flex; | |||||
.right { | |||||
flex-shrink: 0; | |||||
width: 340rpx; | |||||
height: 40rpx; | |||||
font-size: 28rpx; | |||||
font-family: PingFangSC-Regular, PingFang SC; | |||||
font-weight: 400; | |||||
color: #333333; | |||||
line-height: 40rpx; | |||||
text-align: right; | |||||
overflow: hidden; | |||||
white-space: nowrap; | |||||
text-overflow: ellipsis; | |||||
} | |||||
} | |||||
.cus { | |||||
font-size: 30rpx; | |||||
font-weight: 400; | |||||
color: #666666; | |||||
line-height: 30rpx; | |||||
} | |||||
.content-time { | |||||
font-size: 28rpx; | |||||
font-family: PingFangSC-Regular, PingFang SC; | |||||
font-weight: 400; | |||||
color: #333333; | |||||
line-height: 40rpx; | |||||
padding: 20rpx 0 24rpx; | |||||
border-bottom: 1px solid #E0E0E0; | |||||
} | |||||
.arriveNum { | |||||
font-size: 30rpx; | |||||
font-weight: 400; | |||||
line-height: 30rpx; | |||||
margin-left: 10rpx; | |||||
} | |||||
} | |||||
.content-last { | |||||
display: flex; | |||||
justify-content: space-around; | |||||
.right { | |||||
width: 192rpx; | |||||
height: 46rpx; | |||||
background: #F4F8FD; | |||||
border-radius: 6rpx; | |||||
text-align: center; | |||||
line-height: 46rpx; | |||||
.cont-item { | |||||
display: flex; | |||||
flex-direction: column; | |||||
align-items: center; | |||||
justify-content: center; | |||||
.count { | |||||
height: 42rpx; | |||||
font-size: 30rpx; | |||||
font-family: PingFangSC-Regular, PingFang SC; | |||||
font-weight: 400; | font-weight: 400; | ||||
color: #2671E2; | |||||
color: #000000; | |||||
line-height: 42rpx; | |||||
margin-bottom: 16rpx; | |||||
} | } | ||||
} | |||||
.content-last { | |||||
margin: 30rpx 0; | |||||
font-size: 30rpx; | |||||
font-weight: 400; | |||||
color: #666666; | |||||
line-height: 30rpx; | |||||
.text { | |||||
height: 32rpx; | |||||
font-size: 24rpx; | |||||
font-family: PingFangSC-Regular, PingFang SC; | |||||
font-weight: 400; | |||||
color: #666666; | |||||
line-height: 32rpx; | |||||
} | |||||
} | } | ||||
} | } | ||||
} | } | ||||
} | |||||
.tabactive2 { | .tabactive2 { | ||||
.tab2-tips { | .tab2-tips { | ||||
@@ -74,7 +74,7 @@ | |||||
</view> | </view> | ||||
<view class="content-sec"> | <view class="content-sec"> | ||||
<view class="left">客户:{{item.name || '--'}}</view> | <view class="left">客户:{{item.name || '--'}}</view> | ||||
<view class="right">{{ item.marketingBusinessName }}</view> | |||||
<view class="right">销讲业务:{{ item.marketingBusinessName || '--' }}</view> | |||||
</view> | </view> | ||||
<view class="content-last"> | <view class="content-last"> | ||||
<view class="cont-item"> | <view class="cont-item"> | ||||
@@ -462,7 +462,7 @@ | |||||
wajueVal: [], // 需求挖掘 | wajueVal: [], // 需求挖掘 | ||||
xiaojiangVal: [], //销讲执行率 | xiaojiangVal: [], //销讲执行率 | ||||
jiedaiVal: [], // 接待时长 | jiedaiVal: [], // 接待时长 | ||||
validInvalid: '' ,// 录音标识 | |||||
validInvalid: '', // 录音标识 | |||||
marketingBusiness: '', // 选中销讲业务id , | marketingBusiness: '', // 选中销讲业务id , | ||||
}, | }, | ||||
freeList: [], //顾问 | freeList: [], //顾问 | ||||
@@ -1040,7 +1040,7 @@ | |||||
margin: 24rpx 0; | margin: 24rpx 0; | ||||
.left { | .left { | ||||
flex: 1; | |||||
flex-grow: 1; | |||||
height: 40rpx; | height: 40rpx; | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
font-family: PingFangSC-Medium, PingFang SC; | font-family: PingFangSC-Medium, PingFang SC; | ||||
@@ -1050,7 +1050,8 @@ | |||||
} | } | ||||
.right { | .right { | ||||
flex: 1; | |||||
flex-shrink: 0; | |||||
width: 340rpx; | |||||
height: 40rpx; | height: 40rpx; | ||||
font-size: 28rpx; | font-size: 28rpx; | ||||
font-family: PingFangSC-Regular, PingFang SC; | font-family: PingFangSC-Regular, PingFang SC; | ||||
@@ -1058,6 +1059,9 @@ | |||||
color: #333333; | color: #333333; | ||||
line-height: 40rpx; | line-height: 40rpx; | ||||
text-align: right; | text-align: right; | ||||
overflow: hidden; | |||||
white-space: nowrap; | |||||
text-overflow: ellipsis; | |||||
} | } | ||||
} | } | ||||
@@ -43,8 +43,14 @@ | |||||
name: data.propertyName | name: data.propertyName | ||||
} | } | ||||
uni.setStorageSync("buildingID", lopan); | uni.setStorageSync("buildingID", lopan); | ||||
uni.navigateBack({ | |||||
delta: -1 | |||||
this.$u.post('/user/addLoginCount', { houseId: data.id}).then(res=> { | |||||
uni.navigateBack({ | |||||
delta: -1 | |||||
}) | |||||
}).catch(() => { | |||||
uni.navigateBack({ | |||||
delta: -1 | |||||
}) | |||||
}) | }) | ||||
}, | }, | ||||
init(e) { | init(e) { | ||||