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
67bd3dc7
Commit
67bd3dc7
authored
Aug 27, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 未登录下单出现本人信息不能修改问题;健康告知高度问题修复
parent
583a37a6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
62 deletions
+73
-62
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+8
-4
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+8
-4
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+8
-4
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+47
-48
index.less
src/views/Goods/Inform/index.less
+2
-2
No files found.
src/views/Goods/Detail/AIDetail.vue
View file @
67bd3dc7
...
...
@@ -231,14 +231,18 @@ export default {
return
;
}
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
}
else
{
const
{
selfPhone
,
selfCode
}
=
this
.
formData
;
this
.
login
(
selfPhone
,
selfCode
).
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
});
}
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
67bd3dc7
...
...
@@ -291,14 +291,18 @@ export default {
return
;
}
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
}
else
{
const
{
selfPhone
,
selfCode
}
=
this
.
formData
;
this
.
login
(
selfPhone
,
selfCode
).
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
});
}
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
67bd3dc7
...
...
@@ -225,15 +225,19 @@ export default {
}
if
(
localStorage
.
get
(
"
mongoToken
"
))
{
socialSecurityCache
=
this
.
formData
.
socialSecurity
;
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
}
else
{
socialSecurityCache
=
this
.
formData
.
socialSecurity
;
const
{
selfPhone
,
selfCode
}
=
this
.
formData
;
this
.
login
(
selfPhone
,
selfCode
).
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList_I
().
then
(()
=>
{
this
.
$refs
.
insureForm
.
getFamilyList
(
true
).
then
(()
=>
{
setTimeout
(()
=>
{
this
.
getIsRead
();
},
500
);
});
});
}
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
67bd3dc7
...
...
@@ -335,7 +335,7 @@ export default {
};
this
.
onRelationCancel
();
},
relationChange
(
relation
=
this
.
formData
.
relation
)
{
relationChange
(
relation
=
this
.
formData
.
relation
,
validSelf
=
false
)
{
this
.
familyList
.
forEach
(
item
=>
{
const
{
relation
,
...
...
@@ -357,6 +357,7 @@ export default {
this
.
selfInfoReadonly
=
true
;
}
});
if
(
validSelf
)
return
;
let
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
let
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
""
,
""
,
""
,
""
];
if
(
...
...
@@ -414,14 +415,15 @@ export default {
}
}
},
async
getFamilyList
()
{
getFamilyList
(
reset
=
false
)
{
return
new
Promise
(
resolve
=>
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
if
(
!
this
.
mongoToken
)
return
;
this
.
setUserInfo
();
const
res
=
await
getFamilyList
();
getFamilyList
().
then
(
res
=>
{
if
(
res
)
{
this
.
familyList
=
res
;
if
(
this
.
hasAutoSaveData
(
this
.
autoSaveKey
)
)
{
if
(
this
.
hasAutoSaveData
(
this
.
autoSaveKey
)
&&
!
reset
)
{
this
.
getSaveInfoHandler
(
this
.
autoSaveKey
,
AUTO_SAVE_TARGET
);
if
(
this
.
formData
.
relation
)
{
const
userArray
=
this
.
familyList
.
filter
(
...
...
@@ -456,15 +458,12 @@ export default {
}
}
else
{
let
relation
=
this
.
formData
.
relation
||
"
1
"
;
(
this
.
showAuthXyqb
||
this
.
mongoToken
)
&&
this
.
relationChange
(
relation
);
(
this
.
showAuthXyqb
||
this
.
mongoToken
)
&&
this
.
relationChange
(
relation
,
reset
);
}
}
},
getFamilyList_I
()
{
return
new
Promise
(
resolve
=>
{
this
.
getFamilyList
();
resolve
();
});
});
},
// TODO 倒计时未回显
async
getCode
()
{
...
...
src/views/Goods/Inform/index.less
View file @
67bd3dc7
...
...
@@ -43,7 +43,7 @@
-webkit-overflow-scrolling: touch;
overflow: scroll;
margin: 0 -15px;
height:
72vh
;
height:
calc(100vh - 182px)
;
}
}
&-btns {
...
...
@@ -62,7 +62,7 @@
}
}
&-frame {
height:
72vh
;
height:
calc(100vh - 182px)
;
width: 100%;
}
}
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