Browse Source

tijiao

branch0222
douzhuo 1 year ago
parent
commit
780433a958
2 changed files with 17 additions and 11 deletions
  1. +9
    -6
      pages/center/consumer/consumerDetail.vue
  2. +8
    -5
      pages/center/consumer/index.vue

+ 9
- 6
pages/center/consumer/consumerDetail.vue View File

@@ -482,6 +482,7 @@

showIntentionRate: false, // 客户意向率命中词弹窗
intentionRateList: [], // 客户意向率列表
customerIds: '', // 给评分传值的
}
},
computed: {
@@ -492,9 +493,11 @@
}) == -1 ? false : true
}
},
onLoad(options) {
this.LOADING = true
this.customerId = options.id;
if (options.id) this.customerId = options.id;
console.log(options, 'ald;ksaldjals')
},
onShow() {
this.userInfo = uni.getStorageSync('weapp_session_userInfo_data');
@@ -553,7 +556,6 @@
}
})
this.intentionRateList = arr1
console.log(arr, 'asdsaas', arr1)
})
},

@@ -564,8 +566,9 @@

// 确认选择销讲业务
templateConfirm(e) {
console.log(e, '莫名其妙被调用')
this.showTemplate = false;
this.customerId = e[0].value
this.customerIds = e[0].value
this.showBeText = e[0].label
this.tabtimetap(2)
},
@@ -578,7 +581,7 @@
}).then(res => {
if (res) {
this.templateList = res
this.customerId = res[0].cusId
this.customerIds = res[0].cusId
this.showBeText = res[0].templateName
}
})
@@ -800,7 +803,7 @@
clickaudeopal(item) {
if (item.selected == 0 && item.viewFlag != 1) {
uni.navigateTo({
url: '/pages/mine/ScoringPlaylist?customerId=' + this.customerId + "&id=" + item
url: '/pages/mine/ScoringPlaylist?customerId=' + (this.customerIds == '' ? this.customerId : this.customerIds) + "&id=" + item
.marketingId + '&type=0'
})
}
@@ -818,7 +821,7 @@
// 获取评分
getRatelist() {
this.$u.get("/customer/findzkMByCusId", {
cusId: this.customerId
cusId: this.customerIds == '' ? this.customerId : this.customerIds
}).then(res => {
if (res.length) {
let level1 = []


+ 8
- 5
pages/center/consumer/index.vue View File

@@ -73,8 +73,9 @@
}}min</view>
</view>
<view class="content-sec-lab">
<view class="content-sec-lab1">挖掘执行:{{ max100(item.wordFraction) }}%</view>
<view class="content-sec-lab1" style="width: 44%">挖掘成功:{{ max100(item.wordFinishFraction) }}%
<view class="content-sec-lab1">挖掘执行/成功:{{ max100(item.wordFraction) }}%/{{ max100(item.wordFinishFraction) }}%</view>
<view class="content-sec-lab1" style="width: 44%">
客户意向率:{{ `${item.levelFraction||'0'}%` }}
</view>
<!-- <view class="content-sec-lab1" style="width: 44%"
>画像标签:<text style="font-weight: 600">{{
@@ -86,9 +87,6 @@
<view class="content-sec-lab1">所属顾问:{{ item.agentName || "--" }}</view>
<view class="content-sec-lab1" style="width: 44%">客户阶段:{{ item.stageName || "--" }}</view>
</view>
<view class="content-sec-lab">
<view class="content-sec-lab1">客户意向率:{{ `${item.levelFraction||'0'}%` }}</view>
</view>
<view class="content-sec-lab">
<view class="content-sec-lab1">上次到访:{{ item.createTime || "--" }}</view>
</view>
@@ -1268,9 +1266,12 @@
}

.content-last {
padding: 0 24rpx;
display: flex;
justify-content: flex-end;

.content-last-tab {
margin-top: 20rpx;
width: 33.4%;
height: 78rpx;
text-align: center;
@@ -1281,6 +1282,8 @@
display: flex;
align-items: center;
justify-content: center;
border: 1px solid #2671e2;
border-radius: 16rpx;

.icon {
width: 40rpx;


Loading…
Cancel
Save