Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xoadoPlatform
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaohui
xoadoPlatform
Commits
a688b601
Commit
a688b601
authored
Dec 16, 2021
by
吕海涛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改司机端语音配置bug
parent
7012b60a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
19 deletions
+7
-19
voicePage.vue
src/views/Voice/voicePage.vue
+7
-19
No files found.
src/views/Voice/voicePage.vue
View file @
a688b601
...
...
@@ -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
(
/ /gi
,
""
);
//去掉
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
(
/ /gim
,
""
);
//去掉
let
json
=
{
id
:
this
.
form
.
id
,
inspectData
:
this
.
form
.
inspectData
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment