-
平均执行率
-
-
{{ sysSec.avgFration || 0 }}
-
-
- 环比:{{ sysCompare.avgFration || 0 }}
-
-
- {{ orderBy.avgFration || 0 }}%
-
-
-
- {{ orderBy.avgFration || 0 }}%
-
-
-
-
违禁接待次数
diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue
index c95cea5..00f1e96 100644
--- a/src/views/Receive/index.vue
+++ b/src/views/Receive/index.vue
@@ -562,6 +562,22 @@
>
文本优化
+
纠正
- 删除
+ 删除
{
+ return value.onebest.match(this.searchText)
+ })
+ }
},
destroyed() {
this.aplayer.destroy();
@@ -898,6 +922,27 @@ export default {
},
methods: {
+ // searchTextFun(){
+ // let arr = this.optimizetext
+ // if(this.searchText==""){
+ // this.optimizetext = arr
+ // }else{
+ // this.optimizetext = this.optimizetext.filter(item=>{
+ // return item.onebest.match(this.searchText)
+ // })
+ // }
+ // let arr = this.optimizetext.filter((item,index)=>{
+ // var reg = new RegExp(this.searchText);
+ // return item.onebest.match(reg);
+ // })
+ // let tempArr = []
+ // for (let i = 0; i < arr.length; i++) {
+ // tempArr.push(arr[i]);
+ // console.log(tempArr)
+ // }
+ // this.optimizetext = tempArr
+
+ // },
// 格式化话术内容
formatAudioList() {
let list = this.arr[0].audioContent
@@ -1011,7 +1056,7 @@ export default {
customerId: this.fileId,
},
}).then((res) => {
- this.optimizetext[this.roleidx].speaker = this.roleFlag / 1 + 1;
+ this.optimizetext1[this.roleidx].speaker = this.roleFlag / 1 + 1;
this.roleVisible = false;
});
},
@@ -1159,6 +1204,7 @@ export default {
.then((res) => {
this.dialogFormtext = false;
this.$message.success("优化完成");
+
if (i == 1) {
this.init();
}
@@ -1166,7 +1212,7 @@ export default {
},
//文本编辑确认
summunct() {
- this.optimizetext[this.textareaindex].onebest = this.textarea;
+ this.optimizetext1[this.textareaindex].onebest = this.textarea;
this.texteditorishow = false;
},
//文本编辑
@@ -1177,7 +1223,7 @@ export default {
this.texteditorishow = true;
},
//文本优化删除
- optimdel(i) {
+ optimdel(t,i) {
console.log(i);
var that = this;
this.$confirm("此操作将删除该条, 是否继续?", "提示", {
@@ -1186,7 +1232,8 @@ export default {
type: "warning",
})
.then(() => {
- that.optimizetext.splice(i, 1);
+ this.optimizetext = this.optimizetext.filter(tt=>tt.onebest!=t.onebest)
+ this.$forceUpdate()
this.$message({
type: "success",
message: "删除成功!",
@@ -1203,12 +1250,14 @@ export default {
texttap() {
this.optimizeobj = {};
this.optimizetext = [];
+ this.optimizetextTemp = [];
this.$api.http
.findText({ corpusId: this.arr[this.aplayerId].id })
.then((res) => {
console.log(res, "获取文本");
this.optimizeobj = res.data;
this.optimizetext = JSON.parse(res.data.textContent);
+ this.optimizetextTemp = JSON.parse(res.data.textContent);
this.dialogFormtext = true;
});
},
@@ -1459,8 +1508,8 @@ export default {
}else{
this.$refs.form.validate((valid) => {
if (valid) {
- this.form.correctWord = this.form.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
- this.form.wrongWord = this.form.wrongWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
+ // this.form.correctWord = this.form.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
+ // this.form.wrongWord = this.form.wrongWord.replace(/[^\w\u4e00-\u9fa5]/g,"")
this.dialogFormVisible = false;
let sas = this.textItself.replace(
this.form.wrongWord,
diff --git a/src/views/Statistics/ReceptionStatistical.vue b/src/views/Statistics/ReceptionStatistical.vue
index da7b260..c48c7a1 100644
--- a/src/views/Statistics/ReceptionStatistical.vue
+++ b/src/views/Statistics/ReceptionStatistical.vue
@@ -246,24 +246,29 @@
-
+
+
+
{{ Math.floor(row.sumDuration / 60) }}
@@ -273,10 +278,10 @@
prop="prohibitedZb"
label="违禁接待占比"
align="center"
+ sortable
>
-
-
+