Browse Source

合并

master
风继续吹 6 months ago
parent
commit
fc6bb127f7
3 changed files with 95 additions and 2 deletions
  1. +9
    -0
      src/api/modules/http.js
  2. +1
    -1
      src/views/Customer/labels.vue
  3. +85
    -1
      src/views/Receive/index.vue

+ 9
- 0
src/api/modules/http.js View File

@@ -1644,4 +1644,13 @@ export function explainDel(params) {
params
})
}
// 销讲阶段 列表
export function customerFindExplain(params) {
return request({
url: 'autoSR/customer/findExplain',
method: 'get',
params
})
}



+ 1
- 1
src/views/Customer/labels.vue View File

@@ -1,7 +1,7 @@
<template>
<div class="box-center">
<div id="app" style="padding-right: 40%;">
<div class="biaoti">客户画像关键词配置</div>
<div class="biaoti">销讲阶段关键词配置</div>
<div class="app-titel" style="margin-top: 20px" v-if="orgType!=3">
<div
class="label"


+ 85
- 1
src/views/Receive/index.vue View File

@@ -522,6 +522,7 @@
>
<el-radio-button :label="1">禁忌执行</el-radio-button>
<el-radio-button :label="2">需求挖掘率</el-radio-button>
<el-radio-button :label="3">销讲阶段</el-radio-button>
</el-radio-group>
</div>
<div v-if="zhixingcenterindex == 0" class="xiaojaingBox">
@@ -840,6 +841,28 @@
>
</div>
</div>

<div class="xjjd" v-if="zhixingcenterindex == 3">
<div class="xiaojiang-title">
<div class="label1">销讲阶段</div>
<div class="label1">命中话术</div>
<div class="label1">时间</div>
</div>
<div
class="intentionBox"
v-for="(item, index) in stageList"
:key="index"
style="border: none"
>
<div class="intentionName">{{ item.name }}</div>
<div class="intentionName">
{{ item.onebest }}
</div>
<div class="intentionName" style="color: #2671e2;cursor: pointer;" @click="play(item)">
{{ item.bg | timestamp }}
</div>
</div>
</div>
</div>
</div>

@@ -1459,6 +1482,8 @@ export default {
consultant: "", // 多顾问角色

templateStatus: 0, // 选择的模板类型

stageList: [], // 销讲阶段
};
},
created() {
@@ -1538,6 +1563,26 @@ export default {
},

methods: {
// 获取销售阶段列表
customerFindExplain() {
this.$api.http
.customerFindExplain({
id: this.fileId,
})
.then((res) => {
console.log(res);
this.stageList = res.data.map((item) => {
let name = item.content.split(",")[2];
let time = item.content.split(',')[0];

item.onebest = name.split("=")[1];
item.bg = time.split("=")[1]
console.log(item);
return item;
});
console.log(this.stageList);
});
},
// 切换销讲业务
showMethods() {
this.showSalesBusiness = true;
@@ -1571,7 +1616,7 @@ export default {

// 销讲模板列表
marketingBusinessNoApi() {
this.templateList = []
this.templateList = [];
let obj = {
houseId:
localStorage.getItem("houseId") || this.userinformationlist.projectId,
@@ -2305,6 +2350,7 @@ export default {
this.findBannedWordsByCusId();
this.Getsthetransliteratecontent();
this.findTabooWordsByCusId();
this.customerFindExplain();
});
},
// 禁忌执行
@@ -2804,6 +2850,7 @@ export default {
}
}
}

/*话术*/
.huashu-title {
background: #fff;
@@ -3648,4 +3695,41 @@ export default {
/deep/ .el-button--text {
color: #2671e2;
}

// 销讲阶段
.xjjd {
.xiaojiang-title {
width: 100%;
border-bottom: 1px solid #e0e0e0;
display: grid;
grid-template-columns: repeat(3, 1fr);
background: #f0f6ff;

.label1 {
text-align: center;
line-height: 45px;
font-size: 16px;
color: #333333;
}
}

.intentionBox {
width: 100%;
line-height: 45px;
display: grid;
grid-template-columns: repeat(3, 1fr);
.intentionName {
margin-top: 0;
width: 100%;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
text-align: center;
line-height: 45px;
font-size: 16px;
color: #333333;
}
}
}
</style>

Loading…
Cancel
Save