mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-15 15:16:45 +08:00
GFRS-2641【前端】修改卡单bug;新增当卡单模块选择职业时,要传递新的参数--提交人:张齐
This commit is contained in:
@@ -3598,5 +3598,12 @@ export default {
|
|||||||
code: 'legalHolidays',
|
code: 'legalHolidays',
|
||||||
label: '元'
|
label: '元'
|
||||||
}
|
}
|
||||||
|
],
|
||||||
|
// 卡单与短期险重新投保选择职业类别时,两个模块职业类型数据的排序不同,创建这个数据字典,用于在选择职业类别时,作为一个参数传入组件,
|
||||||
|
// 区分当前是卡单中的选择职业,还是短期险重新投保中的选择职业,根据这个值向接口中传入不同参数,查询不同数据
|
||||||
|
queryOccupationalByType: [
|
||||||
|
{ id: '1', text: '卡单' },
|
||||||
|
{ id: '2', text: '重新投保' }
|
||||||
]
|
]
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,6 +66,12 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
// 卡单与短期险重新投保选择职业类别时,两个模块中职业类型数据的排序不同,利用这个字段,在下方进行判断区分
|
||||||
|
// 1 -- 卡单,2-- 短期险重新投保
|
||||||
|
type: {
|
||||||
|
type: String,
|
||||||
|
default: ''
|
||||||
|
},
|
||||||
life: {
|
life: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
@@ -130,7 +136,7 @@ export default {
|
|||||||
this.third = {}
|
this.third = {}
|
||||||
|
|
||||||
getBankList({
|
getBankList({
|
||||||
operateType: 'hot_occupation'
|
operateType: this.type == '1' ? 'hot_occupation_card' : 'hot_occupation'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.commonList = res.content
|
this.commonList = res.content
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user