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
5ecdfe84
Commit
5ecdfe84
authored
Aug 30, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/goods' into 'master'
Fix/goods See merge request
!137
parents
65ebd718
f5603c34
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
50 additions
and
10 deletions
+50
-10
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+24
-4
index.vue
src/views/Policy/Add/index.vue
+24
-4
index.vue
src/views/Policy/PayWaiting/index.vue
+2
-2
No files found.
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
5ecdfe84
...
...
@@ -442,11 +442,31 @@ export default {
this
.
familyList
=
res
;
if
(
this
.
hasAutoSaveData
(
this
.
autoSaveKey
)
&&
!
reset
)
{
this
.
getSaveInfoHandler
(
this
.
autoSaveKey
,
AUTO_SAVE_TARGET
);
if
(
this
.
formData
.
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
this
.
formData
.
relation
);
const
{
idNo
,
userInfoSecId
,
relation
}
=
this
.
formData
;
if
(
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
this
.
relationList
=
userArray
.
length
>
1
?
userArray
:
[];
if
(
idNo
&&
!
userInfoSecId
)
{
this
.
familyList
.
forEach
(
item
=>
{
if
(
item
.
idNo
===
idNo
)
{
const
{
idNoMask
,
nameMask
,
socialSecurity
,
userInfoSecId
}
=
item
;
this
.
formData
=
{
...
this
.
formData
,
...{
idNo
:
idNoMask
,
name
:
nameMask
,
userInfoSecId
,
socialSecurity
:
typeof
socialSecurity
===
undefined
||
socialSecurity
===
""
?
""
:
socialSecurity
?
"
1
"
:
"
0
"
}
};
}
});
}
}
else
{
this
.
formData
.
relation
=
"
1
"
;
}
...
...
src/views/Policy/Add/index.vue
View file @
5ecdfe84
...
...
@@ -997,11 +997,31 @@ export default {
this
.
familyList
=
res
;
if
(
this
.
hasAutoSaveData
(
AUTO_SAVE_KEY
))
{
this
.
getSaveInfoHandler
(
AUTO_SAVE_KEY
,
AUTO_SAVE_TARGET
);
if
(
this
.
formData
.
insuredUserInfo
.
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
this
.
formData
.
insuredUserInfo
.
relation
);
const
{
relation
,
idNo
,
userInfoSecId
}
=
this
.
formData
.
insuredUserInfo
;
if
(
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
this
.
relationList
=
userArray
.
length
>
1
?
userArray
:
[];
if
(
idNo
&&
!
userInfoSecId
)
{
this
.
familyList
.
forEach
(
item
=>
{
if
(
item
.
idNo
===
idNo
)
{
const
{
idNoMask
,
nameMask
,
socialSecurity
,
userInfoSecId
}
=
item
;
this
.
formData
.
insuredUserInfo
=
{
...
this
.
formData
.
insuredUserInfo
,
...{
idNo
:
idNoMask
,
name
:
nameMask
,
userInfoSecId
,
socialSecurity
:
typeof
socialSecurity
===
undefined
||
socialSecurity
===
""
?
""
:
socialSecurity
?
"
1
"
:
"
0
"
}
};
}
});
}
}
if
(
!
this
.
formData
.
holderUserInfo
.
name
)
{
const
selfInfo
=
this
.
familyList
.
find
(
item
=>
item
.
relation
===
1
);
...
...
src/views/Policy/PayWaiting/index.vue
View file @
5ecdfe84
...
...
@@ -25,8 +25,8 @@ export default {
// }
this
.
isPayWait
=
true
;
this
.
orderInfo
=
this
.
$route
.
query
;
// 如果存在isXyqb,同时当前不是在信用钱包环境
,或众安第三方支付
if
(
this
.
orderInfo
.
isfXyqb
==
1
&&
(
!
isXyqb
||
this
.
orderInfo
.
third
)
)
{
// 如果存在isXyqb,同时当前不是在信用钱包环境
if
(
(
this
.
orderInfo
.
isfXyqb
==
1
&&
!
isXyqb
)
||
this
.
orderInfo
.
third
===
"
zhongan
"
)
{
window
.
location
.
href
=
"
xyqb://my
"
;
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
this
.
$router
.
replace
(
"
/policy
"
);
...
...
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