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 @@
+
+ {{ row.fraction }}%
+
+
+
+ {{ Math.floor(scope.row.sumDuration / 60) || 0 }}
+
+
@@ -74,20 +88,8 @@
width="140"
>
-
-
- {{ Math.floor(scope.row.sumDuration / 60) || 0 }}
-
-
-
- {{ row.fraction }}%
-
+
+
-
- 接待量
+
+ 平均执行率/%
-
- {{ 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 }}
+
+
+