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
b5bd54fc
Commit
b5bd54fc
authored
Aug 24, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 年收入问题整改;去掉从开启保障展示用户信息
parent
01499c5f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
14 deletions
+7
-14
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+1
-13
index.vue
src/views/Policy/Add/index.vue
+6
-1
No files found.
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
b5bd54fc
...
@@ -355,20 +355,12 @@ export default {
...
@@ -355,20 +355,12 @@ export default {
this
.
selfInfoReadonly
=
true
;
this
.
selfInfoReadonly
=
true
;
}
}
});
});
let
userArray
=
this
.
familyList
.
filter
(
let
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
item
=>
item
.
userInfoSecId
===
sessionStorage
.
getItem
(
this
.
detailType
+
"
userInfoSecId
"
)
);
if
(
!
userArray
.
length
)
{
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
}
else
{
this
.
formData
.
relation
=
sessionStorage
.
getItem
(
this
.
detailType
+
"
relation
"
);
}
let
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
""
,
""
,
""
,
""
];
let
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
""
,
""
,
""
,
""
];
if
(
if
(
relation
===
relation
===
(
localStorage
.
get
(
this
.
autoSaveKey
)
&&
localStorage
.
get
(
this
.
autoSaveKey
).
relation
)
(
localStorage
.
get
(
this
.
autoSaveKey
)
&&
localStorage
.
get
(
this
.
autoSaveKey
).
relation
)
)
{
)
{
sessionStorage
.
removeItem
(
this
.
detailType
+
"
userInfoSecId
"
);
const
{
const
{
name
:
cachename
,
name
:
cachename
,
idNo
:
cacheidNo
,
idNo
:
cacheidNo
,
...
@@ -416,7 +408,6 @@ export default {
...
@@ -416,7 +408,6 @@ export default {
//
//
}
}
}
}
// sessionStorage.removeItem(this.detailType + "relation");
},
},
async
getFamilyList
()
{
async
getFamilyList
()
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
...
@@ -429,9 +420,6 @@ export default {
...
@@ -429,9 +420,6 @@ export default {
this
.
getSaveInfoHandler
(
this
.
autoSaveKey
,
AUTO_SAVE_TARGET
);
this
.
getSaveInfoHandler
(
this
.
autoSaveKey
,
AUTO_SAVE_TARGET
);
}
else
{
}
else
{
let
relation
=
this
.
formData
.
relation
;
let
relation
=
this
.
formData
.
relation
;
if
(
sessionStorage
.
getItem
(
this
.
detailType
+
"
relation
"
))
{
relation
=
sessionStorage
.
getItem
(
this
.
detailType
+
"
relation
"
);
}
(
this
.
showAuthXyqb
||
this
.
mongoToken
)
&&
this
.
relationChange
(
relation
);
(
this
.
showAuthXyqb
||
this
.
mongoToken
)
&&
this
.
relationChange
(
relation
);
}
}
}
}
...
...
src/views/Policy/Add/index.vue
View file @
b5bd54fc
...
@@ -800,9 +800,14 @@ export default {
...
@@ -800,9 +800,14 @@ export default {
this
.
subFormData
.
insuredUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
this
.
subFormData
.
insuredUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
this
.
subFormData
.
holderUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
this
.
subFormData
.
holderUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
if
(
relation
===
"
1
"
)
{
if
(
relation
===
"
1
"
)
{
const
{
weight
,
height
,
socialSecurity
}
=
this
.
subFormData
.
insuredUserInfo
;
this
.
subFormData
.
holderUserInfo
=
{
this
.
subFormData
.
holderUserInfo
=
{
...
this
.
subFormData
.
holderUserInfo
,
...
this
.
subFormData
.
holderUserInfo
,
...
this
.
subFormData
.
insuredUserInfo
...{
weight
,
height
,
socialSecurity
}
};
};
delete
this
.
subFormData
.
insuredUserInfo
;
delete
this
.
subFormData
.
insuredUserInfo
;
}
}
...
...
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