Browse Source

合并

master
风继续吹 1 year 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 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> <template>
<div class="box-center"> <div class="box-center">
<div id="app" style="padding-right: 40%;"> <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="app-titel" style="margin-top: 20px" v-if="orgType!=3">
<div <div
class="label" 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="1">禁忌执行</el-radio-button>
<el-radio-button :label="2">需求挖掘率</el-radio-button> <el-radio-button :label="2">需求挖掘率</el-radio-button>
<el-radio-button :label="3">销讲阶段</el-radio-button>
</el-radio-group> </el-radio-group>
</div> </div>
<div v-if="zhixingcenterindex == 0" class="xiaojaingBox"> <div v-if="zhixingcenterindex == 0" class="xiaojaingBox">
@@ -840,6 +841,28 @@
> >
</div> </div>
</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>
</div> </div>


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


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

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


methods: { 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() { showMethods() {
this.showSalesBusiness = true; this.showSalesBusiness = true;
@@ -1571,7 +1616,7 @@ export default {


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

/*话术*/ /*话术*/
.huashu-title { .huashu-title {
background: #fff; background: #fff;
@@ -3648,4 +3695,41 @@ export default {
/deep/ .el-button--text { /deep/ .el-button--text {
color: #2671e2; 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> </style>

Loading…
Cancel
Save