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
69d9a742
Commit
69d9a742
authored
Oct 16, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 本人信息回显后禁止修改
parent
efda684e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+2
-1
index.vue
src/views/Policy/Add/index.vue
+2
-1
No files found.
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
69d9a742
...
...
@@ -456,7 +456,7 @@ export default {
this
.
getSaveInfoHandler
(
this
.
autoSaveKey
,
AUTO_SAVE_TARGET
);
const
{
idNo
,
userInfoSecId
,
relation
,
selfIdNo
}
=
this
.
formData
;
const
selfUserInfo
=
this
.
familyList
.
find
(
item
=>
item
.
relation
===
1
);
if
(
selfUserInfo
.
idNo
&&
selfIdNo
)
{
if
(
selfUserInfo
&&
selfUserInfo
.
idNo
&&
selfIdNo
)
{
const
{
idNoMask
,
nameMask
,
socialSecurity
,
userInfoSecId
}
=
selfUserInfo
;
this
.
formData
=
{
...
this
.
formData
,
...
...
@@ -472,6 +472,7 @@ export default {
:
"
0
"
}
};
this
.
selfInfoReadonly
=
true
;
}
if
(
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
...
...
src/views/Policy/Add/index.vue
View file @
69d9a742
...
...
@@ -1007,7 +1007,7 @@ export default {
this
.
getSaveInfoHandler
(
AUTO_SAVE_KEY
,
AUTO_SAVE_TARGET
);
const
{
relation
,
idNo
,
userInfoSecId
,
selfIdNo
}
=
this
.
formData
.
insuredUserInfo
;
const
selfUserInfo
=
this
.
familyList
.
find
(
item
=>
item
.
relation
===
1
);
if
(
selfUserInfo
.
idNo
&&
selfIdNo
)
{
if
(
selfUserInfo
&&
selfUserInfo
.
idNo
&&
selfIdNo
)
{
const
{
idNoMask
,
nameMask
,
socialSecurity
,
userInfoSecId
}
=
selfUserInfo
;
this
.
formData
=
{
...
this
.
formData
,
...
...
@@ -1023,6 +1023,7 @@ export default {
:
"
0
"
}
};
this
.
selfInfoReadonly
=
true
;
}
if
(
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
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