diff --git a/pages/center/Piabodata/requireminingAnalysis.vue b/pages/center/Piabodata/requireminingAnalysis.vue index 5cc95c1..4dc9392 100644 --- a/pages/center/Piabodata/requireminingAnalysis.vue +++ b/pages/center/Piabodata/requireminingAnalysis.vue @@ -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}, ] } ]} diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue index e390349..9a46c47 100644 --- a/pages/center/consumer/consumerDetail.vue +++ b/pages/center/consumer/consumerDetail.vue @@ -37,10 +37,10 @@ - 挖掘执行:10% + 挖掘执行:{{customerInfo.wordFraction||0}}% - 挖掘成功:10% + 挖掘成功:{{customerInfo.wordFinishFraction||0}}% diff --git a/pages/center/prohibited/details.vue b/pages/center/prohibited/details.vue index 465ae0b..b3c6048 100644 --- a/pages/center/prohibited/details.vue +++ b/pages/center/prohibited/details.vue @@ -339,7 +339,7 @@ // 对话加命中标签 dealTypes(type) { if (type) { - let tem = type.split(',') + let tem = type.substring(1).split(',') return tem } else { return [] diff --git a/pages/center/prohibited/index.vue b/pages/center/prohibited/index.vue index ee530be..7b62b99 100644 --- a/pages/center/prohibited/index.vue +++ b/pages/center/prohibited/index.vue @@ -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 diff --git a/pages/center/records/index.vue b/pages/center/records/index.vue index 9360010..f09f072 100644 --- a/pages/center/records/index.vue +++ b/pages/center/records/index.vue @@ -69,13 +69,13 @@ - 挖掘执行:100% + 挖掘执行:{{item.wordFraction||0}}% - 挖掘成功:100% + 挖掘成功:{{item.wordFinishFraction||0}}% - 销讲业务:生鲜 + @@ -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}` } diff --git a/pages/index/consumer/index.vue b/pages/index/consumer/index.vue index 0a09fd7..16ebd7c 100644 --- a/pages/index/consumer/index.vue +++ b/pages/index/consumer/index.vue @@ -81,10 +81,10 @@ - 挖掘执行:10% + 挖掘执行:{{item.wordFraction||0}}% - 挖掘成功:10% + 挖掘成功:{{item.wordFinishFraction||0}}% diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue index dbb692b..e86e927 100644 --- a/pages/mine/details2.vue +++ b/pages/mine/details2.vue @@ -393,7 +393,7 @@ 客户标签:{{ getKeywordsList(item.keywordsList) }} - 话术内容: + 话术内容: 暂无话术 @@ -434,7 +434,7 @@ 客户标签:{{ getKeywordsList(subitem.keywordsList) }} - 话术内容: + 话术内容: 暂无话术 @@ -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;