Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
349ca669
Commit
349ca669
authored
Aug 29, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 众安条款切换cdn测试
parent
44c484e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
10 deletions
+14
-10
detail.zhongan.yiwai.js
src/api/detail.zhongan.yiwai.js
+2
-2
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+12
-8
No files found.
src/api/detail.zhongan.yiwai.js
View file @
349ca669
...
...
@@ -4,7 +4,7 @@
* @Description:众安50万意外险
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditTime: 2020-08-2
8 20:10:36
* @LastEditTime: 2020-08-2
9 11:26:18
*/
import
goodsBg
from
"
@/assets/images/goods/detail/yiwaixian/bg.png
"
;
import
title
from
"
@/assets/images/goods/detail/yiwaixian/title.png
"
;
...
...
@@ -135,7 +135,7 @@ export default {
popupArray
:
[
{
title
:
"
保险条款
"
,
url
:
"
https://mangguo-contract.qthbx.com/zhong-an-baoxiantiaokuan-v1/
"
url
:
"
https://mangguo-contract
-pdf
.qthbx.com/zhong-an-baoxiantiaokuan-v1/
"
},
{
title
:
"
投保须知及声明
"
,
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
349ca669
...
...
@@ -35,7 +35,7 @@
/>
<cr-field
name=
"selfPhone"
v-model=
"
formData.
selfPhone"
v-model=
"selfPhone"
type=
"tel"
placeholder=
"请输入您的手机号码"
label=
"手机号码"
...
...
@@ -210,7 +210,8 @@ export default {
question
:
false
,
showRelations
:
false
,
refreshed
:
false
,
relationList
:
[]
relationList
:
[],
selfPhone
:
""
};
},
watch
:
{
...
...
@@ -236,6 +237,7 @@ export default {
deep
:
true
,
immediate
:
true
,
handler
(
val
)
{
// this.selfPhone = val.selfPhone;
this
.
formData
=
val
;
}
},
...
...
@@ -243,11 +245,13 @@ export default {
immediate
:
true
,
deep
:
true
,
handler
(
val
)
{
this
.
formData
.
selfPhone
=
val
.
phoneNoMask
&&
val
.
phoneNoMask
!==
"
点击登录
"
?
val
.
phoneNoMask
:
""
;
this
.
selfPhone
=
val
.
phoneNoMask
&&
val
.
phoneNoMask
!==
"
点击登录
"
?
val
.
phoneNoMask
:
""
;
this
.
$forceUpdate
();
}
},
selfPhone
(
val
)
{
this
.
formData
.
selfPhone
=
val
;
},
formData
:
{
immediate
:
true
,
deep
:
true
,
...
...
@@ -272,7 +276,7 @@ export default {
}
if
(
phoneNoMask
)
{
setTimeout
(()
=>
{
this
.
formData
.
selfPhone
=
phoneNoMask
;
this
.
selfPhone
=
phoneNoMask
;
},
500
);
}
this
.
xyqbAuthState
=
localStorage
.
get
(
"
xyqbAuthState
"
);
...
...
@@ -445,8 +449,8 @@ export default {
}
else
{
this
.
formData
.
relation
=
"
1
"
;
}
if
(
this
.
mongoToken
&&
!
this
.
formData
.
selfPhone
)
{
this
.
formData
.
selfPhone
=
this
.
userInfo
.
phoneNoMask
;
if
(
this
.
mongoToken
&&
!
this
.
selfPhone
)
{
this
.
selfPhone
=
this
.
userInfo
.
phoneNoMask
;
}
if
(
!
this
.
formData
.
selfName
)
{
const
selfInfo
=
this
.
familyList
.
find
(
item
=>
item
.
relation
===
1
);
...
...
@@ -483,7 +487,7 @@ export default {
// TODO 倒计时未回显
async
getCode
()
{
const
TIME_COUNT
=
60
;
const
{
selfPhone
}
=
this
.
formData
;
const
{
selfPhone
}
=
this
;
if
(
this
.
timer
)
return
;
if
(
!
isPhone
(
selfPhone
))
{
this
.
$notify
({
type
:
"
warning
"
,
message
:
"
请填写正确的手机号码
"
});
...
...
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