Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
dev
/
pingan-life-index-pro
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b281a1ec
authored
2020-05-26 11:20:10 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
b3ebb2d5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
src/common/lang/en.js
src/pages/custom-service/components/policy-change-contact.js
src/common/lang/en.js
View file @
b281a1e
...
...
@@ -179,7 +179,7 @@ module.exports = {
quote
:
"Quote now"
,
},
footer
:
{
hotline
:
"
customer service h
otline"
,
hotline
:
"
Customer Service H
otline"
,
serviceHour
:
"Service Hour:9:00 - 17:30 Monday to Friday"
,
address
:
"A137, 16/F, Tower 5, The Gateway, 21 Canton Road, Tsim Sha Tsui, Kowloon, Hong Kong"
,
...
...
src/pages/custom-service/components/policy-change-contact.js
View file @
b281a1e
...
...
@@ -158,7 +158,7 @@ export default {
// 判断 美国地区需要上传文件
checkShowUSATax
()
{
let
result
=
this
.
isUSA
&&
!
this
.
data
.
iobsKey
;
if
(
result
){
if
(
result
)
{
this
.
usTaxFormUploadCompVisible
=
true
;
this
.
$refs
.
usTax
.
initData
();
}
...
...
@@ -221,7 +221,7 @@ export default {
data
.
policyCode
=
""
;
this
.
loading
=
true
;
console
.
log
(
"data:"
,
data
);
console
.
log
(
"data:"
,
data
);
httpPost
({
url
:
api
.
policyContactApi
,
data
:
data
,
...
...
@@ -244,7 +244,7 @@ export default {
* 从美国税务表单组件提交
*/
onUsTaxSubmit
(
val
)
{
console
.
log
(
"val:"
,
val
);
console
.
log
(
"val:"
,
val
);
this
.
data
.
iobsKey
=
val
;
// this.doSubmit(val);
},
...
...
@@ -254,8 +254,14 @@ export default {
let
hkMobile
=
contactMethodCheck
(
"hkmobile"
,
this
.
data
.
mobile
);
let
zhMobile
=
contactMethodCheck
(
"mobile"
,
this
.
data
.
mobile
);
if
(
!
hkMobile
&&
!
zhMobile
)
{
if
(
this
.
data
.
mobileAreaCode
==
"852"
||
this
.
data
.
mobileAreaCode
==
"86"
)
{
this
.
errorTips
.
e1
=
this
.
i18n
.
policyChangeContact
.
errorTips
.
e1
;
return
false
;
}
else
{
let
res
=
/^
\d
+$/
.
test
(
this
.
data
.
mobile
);
this
.
errorTips
.
e1
=
!
res
?
this
.
i18n
.
policyChangeContact
.
errorTips
.
e1
:
""
;
return
res
;
}
}
}
return
true
;
...
...
@@ -465,7 +471,7 @@ export default {
this
.
$root
.
eventBus
.
$on
(
"langChange"
,
()
=>
{
try
{
this
.
initData
();
}
catch
(
e
)
{}
}
catch
(
e
)
{
}
});
}
};
...
...
Please
register
or
sign in
to post a comment