|
@@ -415,11 +415,7 @@ |
|
|
> |
|
|
> |
|
|
<el-form :model="form" ref="form" label-width="80px" :rules="rules"> |
|
|
<el-form :model="form" ref="form" label-width="80px" :rules="rules"> |
|
|
<el-form-item label="常错词" prop="wrongWord"> |
|
|
<el-form-item label="常错词" prop="wrongWord"> |
|
|
<el-input |
|
|
|
|
|
v-model="form.wrongWord" |
|
|
|
|
|
maxlength="8" |
|
|
|
|
|
autocomplete="off" |
|
|
|
|
|
></el-input> |
|
|
|
|
|
|
|
|
<el-input v-model="form.wrongWord" :disabled="isNum" maxlength="8" autocomplete="off"></el-input> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="正确词" prop="correctWord"> |
|
|
<el-form-item label="正确词" prop="correctWord"> |
|
|
<el-input |
|
|
<el-input |
|
@@ -845,7 +841,7 @@ export default { |
|
|
rec_index_todo: false, |
|
|
rec_index_todo: false, |
|
|
rec_index_receflag: false, |
|
|
rec_index_receflag: false, |
|
|
rec_index_textyh: false, |
|
|
rec_index_textyh: false, |
|
|
|
|
|
|
|
|
|
|
|
isNum:false, |
|
|
outSpeechSkillList: [], // 导出话术列表 |
|
|
outSpeechSkillList: [], // 导出话术列表 |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
@@ -1513,6 +1509,12 @@ export default { |
|
|
this.form.wrongWord = onebest.replace(/<.*?>/gi, ""); |
|
|
this.form.wrongWord = onebest.replace(/<.*?>/gi, ""); |
|
|
this.dialogFormVisible = true; |
|
|
this.dialogFormVisible = true; |
|
|
this.argtextindex = index; |
|
|
this.argtextindex = index; |
|
|
|
|
|
|
|
|
|
|
|
this.isNum = false; |
|
|
|
|
|
let reg = /^[0-9]+$/ |
|
|
|
|
|
if (reg.test(this.form.wrongWord)) { |
|
|
|
|
|
this.isNum = true |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 销讲词禁忌tab |
|
|
// 销讲词禁忌tab |
|
|
recordclick(i) { |
|
|
recordclick(i) { |
|
|