From 05505ab6b8bc83e6f6edbcd8fa3887c7b55f949f Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Mon, 16 May 2022 18:08:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B8=B8=E9=94=99=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/wel.vue | 45 ++++++------ src/views/Receive/index.vue | 38 ++++++----- src/views/Statistics/BuildingContrast.vue | 30 ++++---- src/views/Statistics/trend.vue | 83 ++++++++++++----------- 4 files changed, 102 insertions(+), 94 deletions(-) diff --git a/src/page/wel.vue b/src/page/wel.vue index ee6e6a9..c69bc25 100644 --- a/src/page/wel.vue +++ b/src/page/wel.vue @@ -519,6 +519,25 @@
+
+
平均接待时长(分钟)
+
+
{{ sysSec.receptionTimeWithAvg || 0 }}
+
+ + 环比:{{ sysCompare.receptionTimeWithAvg || 0 }} + + + {{ orderBy.receptionTimeWithAvg || 0 }} + + + + {{ orderBy.receptionTimeWithAvg || 0 }} + +
+
+
新增项目数
@@ -610,7 +629,10 @@
-
+ +
+
+
活跃用户数
{{ sysSec.activeUserQuantity || 0 }}
@@ -629,8 +651,6 @@
-
-
接待量
@@ -688,25 +708,6 @@
-
-
平均接待时长(分钟)
-
-
{{ sysSec.receptionTimeWithAvg || 0 }}
-
- - 环比:{{ sysCompare.receptionTimeWithAvg || 0 }} - - - {{ orderBy.receptionTimeWithAvg || 0 }} - - - - {{ orderBy.receptionTimeWithAvg || 0 }} - -
-
-
录音总时长(小时)
diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index c96c2ce..c5b1b01 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -1361,24 +1361,28 @@ export default { //常错词确认 subMsg() { - let reg = /^[0-9]+$/ - if(reg.test(this.form.wrongWord)){ - this.$message.warning("常错词不能为纯数字!"); - }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.dialogFormVisible = false; - let sas = this.textItself.replace( - this.form.wrongWord, - this.form.correctWord - ); - this.transcriptionlist[this.argtextindex].onebest = sas; - this.subWrongMsg(); + if(this.form.wrongWord.length>8){ + this.$message.warning("常错词不能超过8个字!"); + }else{ + let reg = /^[0-9]+$/ + if(reg.test(this.form.wrongWord)){ + this.$message.warning("常错词不能为纯数字!"); + }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.dialogFormVisible = false; + let sas = this.textItself.replace( + this.form.wrongWord, + this.form.correctWord + ); + this.transcriptionlist[this.argtextindex].onebest = sas; + this.subWrongMsg(); + } + }); } - }); - } + } }, //常错词提交 subWrongMsg() { diff --git a/src/views/Statistics/BuildingContrast.vue b/src/views/Statistics/BuildingContrast.vue index d898d34..b9c2596 100644 --- a/src/views/Statistics/BuildingContrast.vue +++ b/src/views/Statistics/BuildingContrast.vue @@ -60,6 +60,20 @@ + + + + + + @@ -74,20 +88,8 @@ width="140" > - - - - - - + +
-
- 接待量 +
+ 平均执行率/%
-
- {{ compare.receptionCount || 0 }} +
+ {{ compare.fraction || 0 }}
对比时段: {{ - compare1.receptionCount || 0 + compare1.fraction || 0 }}
- {{ compare2.receptionCount || 0 }} + {{ compare2.fraction || 0 }}%
@@ -228,6 +220,39 @@
+
+
+ 接待量 +
+
+ {{ compare.receptionCount || 0 }} +
+
+
+ 对比时段: + {{ + compare1.receptionCount || 0 + }} +
+
+ {{ compare2.receptionCount || 0 }} +
+
+
-
-
- 平均执行率/% -
-
- {{ compare.fraction || 0 }} -
-
-
- 对比时段: - {{ - compare1.fraction || 0 - }} -
-
- {{ compare2.fraction || 0 }}% -
-
-
+