| @@ -738,6 +738,7 @@ import { getStore, setStore } from "@/util/store"; | |||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| return { | return { | ||||
| recordsText:[], | |||||
| roleVisible: false, | roleVisible: false, | ||||
| roleFlag: "0", | roleFlag: "0", | ||||
| roleidx: "", | roleidx: "", | ||||
| @@ -1362,8 +1363,8 @@ export default { | |||||
| subMsg() { | subMsg() { | ||||
| this.$refs.form.validate((valid) => { | this.$refs.form.validate((valid) => { | ||||
| if (valid) { | if (valid) { | ||||
| this.form.correctWord = this.ruleForm.correctWord.replace(/[^\w\u4e00-\u9fa5]/g,"") | |||||
| this.form.wrongWord = this.ruleForm.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; | this.dialogFormVisible = false; | ||||
| let sas = this.textItself.replace( | let sas = this.textItself.replace( | ||||
| this.form.wrongWord, | this.form.wrongWord, | ||||
| @@ -1382,7 +1383,8 @@ export default { | |||||
| cupid: this.form.cupid, | cupid: this.form.cupid, | ||||
| wrongWord: this.form.wrongWord, | wrongWord: this.form.wrongWord, | ||||
| customerId: this.fileId, | customerId: this.fileId, | ||||
| houseId: localStorage.getItem("houseId"), | |||||
| houseId: this.userinformationlist.projectId, | |||||
| translateHtmlContent:this.arr[this.aplayerId].audioContent | |||||
| }) | }) | ||||
| .then((res) => { | .then((res) => { | ||||
| this.$message.success("保存成功"); | this.$message.success("保存成功"); | ||||