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
60737965
Commit
60737965
authored
Aug 18, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 问题修复
parent
3b068a9a
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
57 additions
and
36 deletions
+57
-36
index.html
public/index.html
+1
-1
detail.zhongan.yiwai.js
src/api/detail.zhongan.yiwai.js
+2
-1
Collapse.vue
src/components/Collapse.vue
+1
-0
GoodAction.vue
src/components/GoodAction.vue
+2
-0
Tabbar.vue
src/components/Tabbar.vue
+3
-1
index.less
src/style/index.less
+3
-0
mixins.less
src/style/mixins.less
+9
-0
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+1
-1
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+10
-9
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+9
-14
index.vue
src/views/Goods/Detail/index.vue
+2
-1
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+12
-3
index.vue
src/views/Policy/Add/index.vue
+2
-5
No files found.
public/index.html
View file @
60737965
...
...
@@ -3,7 +3,7 @@
<head>
<meta
charset=
"utf-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,user-scalable=no"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0,user-scalable=no
,viewport-fit=cover
"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title><
%=
htmlWebpackPlugin
.
options
.
title
%
></title>
<script>
...
...
src/api/detail.zhongan.yiwai.js
View file @
60737965
...
...
@@ -4,7 +4,7 @@
* @Description:众安50万意外险
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditTime: 2020-08-1
3 10:37:30
* @LastEditTime: 2020-08-1
8 16:24:31
*/
import
goodsBg
from
"
@/assets/images/goods/detail/yiwaixian/bg.png
"
;
...
...
@@ -141,6 +141,7 @@ export default {
url
:
"
http://mangguo-contract.qthbx.com/fu-wu-xie-yi-v1/
"
},
{
title
:
"
保险计划
"
},
{
title
:
"
保险计划
"
},
{
title
:
"
理赔信息
"
},
{
title
:
"
完整费率
"
},
{
...
...
src/components/Collapse.vue
View file @
60737965
...
...
@@ -158,6 +158,7 @@ export default {
&-icon {
font-style: normal;
font-weight: @font-weight-bold;
width: 15px;
}
&-txt {
margin-left: 8px;
...
...
src/components/GoodAction.vue
View file @
60737965
...
...
@@ -68,6 +68,7 @@ export default {
<
style
lang=
"less"
scoped
>
@import "../style/var.less";
@import "../style/mixins.less";
.good-action {
position: fixed;
bottom: 0;
...
...
@@ -80,6 +81,7 @@ export default {
justify-content: space-between;
background-color: @white;
border-top: 1px solid rgba(0, 0, 0, 0.1);
.iphonex-fix-padding();
&-left {
display: flex;
align-items: center;
...
...
src/components/Tabbar.vue
View file @
60737965
...
...
@@ -80,13 +80,15 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
@import "../style/var.less";
@import "../style/mixins.less";
.mongo-tabbar {
position: fixed;
bottom: 0;
z-index: 100;
box-sizing: border-box;
height: 49px;
min-
height: 49px;
padding: 5px 0 2px 0;
.iphonex-fix-padding();
&-item {
display: flex;
flex-direction: column;
...
...
src/style/index.less
View file @
60737965
...
...
@@ -21,6 +21,9 @@ a {
input::-webkit-input-placeholder {
color: #AAAAAA;
}
input:focus {
outline: 0;
}
strong {
font-weight: @font-weight-bold;
}
...
...
src/style/mixins.less
View file @
60737965
...
...
@@ -37,4 +37,13 @@
.sub-text-mixins();
color: @black;
}
}
.iphonex-fix-padding {
padding-bottom: constant(safe-area-inset-bottom);
padding-bottom: env(safe-area-inset-bottom);
}
.iphonex-fix-margin {
margin-bottom: constant(safe-area-inset-bottom);
margin-bottom: env(safe-area-inset-bottom);
}
\ No newline at end of file
src/views/Goods/Detail/AIDetail.vue
View file @
60737965
...
...
@@ -138,7 +138,7 @@ export default {
formData
:
{
name
:
""
,
idNo
:
""
,
relation
:
"
1
"
,
relation
:
""
,
payType
:
"
1
"
,
amountInsured
:
"
1000000
"
,
autoRenewPolicy
:
false
,
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
60737965
...
...
@@ -54,7 +54,7 @@
:url=
"pupopData.url"
>
<cps-process-detail
v-if=
"currentPupopIndex === 5"
:process-data=
"processDetail"
/>
<cps-rate
v-if=
"currentPupopIndex === 6"
/>
<cps-rate
:rate-data=
"rateInfo"
v-if=
"currentPupopIndex === 6"
/>
</popup-with-iframe>
<go-insure-dialog
v-model=
"goInsureState"
...
...
@@ -135,8 +135,8 @@ export default {
formData
:
{
name
:
""
,
idNo
:
""
,
relation
:
"
1
"
,
payType
:
"
1
"
,
relation
:
""
,
payType
:
""
,
amountInsured
:
"
300000
"
,
autoRenewPolicy
:
false
,
read
:
true
...
...
@@ -166,15 +166,16 @@ export default {
if
(
this
.
calTimer
)
{
clearTimeout
(
this
.
calTimer
);
}
const
{
idNo
,
payType
}
=
val
;
const
{
idNo
:
oldNo
,
payType
:
oldType
}
=
oldVal
;
const
{
idNo
}
=
val
;
const
{
idNo
:
oldNo
}
=
oldVal
;
if
(
this
.
goInsureState
)
{
sessionStorage
.
setItem
(
"
policyFormData
"
,
JSON
.
stringify
(
Object
.
assign
(
this
.
formData
,
{
productNo
:
this
.
goodId
}))
);
}
if
(
idNo
===
oldNo
&&
payType
===
oldType
)
return
;
console
.
log
(
idNo
,
oldNo
);
if
(
idNo
===
oldNo
)
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
},
600
);
...
...
@@ -257,17 +258,17 @@ export default {
async
calFee
()
{
let
{
price
,
subPrice
}
=
this
.
headerInfo
;
const
{
idNo
,
socialSecurity
,
payType
,
amountInsured
,
userInfoSecId
}
=
this
.
formData
;
if
(
!
idNo
||
!
socialSecurity
||
!
payType
)
return
;
if
(
!
idNo
)
return
;
const
_param
=
{
productNo
:
this
.
goodId
,
productUserInfo
:
{
userInfo
:
{
idNo
,
socialSecurity
:
!!
Number
(
socialSecurity
)
,
socialSecurity
:
socialSecurity
?
!!
Number
(
socialSecurity
)
:
true
,
userInfoSecId
:
userInfoSecId
?
userInfoSecId
:
undefined
},
productItem
:
{
payType
,
payType
:
payType
||
"
2
"
,
amountInsured
}
}
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
60737965
...
...
@@ -136,9 +136,9 @@ export default {
formData
:
{
name
:
""
,
idNo
:
""
,
socialSecurity
:
"
1
"
,
relation
:
"
1
"
,
payType
:
"
1
"
,
socialSecurity
:
""
,
relation
:
""
,
payType
:
""
,
planValue
:
"
3
"
,
autoRenewPolicy
:
false
,
read
:
true
...
...
@@ -163,15 +163,12 @@ export default {
];
}
},
formData
Cpu
:
{
formData
:
{
deep
:
true
,
handler
(
val
,
oldVal
)
{
handler
()
{
if
(
this
.
calTimer
)
{
clearTimeout
(
this
.
calTimer
);
}
const
{
idNo
,
socialSecurity
,
payType
}
=
val
;
const
{
idNo
:
oldNo
,
socialSecurity
:
oldSocialSecurity
,
payType
:
oldType
}
=
oldVal
;
if
(
idNo
===
oldNo
&&
socialSecurity
===
oldSocialSecurity
&&
payType
===
oldType
)
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
},
600
);
...
...
@@ -190,9 +187,6 @@ export default {
paywayOptions
,
medicalOptions
};
},
formDataCpu
()
{
return
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
}
},
mounted
()
{
...
...
@@ -289,17 +283,18 @@ export default {
async
calFee
()
{
let
{
price
,
subPrice
}
=
this
.
headerInfo
;
const
{
idNo
,
socialSecurity
,
payType
,
userInfoSecId
}
=
this
.
formData
;
if
(
!
idNo
||
!
socialSecurity
||
!
payType
)
return
;
if
(
!
idNo
)
return
;
const
_param
=
{
productNo
:
this
.
goodId
,
productUserInfo
:
{
userInfo
:
{
idNo
,
socialSecurity
:
!!
Number
(
socialSecurity
)
,
socialSecurity
:
socialSecurity
?
!!
Number
(
socialSecurity
)
:
true
,
userInfoSecId
:
userInfoSecId
?
userInfoSecId
:
undefined
},
productItem
:
{
payType
payType
:
payType
||
"
2
"
,
socialSecurity
:
socialSecurity
?
!!
Number
(
socialSecurity
)
:
true
}
}
};
...
...
src/views/Goods/Detail/index.vue
View file @
60737965
...
...
@@ -36,7 +36,8 @@ export default {
};
},
beforeRouteLeave
(
to
,
from
,
next
)
{
if
(
this
.
noOrder
&&
!
this
.
userClickState
&&
to
.
name
===
"
Goods
"
)
{
const
blackList
=
[
"
Goods
"
,
"
Home
"
,
"
Detail
"
,
"
ConsultantPlan
"
];
if
(
this
.
noOrder
&&
!
this
.
userClickState
&&
blackList
.
includes
(
to
.
name
))
{
this
.
showRec
=
true
;
next
(
false
);
}
else
{
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
60737965
...
...
@@ -228,7 +228,7 @@ export default {
userInfoSecId
:
selfSecId
,
socialSecurity
}
=
item
;
if
(
relation
===
1
)
{
if
(
+
relation
===
1
)
{
this
.
formData
=
{
...
this
.
formData
,
...{
...
...
@@ -242,17 +242,26 @@ export default {
}
});
const
userArray
=
this
.
familyList
.
filter
(
item
=>
item
.
relation
===
+
relation
);
let
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
""
,
""
,
""
,
"
0
"
];
let
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
""
,
""
,
""
,
""
];
if
(
userArray
.
length
)
{
let
{
nameMask
,
idNoMask
,
userInfoSecId
:
id
,
socialSecurity
:
ss
}
=
userArray
[
0
];
[
name
,
idNo
,
userInfoSecId
,
socialSecurity
]
=
[
nameMask
,
idNoMask
,
id
,
ss
];
this
.
infoReadonly
=
true
;
}
else
{
if
(
relation
===
"
1
"
)
{
const
{
selfName
:
sName
,
selfIdNo
:
sNo
}
=
this
.
formData
;
[
name
,
idNo
]
=
[
sName
,
sNo
];
}
this
.
infoReadonly
=
false
;
}
this
.
formData
=
{
...
this
.
formData
,
...{
name
,
idNo
,
userInfoSecId
,
socialSecurity
:
socialSecurity
?
"
1
"
:
"
0
"
}
...{
name
,
idNo
,
userInfoSecId
,
socialSecurity
}
};
},
async
getFamilyList
()
{
...
...
src/views/Policy/Add/index.vue
View file @
60737965
...
...
@@ -399,7 +399,7 @@ export default {
policyFormData
:
JSON
.
parse
(
sessionStorage
.
getItem
(
"
policyFormData
"
)
||
"
{}
"
),
formData
:
{
insuredUserInfo
:
{
relation
:
"
1
"
relation
:
""
},
holderUserInfo
:
{},
productItem
:
{
...
...
@@ -442,7 +442,7 @@ export default {
this
.
goodBuyModalInfo
=
[{
title
:
`
${
price
[
2
]}
保费`
,
value
:
`
${
price
[
0
]}${
price
[
1
]}
`
}];
}
},
formData
Cpu
:
{
formData
:
{
deep
:
true
,
handler
()
{
this
.
autoSaveHandler
(
AUTO_SAVE_TARGET
,
AUTO_SAVE_KEY
);
...
...
@@ -475,9 +475,6 @@ export default {
const
{
popupArray
,
currentPupopIndex
}
=
this
;
return
popupArray
[
currentPupopIndex
]
||
{};
},
formDataCpu
()
{
return
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
},
socialSecurityReadonly
()
{
const
{
relation
}
=
this
.
formData
.
insuredUserInfo
;
const
{
selfInfoReadonly
,
infoReadonly
}
=
this
;
...
...
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