diff --git a/pages/center/consumer/consumerDetail.vue b/pages/center/consumer/consumerDetail.vue
index 9bcbd09..fa1dfcd 100644
--- a/pages/center/consumer/consumerDetail.vue
+++ b/pages/center/consumer/consumerDetail.vue
@@ -1,1737 +1,1565 @@
-
-
-
-
-
-
- A
- B
- C
- D
- {{ customerInfo.name || "--" }}
-
-
-
-
-
- 销讲执行:{{ max100(customerInfo.fraction) }}%
-
-
-
-
-
- 手机号码:{{
- customerInfo.phone && customerInfo.isShow == 1
- ? customerInfo.phone.length == 11
- ? customerInfo.phone.substr(0, 3) +
- "****" +
- customerInfo.phone.substr(7)
- : customerInfo.phone
- : customerInfo.phone && customerInfo.isShow != 1
- ? customerInfo.phone
- : "--"
- }}
-
- 到访次数:{{ customerInfo.visitRecord || 0 }}次/{{
+
+
+
+
+
+
+ A
+ B
+ C
+ D
+ {{customerInfo.name || '--'}}
+
+
+
+
+
+ 销讲执行:{{ customerInfo.fraction || 0 }}%
+
+
+
+
+
+ 手机号码:{{customerInfo.phone&&customerInfo.isShow==1?customerInfo.phone.length==11?customerInfo.phone.substr(0, 3) + '****' + customerInfo.phone.substr(7):customerInfo.phone:customerInfo.phone&&customerInfo.isShow!=1?customerInfo.phone: '--'}}
+
+ 到访次数:{{ customerInfo.visitRecord || 0 }}次/{{
customerInfo.mm || 0
- }}min
-
-
- 挖掘执行:{{ max100(customerInfo.wordFraction) }}%
- 画像标签:{{
- customerInfo.demand.cusSemanticWordsList
- ? customerInfo.demand.cusSemanticWordsList.length
- : 0
- }}查看
-
-
- 所属顾问:{{ customerInfo.agentName || "--" }}
- 客户阶段:{{ customerInfo.stageName || "--" }}
-
-
- 上次到访:{{ customerInfo.createTime || "--" }}
-
-
-
-
- 备注:{{ customerInfo.remarks ? customerInfo.remarks : "暂无" }}
-
-
-
-
-
-
-
-
- 接待记录
-
-
- 跟进记录
-
-
- 销讲执行率
-
-
- 挖掘执行率
-
-
-
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
- A
- B
- C
- D
-
- {{ item.agentName || "--" }}
- 代接待
-
-
-
-
-
- 客户:{{ item.name || "--" }} |
- {{ item.visitRecord || "0" }}次到访
-
- {{ max100(item.fraction) }}%
-
-
- {{ item.createTime }} | {{ item.mm || 0 }}min
-
-
-
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
-
- {{
- item.agentName.slice(0, 1) || "--"
- }}
- {{ item.agentName || "||" }}
-
- {{ item.createTime }}
-
-
-
-
-
-
-
-
-
-
- 指标
- 执行率
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
- {{ item.name }}
-
-
-
- {{
- ((item.ratepercent / item.rate).toFixed(2) * 100).toFixed()
- }}%
-
-
-
-
-
-
-
-
-
- {{ subitem.name }}
-
- 已执行
- 未执行
-
-
-
-
-
-
- 话术内容
-
-
- {{ inc + 1 }}.{{ che.name }}
-
-
-
-
-
-
-
-
-
-
-
-
-
- 指标
- 执行率
- 完成
-
-
-
-
-
-
-
- 暂无数据
-
-
-
-
-
- {{ item.name }}
-
- 执行{{ item.fraction || 0 }}%
- {{
- item.selected == 0 ? "完成" : "未完成"
- }}
-
-
-
-
-
-
-
-
-
- {{ subitem.name }}
-
- 已执行
- 未执行
-
-
- 已完成
- 未完成
-
-
-
-
-
-
-
- 客户标签:{{ getKeywordsList(subitem.keywordsList) }}
- 话术内容
-
- {{ inc + 1 }}.{{
- che.showFormatExpression || che.keywordsName
- }}
-
-
-
-
+
+
+ 需求挖掘:{{ customerInfo.wordFraction || 0 }}%
+ 画像标签:{{
+ customerInfo.demand.cusSemanticWordsList?customerInfo.demand.cusSemanticWordsList.length:0}}查看
+
+
+ 所属顾问:{{ customerInfo.agentName || "--" }}
+ 客户阶段:{{ customerInfo.stageName || "--" }}
+
+
+
+ 上次到访:{{ customerInfo.createTime || "--" }}
+
+
+
+
+ 备注:{{customerInfo.remarks ? customerInfo.remarks : "暂无"}}
+
+
+
+
+
+
+
+ 接待记录
+
+
+ 跟进记录
+
+
+ 销讲执行率
+
+
+ 挖掘执行率
+
+
+
+
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+ {{item.agentName || '--'}}
+ 代接待
+
+
+
+
+
+ 客户:{{item.name || '--'}} |
+ {{item.visitRecord || '0'}}次到访
+
+
+ {{item.fraction || '0'}}%
+
+
+ {{item.createTime}} | {{item.mm || 0}}min
+
+
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+
+ {{item.agentName.slice(0,1) || '--'}}
+ {{item.agentName || '||'}}
+
+ {{item.createTime}}
+
+
+
+
+
+
+
+
+
+
+ 指标
+
+ 执行率
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+ {{item.name}}
+
+
+
+ {{((item.ratepercent/item.rate).toFixed(2)*100).toFixed()}}%
+
+
+
+
+
+
+
+
+
+
+ {{subitem.name}}
+
+ 已执行
+ 未执行
+
+
+
+
+
+
+ 话术内容
+
+
+
+ {{inc+1}}.{{che.name}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 指标
+
+ 执行率
+
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+
+ 指标
+ 执行率
+ 匹配
+
+
+
+
+
+
+
+ 暂无数据
+
+
+
+
+ v-for="(item, index) in KeyWordsfractionList"
+ :key="index"
+ >
+
+ {{ item.name }}
+
+ 执行{{ item.fraction || 0 }}%
+ 匹配({{
+ item.keywordsList&&item.keywordsList.length||0
+ }})
+
+
+
+
+
+
+
+
+
+ 客户标签:{{ getKeywordsList(item.keywordsList) }}
+ 话术内容
+
+
+ {{inc+1}}.{{che.showFormatExpression || che.keywordsName}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ subitem.name }}
+
+ 已执行
+ 未执行
+
+
+ 已完成
+ 未完成
+
+
+
+
+
+
+
+ 客户标签:{{ getKeywordsList(subitem.keywordsList) }}
+ 话术内容
+
+ {{ inc + 1 }}.{{
+ che.showFormatExpression || che.keywordsName
+ }}
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+
diff --git a/pages/center/consumer/edit.vue b/pages/center/consumer/edit.vue
index 5bfe27c..a4fe208 100644
--- a/pages/center/consumer/edit.vue
+++ b/pages/center/consumer/edit.vue
@@ -55,7 +55,7 @@
- 客户等级
+ 意向等级
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index af44585..6afd597 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -228,7 +228,7 @@
- 客户等级
- 最新状态
+ 客户阶段
@@ -111,9 +111,12 @@
this.customerId = e.id
this.buildingID = uni.getStorageSync('buildingID').id;
this.recordList = []
+ if (e.level) {
+ this.screen.level = Number(e.level)
+ }
// this.getMyCustom()
// this.getFreeList()
- this.getNewStatus()
+ this.getNewStatus(e)
this.getCustomerType();
},
methods: {
@@ -130,14 +133,19 @@
this.customerType = res;
})
},
- getNewStatus() {
+ getNewStatus(e) {
var that = this;
let premo = {
houseId: uni.getStorageSync('buildingID').id
}
this.$u.post('/customer/getStage', premo)
.then(res => {
- this.stateList = res
+ console.log(res)
+ console.log(e.stageName, res.findIndex(item => item.stageName == e.stageName ))
+ if (e.stageName) {
+ that.screen.state = res.findIndex(item => item.stageName == e.stageName )
+ }
+ that.stateList = res
})
},
diff --git a/pages/mine/details2.vue b/pages/mine/details2.vue
index 998c91b..7eeaa90 100644
--- a/pages/mine/details2.vue
+++ b/pages/mine/details2.vue
@@ -338,9 +338,9 @@
{{item.name}}
执行{{item.fraction || 0}}%
- {{
- item.selected == 0 ? "完成" : "未完成"
- }}
+ 匹配({{
+ item.keywordsList&&item.keywordsList.length||0
+ }})
+
+
+
+ 客户标签:{{ getKeywordsList(item.keywordsList) }}
+ 话术内容
+
+
+ {{inc+1}}.{{che.showFormatExpression || che.keywordsName}}
+
+
+
+
+
+
+
+
+
+
+
+
{{subitem.name}}
@@ -385,6 +410,7 @@
+