Commit a688b601 by 吕海涛

修改司机端语音配置bug

parent 7012b60a
......@@ -299,25 +299,13 @@ export default {
},
complaintLable() {
let t = this.$refs.remindText.innerHTML;
t = t.replace(
/<span(\s+[^="']+=(['"]).*?\2)*\s*>#乘客手机尾号#<\/span>/g,
"PHONE"
);
t = t.replace(
/<span(\s+[^="']+=(['"]).*?\2)*\s*>#乘客目的地#<\/span>/g,
"ENDADDRESS"
);
t = t.replace(
/<span(\s+[^="']+=(['"]).*?\2)*\s*>#乘客预约时间#<\/span>/g,
"APPOINTTIME"
);
t = t.replace(
/<span(\s+[^="']+=(['"]).*?\2)*\s*>#乘客上车地址#<\/span>/g,
"STARTADDRESS"
);
t = t.replace(/<\/?[^>]*>/g, ""); //去除HTML tag
t = t.replace(/[ | ]*\n/g, "\n"); //去除行尾空白
t = t.replace(/&nbsp;/gi, ""); //去掉&nbsp;
t = t.replace(/#乘客手机尾号#/gm, "PHONE");
t = t.replace(/#乘客上车地址#/gm, "STARTADDRESS");
t = t.replace(/#乘客目的地#/gm, "ENDADDRESS");
t = t.replace(/#乘客预约时间#/gm, "APPOINTTIME");
t = t.replace(/<\/?[^>]*>/gim, ""); //去除HTML tag
t = t.replace(/[ | ]*\n/gim, "\n"); //去除行尾空白
t = t.replace(/&nbsp;/gim, ""); //去掉&nbsp;
let json = {
id: this.form.id,
inspectData: this.form.inspectData,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment