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
d34bd1ec
Commit
d34bd1ec
authored
Aug 20, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/policy_fix' into 'master'
fix: 试算调整 See merge request
!60
parents
a8333ba8
4c627686
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
32 additions
and
11 deletions
+32
-11
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+1
-1
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+6
-2
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+10
-1
index.vue
src/views/Goods/Inform/index.vue
+7
-3
index.vue
src/views/Policy/Add/index.vue
+3
-3
UserFamily.vue
src/views/User/modules/UserFamily.vue
+5
-1
No files found.
src/views/Goods/Detail/CIIDetail.vue
View file @
d34bd1ec
...
...
@@ -309,7 +309,7 @@ export default {
this
.
$notify
({
type
:
"
warning
"
,
message
:
errors
[
0
].
message
});
},
nextStep
()
{
this
.
$router
.
push
(
"
/goods/inform
"
);
this
.
$router
.
push
(
{
path
:
"
/goods/inform
"
}
);
},
async
getDetail
()
{
this
.
goodId
=
this
.
$route
.
query
.
id
;
...
...
src/views/Goods/Detail/LIDetail.vue
View file @
d34bd1ec
...
...
@@ -235,8 +235,12 @@ export default {
"
policyFormData
"
,
JSON
.
stringify
(
Object
.
assign
(
this
.
formData
,
{
productNo
:
this
.
goodId
}))
);
const
{
queryId
}
=
this
.
$route
;
this
.
$router
.
push
({
path
:
"
/policy/add
"
,
query
:
{
queryId
}
});
const
{
userInfoSecId
}
=
this
.
$route
.
query
;
this
.
$router
.
push
({
path
:
"
/goods/inform
"
,
query
:
{
url
:
this
.
popupArray
[
1
].
url
,
userInfoSecId
,
noOrder
:
true
}
});
// this.$router.push({ path: "/policy/add", query: { queryId } });
},
async
getDetail
()
{
this
.
goodId
=
this
.
$route
.
query
.
id
;
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
d34bd1ec
...
...
@@ -286,12 +286,21 @@ export default {
userInfoSecId
,
socialSecurity
:
socialSecurity
===
""
||
typeof
socialSecurity
===
"
undefined
"
?
this
[
this
.
autoSaveKey
+
"
Cache
"
].
socialSecurity
||
""
?
""
:
socialSecurity
?
"
1
"
:
"
0
"
}
};
if
(
!
this
.
formData
.
socialSecurity
)
{
try
{
this
.
formData
.
insuredUserInfo
.
socialSecurity
=
this
[
this
.
autoSaveKey
+
"
Cache
"
].
socialSecurity
;
}
catch
(
e
)
{
console
.
log
(
"
缓存中不存在
"
);
}
}
},
async
getFamilyList
()
{
this
.
mongoToken
=
localStorage
.
get
(
"
mongoToken
"
);
...
...
src/views/Goods/Inform/index.vue
View file @
d34bd1ec
...
...
@@ -53,9 +53,13 @@ export default {
},
methods
:
{
conform
()
{
// this.$router.push(`/policy/detail/123`);
// this.generateFormData();
this
.
generateOrder
();
if
(
this
.
$route
.
query
.
noOrder
)
{
const
{
userInfoSecId
}
=
this
.
$route
.
query
;
this
.
$router
.
push
({
path
:
"
/policy/add
"
,
query
:
{
userInfoSecId
}
});
}
else
{
// this.generateFormData();
this
.
generateOrder
();
}
}
}
};
...
...
src/views/Policy/Add/index.vue
View file @
d34bd1ec
...
...
@@ -715,8 +715,8 @@ export default {
delete
this
.
subFormData
.
insuredUserInfo
;
}
sessionStorage
.
setItem
(
"
policyFormData
"
,
JSON
.
stringify
(
this
.
subFormData
));
this
.
$router
.
push
({
path
:
"
/goods/inform
"
,
query
:
{
url
:
popupArray
[
1
].
url
}
});
//
this.generateOrder();
//
this.$router.push({ path: "/goods/inform", query: { url: popupArray[1].url } });
this
.
generateOrder
();
},
relationOptionChange
(
relation
)
{
relation
&&
this
.
relationChange
(
relation
,
this
.
clearInsured
);
...
...
@@ -778,7 +778,7 @@ export default {
AUTO_SAVE_TARGET
+
"
Cache
"
].
insuredUserInfo
.
socialSecurity
;
}
catch
(
e
)
{
console
.
log
(
e
);
console
.
log
(
"
缓存中不存在
"
);
}
}
if
(
relation
)
{
...
...
src/views/User/modules/UserFamily.vue
View file @
d34bd1ec
...
...
@@ -111,9 +111,13 @@ export default {
methods
:
{
go
(
path
,
params
)
{
if
(
path
===
"
/goods/detail
"
&&
params
)
{
let
userInfoSecId
=
""
;
if
(
this
.
familyList
&&
this
.
familyList
.
length
)
{
userInfoSecId
=
this
.
familyList
[
this
.
activeIndex
].
userInfoSecId
;
}
path
=
{
path
,
query
:
{
id
:
params
.
id
,
type
:
params
.
itype
}
query
:
{
id
:
params
.
id
,
type
:
params
.
itype
,
userInfoSecId
}
};
}
else
if
(
path
===
"
/policy/detail
"
&&
params
.
orderNo
)
{
path
=
`
${
path
}
/
${
params
.
orderNo
}
`
;
...
...
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