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