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
ca47f760
Commit
ca47f760
authored
Aug 18, 2020
by
郭志伟
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/policy_fix' into 'master'
Fix/policy fix See merge request
!46
parents
2ef2c1cf
6f3a39ec
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
74 additions
and
16 deletions
+74
-16
detail.huagui.shouxian.js
src/api/detail.huagui.shouxian.js
+12
-1
PopupPicker.vue
src/components/PopupPicker.vue
+3
-2
dev.config.js
src/config/dev.config.js
+2
-2
AIDetail.vue
src/views/Goods/Detail/AIDetail.vue
+1
-1
CIIDetail.vue
src/views/Goods/Detail/CIIDetail.vue
+1
-1
LIDetail.vue
src/views/Goods/Detail/LIDetail.vue
+1
-1
MIDetail.vue
src/views/Goods/Detail/MIDetail.vue
+1
-1
InsurePersonForm.vue
src/views/Goods/Detail/modules/InsurePersonForm.vue
+6
-1
index.vue
src/views/Policy/Add/index.vue
+47
-6
No files found.
src/api/detail.huagui.shouxian.js
View file @
ca47f760
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Description: 华贵大麦2020定期寿险
* @Description: 华贵大麦2020定期寿险
* @Date: 2020-07-27 15:46:37
* @Date: 2020-07-27 15:46:37
* @LastEditors: gzw
* @LastEditors: gzw
* @LastEditTime: 2020-08-18 2
0:47:53
* @LastEditTime: 2020-08-18 2
2:42:18
*/
*/
import
goodsBg
from
"
@/assets/images/goods/detail/shouxian/bg.png
"
;
import
goodsBg
from
"
@/assets/images/goods/detail/shouxian/bg.png
"
;
...
@@ -56,6 +56,17 @@ export default {
...
@@ -56,6 +56,17 @@ export default {
{
title
:
"
保障期限
"
,
value
:
"
保10年/20年/30年
"
},
{
title
:
"
保障期限
"
,
value
:
"
保10年/20年/30年
"
},
{
title
:
"
"
,
value
:
"
保至60岁/65岁/70岁
"
}
{
title
:
"
"
,
value
:
"
保至60岁/65岁/70岁
"
}
],
],
bankInfo
:
[
{
title
:
"
工商银行
"
,
value
:
"
101
"
},
{
title
:
"
农业银行
"
,
value
:
"
102
"
},
{
title
:
"
中国银行
"
,
value
:
"
103
"
},
{
title
:
"
建设银行
"
,
value
:
"
104
"
},
{
title
:
"
招商银行
"
,
value
:
"
115
"
},
{
title
:
"
贵州银行
"
,
value
:
"
105
"
},
{
title
:
"
兴业银行
"
,
value
:
"
116
"
},
{
title
:
"
民生银行
"
,
value
:
"
112
"
},
{
title
:
"
邮政储蓄
"
,
value
:
"
128
"
}
],
planTipOptions
:
[
"
最高350万
"
,
"
高风险职业可保
"
,
"
免体检
"
],
planTipOptions
:
[
"
最高350万
"
,
"
高风险职业可保
"
,
"
免体检
"
],
noticeCellInfo
:
[
noticeCellInfo
:
[
{
title
:
"
投保年龄
"
,
value
:
`18~60周岁`
},
{
title
:
"
投保年龄
"
,
value
:
`18~60周岁`
},
...
...
src/components/PopupPicker.vue
View file @
ca47f760
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
<cr-picker
<cr-picker
ref=
"picker"
ref=
"picker"
:columns=
"pickerData"
:columns=
"pickerData"
value-key=
"title"
show-toolbar
show-toolbar
@
cancel=
"onCancel"
@
cancel=
"onCancel"
@
confirm=
"onConfirm"
@
confirm=
"onConfirm"
...
@@ -28,8 +29,8 @@ export default {
...
@@ -28,8 +29,8 @@ export default {
mixins
:
[
popupPickerMixin
],
mixins
:
[
popupPickerMixin
],
methods
:
{
methods
:
{
handleResult
(
res
)
{
handleResult
(
res
)
{
this
.
pickerValShow
=
res
[
0
];
this
.
pickerValShow
=
res
[
0
]
.
title
;
this
.
pickerVal
=
res
[
1
]
;
this
.
pickerVal
=
res
[
0
].
value
;
},
},
setDefaultVal
()
{
setDefaultVal
()
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
src/config/dev.config.js
View file @
ca47f760
export
default
{
export
default
{
basicHost
:
"
http://yapi.quantgroups.com/mock/329/
"
,
//
basicHost: "http://yapi.quantgroups.com/mock/329/",
// basicHost: "http://192.168.29.100:8964
",
basicHost
:
"
http://192.168.29.211:8964/
"
,
wxAppId
:
"
wx514de17b23d53a20
"
wxAppId
:
"
wx514de17b23d53a20
"
};
};
src/views/Goods/Detail/AIDetail.vue
View file @
ca47f760
...
@@ -168,7 +168,7 @@ export default {
...
@@ -168,7 +168,7 @@ export default {
if
(
idNo
===
oldNo
)
return
;
if
(
idNo
===
oldNo
)
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
6
00
);
},
12
00
);
}
}
}
}
},
},
...
...
src/views/Goods/Detail/CIIDetail.vue
View file @
ca47f760
...
@@ -178,7 +178,7 @@ export default {
...
@@ -178,7 +178,7 @@ export default {
if
(
idNo
===
oldNo
)
return
;
if
(
idNo
===
oldNo
)
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
6
00
);
},
12
00
);
}
}
}
}
},
},
...
...
src/views/Goods/Detail/LIDetail.vue
View file @
ca47f760
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
if
(
read
!==
oldread
)
return
;
if
(
read
!==
oldread
)
return
;
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
6
00
);
},
12
00
);
}
}
}
}
},
},
...
...
src/views/Goods/Detail/MIDetail.vue
View file @
ca47f760
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
}
}
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
6
00
);
},
12
00
);
}
}
}
}
},
},
...
...
src/views/Goods/Detail/modules/InsurePersonForm.vue
View file @
ca47f760
...
@@ -260,7 +260,12 @@ export default {
...
@@ -260,7 +260,12 @@ export default {
name
,
name
,
idNo
,
idNo
,
userInfoSecId
,
userInfoSecId
,
socialSecurity
socialSecurity
:
socialSecurity
===
""
||
typeof
socialSecurity
===
"
undefined
"
?
""
:
socialSecurity
?
"
1
"
:
"
0
"
}
}
};
};
},
},
...
...
src/views/Policy/Add/index.vue
View file @
ca47f760
...
@@ -303,6 +303,37 @@
...
@@ -303,6 +303,37 @@
<cr-field
:value=
"formData.effectiveDate"
name=
"effectiveDate"
readonly
label=
"生效日期"
/>
<cr-field
:value=
"formData.effectiveDate"
name=
"effectiveDate"
readonly
label=
"生效日期"
/>
<cr-field
value=
"法定"
name=
"beneficiaryUser"
disabled
label=
"受益人"
/>
<cr-field
value=
"法定"
name=
"beneficiaryUser"
disabled
label=
"受益人"
/>
</cr-cell-group>
</cr-cell-group>
<cr-cell-group
title=
"续费银行账户"
>
<cr-field
v-model=
"formData.holderUserInfo.bankCardName"
name=
"insuredUserInfo_bankCardName"
label=
"持卡人"
placeholder=
"请输入持卡人姓名"
:rules=
"[{ required: true, message: '请输入持卡人姓名' }]"
/>
<cr-field
v-model=
"formData.holderUserInfo.bankCardCode"
name=
"insuredUserInfo_bankCardCode"
label=
"开户行"
:rules=
"[{ required: true, message: '请选择开户行' }]"
>
<
template
#input
>
<popup-picker
v-model=
"formData.holderUserInfo.bankCardCode"
:picker-data=
"bankInfo"
placeholder=
"请选择开户行"
/>
</
template
>
</cr-field>
<cr-field
v-model=
"formData.holderUserInfo.bankCardNo"
name=
"insuredUserInfo_bankCardNo"
label=
"银行卡号"
type=
"digit"
placeholder=
"请输入银行卡号"
:rules=
"[{ required: true, message: '请输入银行卡号' }]"
/>
</cr-cell-group>
<good-action
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
/>
<good-action
@
leftClick=
"goInsureState = true"
:content=
"goodActionInfo"
/>
</cr-form>
</cr-form>
<go-insure-dialog
<go-insure-dialog
...
@@ -343,6 +374,7 @@
...
@@ -343,6 +374,7 @@
import
GoodAction
from
"
@/components/GoodAction
"
;
import
GoodAction
from
"
@/components/GoodAction
"
;
import
CrRadioBtn
from
"
@/components/CrRadioBtn
"
;
import
CrRadioBtn
from
"
@/components/CrRadioBtn
"
;
import
PopupAreaPicker
from
"
@/components/PopupAreaPicker
"
;
import
PopupAreaPicker
from
"
@/components/PopupAreaPicker
"
;
import
PopupPicker
from
"
@/components/PopupPicker
"
;
import
PopupDatePicker
from
"
@/components/PopupDatePicker
"
;
import
PopupDatePicker
from
"
@/components/PopupDatePicker
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
PopupWithIframe
from
"
@/components/PopupWithIframe
"
;
import
PopupCascade
from
"
@/components/PopupCascade
"
;
import
PopupCascade
from
"
@/components/PopupCascade
"
;
...
@@ -369,7 +401,8 @@ const {
...
@@ -369,7 +401,8 @@ const {
benefitOptions
,
benefitOptions
,
insuredOptions
,
insuredOptions
,
idCardInvaildOptions
,
idCardInvaildOptions
,
socialSecOptions
socialSecOptions
,
bankInfo
}
=
Detail
;
}
=
Detail
;
export
default
{
export
default
{
name
:
"
AddPolicy
"
,
name
:
"
AddPolicy
"
,
...
@@ -381,6 +414,7 @@ export default {
...
@@ -381,6 +414,7 @@ export default {
PopupAreaPicker
,
PopupAreaPicker
,
PopupDatePicker
,
PopupDatePicker
,
PopupWithIframe
,
PopupWithIframe
,
PopupPicker
,
PopupCascade
,
PopupCascade
,
Stepper
Stepper
},
},
...
@@ -407,7 +441,8 @@ export default {
...
@@ -407,7 +441,8 @@ export default {
productItem
:
{
productItem
:
{
amountInsured
:
"
500000
"
amountInsured
:
"
500000
"
},
},
payPeriod
:
"
1
"
payPeriod
:
"
1
"
,
autoRenewPolicy
:
true
},
},
subFromData
:
{},
subFromData
:
{},
familyList
:
[],
familyList
:
[],
...
@@ -419,6 +454,7 @@ export default {
...
@@ -419,6 +454,7 @@ export default {
paywayOptions
,
paywayOptions
,
benefitOptions
,
benefitOptions
,
insuredAmountOptions
,
insuredAmountOptions
,
bankInfo
,
selfInfoReadonly
:
false
,
selfInfoReadonly
:
false
,
infoReadonly
:
false
infoReadonly
:
false
};
};
...
@@ -454,7 +490,7 @@ export default {
...
@@ -454,7 +490,7 @@ export default {
}
}
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calTimer
=
setTimeout
(()
=>
{
this
.
calFee
();
this
.
calFee
();
},
6
00
);
},
12
00
);
}
}
},
},
showAuthXyqb
:
{
showAuthXyqb
:
{
...
@@ -512,11 +548,16 @@ export default {
...
@@ -512,11 +548,16 @@ export default {
},
},
nextStep
()
{
nextStep
()
{
this
.
subFromData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
this
.
subFromData
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
formData
));
const
{
socialSecurity
,
longTerm
}
=
this
.
subFromData
.
insuredUserInfo
;
const
{
socialSecurity
,
longTerm
,
relation
}
=
this
.
subFromData
.
insuredUserInfo
;
const
{
longTerm
:
holderLongTerm
}
=
this
.
subFromData
.
holderUserInfo
;
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
=
holderLongTerm
===
"
2
"
?
true
:
false
;
if
(
relation
===
"
1
"
)
{
this
.
subFromData
.
holderUserInfo
=
{
...
this
.
subFromData
.
holderUserInfo
,
...
this
.
subFromData
.
insuredUserInfo
};
delete
this
.
subFromData
.
insuredUserInfo
;
}
this
.
generateOrder
();
this
.
generateOrder
();
},
},
relationChange
(
relation
=
this
.
formData
.
insuredUserInfo
.
relation
)
{
relationChange
(
relation
=
this
.
formData
.
insuredUserInfo
.
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