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
cc024d94
Commit
cc024d94
authored
Aug 19, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 非本人longTerm字段异常修复
parent
ef3b929a
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
40 additions
and
9 deletions
+40
-9
LoginModal.vue
src/components/LoginModal.vue
+1
-0
PopupDatePicker.vue
src/components/PopupDatePicker.vue
+21
-2
PopupWithIframe.vue
src/components/PopupWithIframe.vue
+1
-1
index.vue
src/views/Consultant/Question/index.vue
+9
-0
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+0
-5
CalInsuredFee.vue
src/views/Goods/Detail/modules/CalInsuredFee.vue
+7
-1
index.vue
src/views/Policy/Add/index.vue
+1
-0
No files found.
src/components/LoginModal.vue
View file @
cc024d94
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<cr-form
<cr-form
class=
"login-form"
class=
"login-form"
ref=
"loginForm"
ref=
"loginForm"
show-error
validate-trigger=
"onBlur"
validate-trigger=
"onBlur"
@
submit=
"login"
@
submit=
"login"
@
failed=
"onFormFailed"
@
failed=
"onFormFailed"
...
...
src/components/PopupDatePicker.vue
View file @
cc024d94
...
@@ -8,9 +8,11 @@
...
@@ -8,9 +8,11 @@
<span>
{{
pickerValShow
||
placeholder
}}
</span>
<span>
{{
pickerValShow
||
placeholder
}}
</span>
<svg-icon
icon-class=
"triangle-right"
slot=
"button"
/>
<svg-icon
icon-class=
"triangle-right"
slot=
"button"
/>
</div>
</div>
<cr-popup
v-model=
"show"
position=
"bottom"
get-container=
"body
"
>
<cr-popup
v-model=
"show"
position=
"bottom"
class=
"aaaa
"
>
<cr-date-picker
<cr-date-picker
ref=
"datepicker"
ref=
"datepicker"
:before=
"before"
:later=
"later"
@
confirm=
"onConfirm"
@
confirm=
"onConfirm"
@
cancel=
"onCancel"
@
cancel=
"onCancel"
:init-value=
"initVal"
:init-value=
"initVal"
...
@@ -22,10 +24,27 @@
...
@@ -22,10 +24,27 @@
<
script
>
<
script
>
import
popupPickerMixin
from
"
../mixins/popupPicker.mixin.js
"
;
import
popupPickerMixin
from
"
../mixins/popupPicker.mixin.js
"
;
import
{
parseTime
}
from
"
@/service/utils
"
;
import
{
parseTime
}
from
"
@/service/utils
"
;
const
CURRENT_TIME
=
new
Date
();
const
CURRENT_YEAR
=
CURRENT_TIME
.
getFullYear
();
// const START_YEAR = 1949;
const
END_YEAR
=
CURRENT_YEAR
;
export
default
{
export
default
{
name
:
"
PopupDatePicker
"
,
name
:
"
PopupDatePicker
"
,
mixins
:
[
popupPickerMixin
],
mixins
:
[
popupPickerMixin
],
props
:
{
before
:
{
type
:
Number
,
default
()
{
return
100
;
}
},
later
:
{
type
:
Number
,
default
()
{
return
END_YEAR
-
CURRENT_YEAR
;
}
}
},
data
()
{
data
()
{
return
{
return
{
refName
:
"
datepicker
"
,
refName
:
"
datepicker
"
,
...
...
src/components/PopupWithIframe.vue
View file @
cc024d94
...
@@ -127,7 +127,7 @@ export default {
...
@@ -127,7 +127,7 @@ export default {
font-size: @font-size-18;
font-size: @font-size-18;
top: 16px;
top: 16px;
right: 14px;
right: 14px;
z-index:
201
;
z-index:
99
;
}
}
&-head {
&-head {
position: absolute;
position: absolute;
...
...
src/views/Consultant/Question/index.vue
View file @
cc024d94
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
"
"
v-show=
"currentStep === 1"
v-show=
"currentStep === 1"
item-height=
"35"
item-height=
"35"
:later=
"endYear"
:show-toolbar=
"false"
:show-toolbar=
"false"
/>
/>
<cr-radio-btn
<cr-radio-btn
...
@@ -156,6 +157,12 @@ import Card from "@/components/Card";
...
@@ -156,6 +157,12 @@ import Card from "@/components/Card";
import
localStorage
from
"
@/service/localStorage
"
;
import
localStorage
from
"
@/service/localStorage
"
;
import
areaList
from
"
@qg/cherry-ui/src/area/demo/china
"
;
import
areaList
from
"
@qg/cherry-ui/src/area/demo/china
"
;
import
{
subCulQus
}
from
"
@/api/consultant
"
;
import
{
subCulQus
}
from
"
@/api/consultant
"
;
const
CURRENT_TIME
=
new
Date
();
const
CURRENT_YEAR
=
CURRENT_TIME
.
getFullYear
();
const
START_YEAR
=
1949
;
const
END_YEAR
=
CURRENT_YEAR
;
export
default
{
export
default
{
name
:
"
ConsultantQuestion
"
,
name
:
"
ConsultantQuestion
"
,
components
:
{
components
:
{
...
@@ -177,6 +184,8 @@ export default {
...
@@ -177,6 +184,8 @@ export default {
gender
:
""
,
gender
:
""
,
relation
:
""
relation
:
""
},
},
startYear
:
CURRENT_YEAR
-
START_YEAR
,
endYear
:
END_YEAR
-
CURRENT_YEAR
,
currentStep
:
0
,
currentStep
:
0
,
showSubState
:
false
,
showSubState
:
false
,
stepTips
:
[
stepTips
:
[
...
...
src/views/Goods/Detail/LIDetail.vue
View file @
cc024d94
...
@@ -71,11 +71,6 @@
...
@@ -71,11 +71,6 @@
</div>
</div>
<detail-footer
:company-info=
"companyInfo"
/>
<detail-footer
:company-info=
"companyInfo"
/>
<copyright
/>
<copyright
/>
<good-action
:content=
"goodActionInfo"
:class=
"
{ 'cal-fee': currentPupopIndex === 6 }"
v-show="goodActionShow"
/>
<good-action
:content=
"goodActionInfo"
:class=
"
{ 'cal-fee': currentPupopIndex === 6 }" />
<good-action
:content=
"goodActionInfo"
:class=
"
{ 'cal-fee': currentPupopIndex === 6 }" />
<popup-with-iframe
<popup-with-iframe
v-model=
"popupShow"
v-model=
"popupShow"
...
...
src/views/Goods/Detail/modules/CalInsuredFee.vue
View file @
cc024d94
...
@@ -8,7 +8,13 @@
...
@@ -8,7 +8,13 @@
:rules=
"[
{ required: true, message: 'required' }]"
:rules=
"[
{ required: true, message: 'required' }]"
>
>
<template
#input
>
<template
#input
>
<popup-date-picker
v-model=
"formData.birth"
placeholder=
"请选择被保人出生日期"
/>
<popup-date-picker
:before=
"60"
:later=
"0"
v-model=
"formData.birth"
class=
"cal-fee-date"
placeholder=
"请选择被保人出生日期"
/>
</
template
>
</
template
>
</cr-field>
</cr-field>
<cr-field
<cr-field
...
...
src/views/Policy/Add/index.vue
View file @
cc024d94
...
@@ -551,6 +551,7 @@ export default {
...
@@ -551,6 +551,7 @@ export default {
const
{
socialSecurity
,
longTerm
,
relation
}
=
this
.
subFromData
.
insuredUserInfo
;
const
{
socialSecurity
,
longTerm
,
relation
}
=
this
.
subFromData
.
insuredUserInfo
;
this
.
subFromData
.
insuredUserInfo
.
socialSecurity
=
socialSecurity
===
"
1
"
?
true
:
false
;
this
.
subFromData
.
insuredUserInfo
.
socialSecurity
=
socialSecurity
===
"
1
"
?
true
:
false
;
this
.
subFromData
.
insuredUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
this
.
subFromData
.
insuredUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
this
.
subFromData
.
holderUserInfo
.
longTerm
=
longTerm
===
"
2
"
?
true
:
false
;
if
(
relation
===
"
1
"
)
{
if
(
relation
===
"
1
"
)
{
this
.
subFromData
.
holderUserInfo
=
{
this
.
subFromData
.
holderUserInfo
=
{
...
this
.
subFromData
.
holderUserInfo
,
...
this
.
subFromData
.
holderUserInfo
,
...
...
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