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
9c12db6e
Commit
9c12db6e
authored
Aug 21, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
1071ac40
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+8
-11
No files found.
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
9c12db6e
...
@@ -218,9 +218,6 @@ export default {
...
@@ -218,9 +218,6 @@ export default {
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
}
}
}
},
familyList
()
{
this
.
relationChange
();
}
}
},
},
computed
:
{
computed
:
{
...
@@ -265,24 +262,20 @@ export default {
...
@@ -265,24 +262,20 @@ export default {
this
.
selfInfoReadonly
=
true
;
this
.
selfInfoReadonly
=
true
;
}
}
});
});
let
userArray
=
this
.
familyList
.
filter
(
item
=>
{
let
userArray
=
this
.
familyList
.
filter
(
if
(
item
.
userInfoSecId
===
sessionStorage
.
getItem
(
this
.
detailType
+
"
userInfoSecId
"
))
{
item
=>
item
.
userInfoSecId
===
sessionStorage
.
getItem
(
this
.
detailType
+
"
userInfoSecId
"
)
this
.
formData
.
relation
=
""
+
item
.
relation
;
);
return
item
;
}
});
if
(
!
userArray
.
length
)
{
if
(
!
userArray
.
length
)
{
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
}
else
{
}
else
{
this
.
formData
.
relation
=
sessionStorage
.
getItem
(
this
.
detailType
+
"
relation
"
);
this
.
formData
.
relation
=
sessionStorage
.
getItem
(
this
.
detailType
+
"
relation
"
);
sessionStorage
.
removeItem
(
this
.
detailType
+
"
userInfoSecId
"
);
sessionStorage
.
removeItem
(
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
,
...
@@ -329,6 +322,7 @@ export default {
...
@@ -329,6 +322,7 @@ export default {
//
//
}
}
}
}
// sessionStorage.removeItem(this.detailType + "relation");
},
},
async
getFamilyList
()
{
async
getFamilyList
()
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
...
@@ -341,6 +335,9 @@ export default {
...
@@ -341,6 +335,9 @@ 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
);
}
}
}
}
...
...
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