-
-
-
{{item.name}}
-
执行{{item.fraction||0}}%
-
已匹配({{item.keywordsList&&item.keywordsList.length}})
-
未匹配
-
-
-
+
+
+
{{ item.name }}
+
执行{{ item.fraction || 0 }}%
+
+ 已匹配({{ item.keywordsList && item.keywordsList.length }})
+
+
未匹配
+
+
+
+
+
+
+
+
+
+ 客户标签:{{ getKeywordsList(subitem.keywordsList) }}
+
+
需求挖掘话术
+
+
+
+
+ {{
+ question.showFormatExpression ||
+ question.keywordsName
+ }}
+
-
-
-
-
客户标签:{{getKeywordsList(subitem.keywordsList)}}
-
需求挖掘话术
-
-
-
-
{{question.showFormatExpression||question.keywordsName}}
-
-
-
-
-
{{subitem.name}}
-
-
-
-
-
+
+
-
-
-
-
-
-
客户标签:{{getKeywordsList(item.keywordsList)}}
-
需求挖掘话术
-
-
-
-
{{question.showFormatExpression||question.keywordsName}}
-
-
-
-
-
{{item.name}}
-
执行{{item.fraction||0}}%
-
已匹配({{item.keywordsList&&item.keywordsList.length}})
-
未匹配
-
-
-
+
-
+
+
+
+
-
- 本次接待执行
- 之前接待执行
- 未执行
-
+
+
+
+
+
+
+ 客户标签:{{ getKeywordsList(item.keywordsList) }}
+
+
需求挖掘话术
+
+
+
+
+ {{
+ question.showFormatExpression ||
+ question.keywordsName
+ }}
+
+
+
+
+
+
{{ item.name }}
+
执行{{ item.fraction || 0 }}%
+
+ 已匹配({{
+ item.keywordsList && item.keywordsList.length
+ }})
+
+
未匹配
+
+
+
+
+
+
+
+ 本次接待执行
+ 之前接待执行
+ 未执行
+
@@ -1133,7 +1281,13 @@ export default {
data() {
return {
keyWordsList: [],
- imgArr: ['', 'https://static.quhouse.com/37e0de3f8d1c421dac8bf699d5e7992d.png', 'https://static.quhouse.com/b106e8e75db24a59a579a15a78830a76.png', 'https://static.quhouse.com/8443a2ecb81d4639991ab29c422e9949.png', 'https://static.quhouse.com/1cd794cb6c974d9dad948a6dd444518b.png',],
+ imgArr: [
+ "",
+ "https://static.quhouse.com/37e0de3f8d1c421dac8bf699d5e7992d.png",
+ "https://static.quhouse.com/b106e8e75db24a59a579a15a78830a76.png",
+ "https://static.quhouse.com/8443a2ecb81d4639991ab29c422e9949.png",
+ "https://static.quhouse.com/1cd794cb6c974d9dad948a6dd444518b.png",
+ ],
mg: 0,
recordsText: [],
roleVisible: false,
@@ -1288,66 +1442,66 @@ export default {
},
methods: {
- changeshow1(item){
- item.show = !item.show
+ changeshow1(item) {
+ item.show = !item.show;
+ },
+ //挖掘率话术客户标签展示
+ getKeywordsList(list) {
+ let keywords = [];
+ if (list && list.length) {
+ keywords = list.map((item) => item.name);
+ } else {
+ return "--";
+ }
+ return keywords.join(",");
},
- //挖掘率话术客户标签展示
- getKeywordsList(list){
- let keywords = []
- if(list&&list.length){
- keywords = list.map(item=>item.name)
- }else{
- return '--'
- }
- return keywords.join(',')
- },
//需求挖掘率-需求话术
findKeyWordsBycusId() {
- axios({
- url: `/autoSR/customer/findKeyWordsBycusId`,
- method: 'get',
- params: {
- cusId: this.fileId
- }
- }).then(data => {
- if (data.code==0) {
- console.log(data)
- let tempData = data.data
- if(tempData.length){
- tempData.forEach((item,index)=>{
- item.show = false
- if(index==0){
- item.show = true
- }
- })
- }else{
- tempData = []
- }
- this.keyWordsList = tempData
- console.log(this.keyWordsList)
- }
- })
+ axios({
+ url: `/autoSR/customer/findKeyWordsBycusId`,
+ method: "get",
+ params: {
+ cusId: this.fileId,
+ },
+ }).then((data) => {
+ if (data.code == 0) {
+ console.log(data);
+ let tempData = data.data;
+ if (tempData.length) {
+ tempData.forEach((item, index) => {
+ item.show = false;
+ if (index == 0) {
+ item.show = true;
+ }
+ });
+ } else {
+ tempData = [];
+ }
+ this.keyWordsList = tempData;
+ console.log(this.keyWordsList);
+ }
+ });
},
// 对话加命中标签,区分类型的处理
- dealTypes(type){
- if(type){
- // let tem = type.substring(1).split(',')
- let tem = type.split(',')
- return tem
- }else{
- return []
- }
+ dealTypes(type) {
+ if (type) {
+ // let tem = type.substring(1).split(',')
+ let tem = type.split(",");
+ return tem;
+ } else {
+ return [];
+ }
},
// 对话加命中标签-区分同一个类型的标签
- dealword(type){
- if(type){
- let a = type.split('-')
- let rest = type.substring(2).split('-').join(',')
- let arr =[a[0],rest]
- return arr
- }else{
- return []
- }
+ dealword(type) {
+ if (type) {
+ let a = type.split("-");
+ let rest = type.substring(2).split("-").join(",");
+ let arr = [a[0], rest];
+ return arr;
+ } else {
+ return [];
+ }
},
chooseRoles(index) {
this.roleFlag = index;
@@ -2201,46 +2355,48 @@ export default {
//获取转写内容和播放列表
Getsthetransliteratecontent() {
- this.$api.http.findByCusIdcusId({
- cusId: this.fileId
- }).then(res => {
- console.log(res, 'dsadasd')
- let audopbj = res.data;
- this.mg = res.data[0].merge;
- console.log(res.data[0].merge, 'res.data[0].merge')
- this.recordPath = audopbj[this.AudioIdx].recordPath;
- audopbj[this.AudioIdx].audioContent != ""
- ? (this.transcriptionlist = JSON.parse(
- audopbj[this.AudioIdx].audioContent
- ))
- : (this.transcriptionlist = []);
- // this.transcriptionlist=JSON.parse(audopbj[this.AudioIdx].audioContent)
- this.tablist = [];
- if (this.userinformationlist.yon == 0) {
- this.isd = audopbj[this.AudioIdx].id;
- // console.log(audopbj[this.AudioIdx].speakerNum, "speakerNum");
- this.creatTabList(audopbj[this.AudioIdx].speakerNum)
- this.roleList = this.tablist.slice(1);
- if (audopbj[this.AudioIdx].speaker == null) {
- this.yibiaoji = "未标记";
- this.roleindexbiaoji = 0;
- this.dshfkjsdkksodofydwfkhwdfkjh = 0;
- } else {
- this.yibiaoji = "已标记";
- this.tablist[audopbj[this.AudioIdx].speaker].name =
- this.tablist[audopbj[this.AudioIdx].speaker].name + "顾问";
- this.roleindexbiaoji = audopbj[this.AudioIdx].speaker - 1;
- this.dshfkjsdkksodofydwfkhwdfkjh =
- audopbj[this.AudioIdx].speaker - 1;
+ this.$api.http
+ .findByCusIdcusId({
+ cusId: this.fileId,
+ })
+ .then((res) => {
+ console.log(res, "dsadasd");
+ let audopbj = res.data;
+ this.mg = res.data[0].merge;
+ console.log(res.data[0].merge, "res.data[0].merge");
+ this.recordPath = audopbj[this.AudioIdx].recordPath;
+ audopbj[this.AudioIdx].audioContent != ""
+ ? (this.transcriptionlist = JSON.parse(
+ audopbj[this.AudioIdx].audioContent
+ ))
+ : (this.transcriptionlist = []);
+ // this.transcriptionlist=JSON.parse(audopbj[this.AudioIdx].audioContent)
+ this.tablist = [];
+ if (this.userinformationlist.yon == 0) {
+ this.isd = audopbj[this.AudioIdx].id;
+ // console.log(audopbj[this.AudioIdx].speakerNum, "speakerNum");
+ this.creatTabList(audopbj[this.AudioIdx].speakerNum);
+ this.roleList = this.tablist.slice(1);
+ if (audopbj[this.AudioIdx].speaker == null) {
+ this.yibiaoji = "未标记";
+ this.roleindexbiaoji = 0;
+ this.dshfkjsdkksodofydwfkhwdfkjh = 0;
+ } else {
+ this.yibiaoji = "已标记";
+ this.tablist[audopbj[this.AudioIdx].speaker].name =
+ this.tablist[audopbj[this.AudioIdx].speaker].name + "顾问";
+ this.roleindexbiaoji = audopbj[this.AudioIdx].speaker - 1;
+ this.dshfkjsdkksodofydwfkhwdfkjh =
+ audopbj[this.AudioIdx].speaker - 1;
+ }
}
- }
- this.corpusId = audopbj[this.AudioIdx].id;
- this.aplayerId = this.AudioIdx;
- this.aplayerLength = audopbj.length;
- this.arr = res.data;
- this.bofangchushihua();
- this.formatAudioList();
- });
+ this.corpusId = audopbj[this.AudioIdx].id;
+ this.aplayerId = this.AudioIdx;
+ this.aplayerLength = audopbj.length;
+ this.arr = res.data;
+ this.bofangchushihua();
+ this.formatAudioList();
+ });
},
tapspagek(data, index) {
// this.roleindex = i
@@ -2379,133 +2535,152 @@ export default {