@@ -189,7 +189,6 @@ | |||
}, | |||
activeTotal: 2, | |||
houseId: '', | |||
// hushuList: [],// 业务话术 | |||
staffList: [],// 员工列表 | |||
teamList: [],// 团队列表 | |||
team: { | |||
@@ -252,7 +251,7 @@ | |||
}, | |||
onShow() { | |||
// 获取项目id | |||
this.houseId = uni.getStorageSync('buildingID').id; | |||
// this.houseId = uni.getStorageSync('buildingID').id; | |||
// 获取员工 | |||
// this.getStaffList() | |||
// // 获取团队 | |||
@@ -263,10 +262,10 @@ | |||
// 获取项目id | |||
this.houseId = uni.getStorageSync('buildingID').id; | |||
// 获取员工 | |||
// this.getStaffList() | |||
// // 获取团队 | |||
// this.getSectionList() | |||
// this.getdata() | |||
this.getStaffList() | |||
// 获取团队 | |||
this.getSectionList() | |||
this.getdata() | |||
}, | |||
methods: { | |||
max100(num) { | |||
@@ -346,10 +345,10 @@ | |||
this.ringChartData = { series: [ | |||
{ | |||
data: [ | |||
{"name":"30%及以下","value":res.a}, | |||
{"name":"31%~50%","value":res.b}, | |||
{"name":"51%~70%","value":res.c}, | |||
{"name":"71%及以上","value":res.d}, | |||
{"name":"30%及以下","value": res.a||0}, | |||
{"name":"31%~50%","value": res.b||0}, | |||
{"name":"51%~70%","value": res.c||0}, | |||
{"name":"71%及以上","value": res.d||0}, | |||
] | |||
} | |||
]} | |||
@@ -37,10 +37,10 @@ | |||
</view> | |||
<view class="content-sec-lab"> | |||
<view class="u-flex" style="flex:1"> | |||
挖掘执行:<view class="content-sec-lab1">10%</view> | |||
挖掘执行:<view class="content-sec-lab1">{{customerInfo.wordFraction||0}}%</view> | |||
</view> | |||
<view class="u-flex" style="flex:1"> | |||
挖掘成功:<view class="content-sec-lab1">10%</view> | |||
挖掘成功:<view class="content-sec-lab1">{{customerInfo.wordFinishFraction||0}}%</view> | |||
</view> | |||
</view> | |||
<view class="content-sec-lab"> | |||
@@ -339,7 +339,7 @@ | |||
// 对话加命中标签 | |||
dealTypes(type) { | |||
if (type) { | |||
let tem = type.split(',') | |||
let tem = type.substring(1).split(',') | |||
return tem | |||
} else { | |||
return [] | |||
@@ -393,14 +393,14 @@ | |||
this.$u.post("/customer/findbypage", parames).then(data => { | |||
this.LOADING = false | |||
var list = data.results || []; | |||
var list = data.records || []; | |||
if (this.isRefresh) { | |||
this.recordList = list; | |||
} else { | |||
this.recordList = [...this.recordList, ...list]; | |||
this.recordList = [].concat(this.recordList,list); | |||
} | |||
this.totalRecord = data.totalPage; | |||
this.totalRecords = data.totalRecord; | |||
this.totalRecord = data.pages; | |||
this.totalRecords = data.total; | |||
this.nextPageObj = parames.query | |||
}).catch(e => { | |||
this.LOADING = false | |||
@@ -69,13 +69,13 @@ | |||
</view> | |||
<view class="content-newadd"> | |||
<view class="c-items"> | |||
挖掘执行:100% | |||
挖掘执行:{{item.wordFraction||0}}% | |||
</view> | |||
<view class="c-items"> | |||
挖掘成功:100% | |||
挖掘成功:{{item.wordFinishFraction||0}}% | |||
</view> | |||
<view class="c-items"> | |||
销讲业务:生鲜 | |||
<!-- 销讲业务:生鲜 --> | |||
</view> | |||
</view> | |||
<view class="content-last"> | |||
@@ -563,6 +563,8 @@ | |||
if (newmenulist.jdjl_ck != true) { | |||
return | |||
} | |||
this.wordFinishFraction=item.wordFinishFraction | |||
this.wordFraction=item.wordFraction | |||
uni.showLoading({ | |||
title: '加载中', | |||
mask: true | |||
@@ -605,13 +607,15 @@ | |||
uni.hideLoading(); | |||
}, 2000); | |||
let newobj = res[0]; | |||
console.log(newobj); | |||
// console.log(item); | |||
if (res[0].merge == 0) { | |||
uni.navigateTo({ | |||
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"2"}` | |||
url: `/pages/mine/details2?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=2&wordFraction=${this.wordFraction}&wordFinishFraction=${this.wordFinishFraction}` | |||
}) | |||
} else { | |||
uni.navigateTo({ | |||
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=${"1"}` | |||
url: `/pages/mine/details?customerId=${newobj.customerId}&status=${newobj.status}&stateisshow=1` | |||
}) | |||
} | |||
} | |||
@@ -678,18 +682,18 @@ | |||
} | |||
}) | |||
parames.query.marketingBusiness = ars.join(',') | |||
this.$u.post("/customer/findbypage", parames).then(data => { | |||
this.LOADING = false | |||
var list = data.results || []; | |||
console.log(data) | |||
let list = data.records || []; | |||
if(this.isRefresh){ | |||
this.recordList = list; | |||
}else{ | |||
this.recordList = [...this.recordList, ...list]; | |||
this.recordList = [].concat(this.recordList,list) | |||
// [...this.recordList, ...list]; | |||
} | |||
this.totalRecord = data.totalPage; | |||
this.totalRecords = data.totalRecord; | |||
this.totalRecord = data.pages; | |||
this.totalRecords = data.total; | |||
if(this.staTime && this.endtime) { | |||
this.arriveFilter = `${this.staTime}-${this.endtime}` | |||
} | |||
@@ -81,10 +81,10 @@ | |||
</view> | |||
<view class="content-sec-lab"> | |||
<view class="u-flex" style="flex:1"> | |||
挖掘执行:<view class="content-sec-lab1">10%</view> | |||
挖掘执行:<view class="content-sec-lab1">{{item.wordFraction||0}}%</view> | |||
</view> | |||
<view class="u-flex" style="flex:1"> | |||
挖掘成功:<view class="content-sec-lab1">10%</view> | |||
挖掘成功:<view class="content-sec-lab1">{{item.wordFinishFraction||0}}%</view> | |||
</view> | |||
</view> | |||
<view class="content-sec-lab"> | |||
@@ -393,7 +393,7 @@ | |||
<view class="hhhbox" v-if="item.show" style="padding: 30rpx;"> | |||
<view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;"> | |||
客户标签:{{ getKeywordsList(item.keywordsList) }}</view> | |||
<view class="hsnrtest">话术内容:</view> | |||
<view class="hsnrtest" style="margin-top:10rpx">话术内容:</view> | |||
<view v-if="item.modelList.length==0">暂无话术</view> | |||
<view class="Level3che" @click="clickWajue(che)" v-for="(che,inc) in item.modelList" | |||
:key='inc'> | |||
@@ -434,7 +434,7 @@ | |||
<view v-if="subitem.show" style="padding: 30rpx 0;"> | |||
<view class="hsnrtest" style="font-size:30rpx;color: #333;line-height: 42rpx;"> | |||
客户标签:{{ getKeywordsList(subitem.keywordsList) }}</view> | |||
<view class="hsnrtest">话术内容:</view> | |||
<view class="hsnrtest" style="margin-top: 10rpx">话术内容:</view> | |||
<view v-if="subitem.modelList.length==0">暂无话术</view> | |||
<view class="Level3che" @click="clickWajue(che)" | |||
v-for="(che,inc) in subitem.modelList" :key='inc'> | |||
@@ -862,8 +862,8 @@ | |||
// 对话加命中标签 | |||
dealTypes(type) { | |||
if (type) { | |||
let tem = type.split(',') | |||
// let tem = type.substring(1).split(',') | |||
// let tem = type.split(',') | |||
let tem = type.substring(1).split(',') | |||
return tem | |||
} else { | |||
return [] | |||
@@ -3079,9 +3079,7 @@ | |||
border-bottom: 1rpx solid #E0E0E0; | |||
background: #FFFFFF; | |||
// padding-bottom: 32rpx; | |||
.hsnrtest { | |||
height: 24rpx; | |||
font-size: 24rpx; | |||
font-weight: 400; | |||
color: #666666; | |||