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
a9e38a86
authored
2020-05-17 18:39:11 +0800
by
joe
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
交互上稍微调整
1 parent
499701bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
12 deletions
src/pages/custom-service/components/policy-change-contact.js
src/pages/custom-service/components/policy-change-contact.js
View file @
a9e38a8
...
...
@@ -72,6 +72,8 @@ export default {
modalIcon
:
"succ"
,
modalContent
:
""
,
lastPolicyCode
:
""
,
// 国际号码区号列表
nationsPhoneCodeList
:
[],
// 国际地区区号
...
...
@@ -330,10 +332,13 @@ export default {
// 获取省份
this
.
provinceList
=
getCnProvinceList
(
this
.
$i18n
.
locale
);
if
(
this
.
dataInit
)
{
// if (this.dataInit) {
// return;
// }
if
(
this
.
loading
)
{
return
;
}
if
(
this
.
loading
)
{
if
(
!
this
.
selectedPolicies
||
this
.
selectedPolicies
.
length
==
0
)
{
return
;
}
// this.data = null;
...
...
@@ -342,6 +347,12 @@ export default {
policyId
:
this
.
selectedPolicies
[
0
].
id
,
policyCode
:
this
.
selectedPolicies
[
0
].
code
};
if
(
this
.
lastPolicyCode
==
param
.
policyCode
)
{
return
;
}
this
.
lastPolicyCode
=
param
.
policyCode
;
httpPost
({
url
:
api
.
policyContactDetailApi
,
data
:
param
,
...
...
@@ -361,6 +372,7 @@ export default {
}
})
.
catch
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
code
==
"404"
)
{
this
.
$refs
.
auth
.
noAuth
();
}
...
...
@@ -384,7 +396,7 @@ export default {
console
.
error
(
e
);
}
},
uploadExcel
()
{},
uploadExcel
()
{
},
// aaa(){
// httpPost({
// url: api.indexManageListApi,
...
...
@@ -397,29 +409,29 @@ export default {
// console.log("ttt:", ttt);
// })
// .catch(res => {});
// }
},
watch
:
{
"data.mobile"
:
function
()
{
"data.mobile"
:
function
()
{
this
.
errorTips
.
e1
=
""
;
},
"data.address"
:
function
()
{
"data.address"
:
function
()
{
this
.
errorTips
.
e2
=
""
;
},
"data.email"
:
function
()
{
"data.email"
:
function
()
{
this
.
errorTips
.
e3
=
""
;
},
"data.mobileAreaCode"
:
function
()
{
"data.mobileAreaCode"
:
function
()
{
this
.
errorTips
.
e4
=
""
;
},
"data.countryId"
:
function
()
{
"data.countryId"
:
function
()
{
this
.
errorTips
.
e5
=
""
;
},
"data.provinceId"
:
function
()
{
"data.provinceId"
:
function
()
{
this
.
errorTips
.
e6
=
""
;
},
"data.cityId"
:
function
()
{
"data.cityId"
:
function
()
{
this
.
errorTips
.
e7
=
""
;
}
},
...
...
@@ -430,7 +442,7 @@ export default {
this
.
$root
.
eventBus
.
$on
(
"langChange"
,
()
=>
{
try
{
this
.
initData
();
}
catch
(
e
)
{}
}
catch
(
e
)
{
}
});
}
};
...
...
Please
register
or
sign in
to post a comment