mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 21:36:43 +08:00
'保费试算'
This commit is contained in:
@@ -156,22 +156,50 @@ export default {
|
|||||||
this.riskDTOLst = this.insuredDTOs.riskDTOLst
|
this.riskDTOLst = this.insuredDTOs.riskDTOLst
|
||||||
let trialInfos = []
|
let trialInfos = []
|
||||||
this.riskDTOLst.forEach((element, index) => {
|
this.riskDTOLst.forEach((element, index) => {
|
||||||
trialInfos.push({
|
if (element.isMainRisk == '0') {
|
||||||
birthday: this.insuredDTOs.birthday,
|
trialInfos.push({
|
||||||
insuYear: element.insuYear,
|
birthday: this.insuredDTOs.birthday,
|
||||||
insuYearFlag: element.insuYearFlag,
|
insuYear: element.insuYear,
|
||||||
medical: this.insuredDTOs.medical,
|
insuYearFlag: element.insuYearFlag,
|
||||||
occupationCode: this.insuredDTOs.occupationCode,
|
medical: this.insuredDTOs.medical,
|
||||||
occupationName: this.insuredDTOs.occupationName,
|
occupationCode: this.insuredDTOs.occupationCode,
|
||||||
payEndYear: element.payEndYear,
|
occupationName: this.insuredDTOs.occupationName,
|
||||||
payEndYearFlag: element.payEndYearFlag,
|
payEndYear: element.payEndYear,
|
||||||
payIntv: element.payIntv,
|
payEndYearFlag: element.payEndYearFlag,
|
||||||
platformType: 'app',
|
payIntv: element.payIntv,
|
||||||
prem: element.prem,
|
platformType: 'app',
|
||||||
productCode: element.riskCode,
|
prem: element.prem,
|
||||||
sex: this.insuredDTOs.sex,
|
productCode: element.riskCode,
|
||||||
amt:element.amt,
|
sex: this.insuredDTOs.sex,
|
||||||
})
|
amt: element.amt
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
trialInfos.push({
|
||||||
|
birthday: this.insuredDTOs.birthday,
|
||||||
|
duty:element.dutyLst,
|
||||||
|
isMainRisk:element.isMainRisk,
|
||||||
|
isRemit:element.isRemit,
|
||||||
|
remitType:'',
|
||||||
|
showPrem:element.showPrem,
|
||||||
|
standPrem:element.standPrem,
|
||||||
|
trialType:'',
|
||||||
|
|
||||||
|
insuYear: element.insuYear,
|
||||||
|
insuYearFlag: element.insuYearFlag,
|
||||||
|
medical: this.insuredDTOs.medical,
|
||||||
|
occupationCode: this.insuredDTOs.occupationCode,
|
||||||
|
occupationName: this.insuredDTOs.occupationName,
|
||||||
|
payEndYear: element.payEndYear,
|
||||||
|
payEndYearFlag: element.payEndYearFlag,
|
||||||
|
payIntv: element.payIntv,
|
||||||
|
platformType: 'app',
|
||||||
|
|
||||||
|
prem: element.prem,
|
||||||
|
productCode: element.riskCode,
|
||||||
|
sex: this.insuredDTOs.sex,
|
||||||
|
amt: element.amt
|
||||||
|
})
|
||||||
|
}
|
||||||
})
|
})
|
||||||
insureTrial({ trialInfos }).then((res) => {
|
insureTrial({ trialInfos }).then((res) => {
|
||||||
console.log(res.trialList)
|
console.log(res.trialList)
|
||||||
|
|||||||
@@ -161,17 +161,17 @@ export default {
|
|||||||
// item.reInsuranceFlag = '3';
|
// item.reInsuranceFlag = '3';
|
||||||
// item.reInsuranceState = item4[Math.floor(Math.random()*item4.length)];
|
// item.reInsuranceState = item4[Math.floor(Math.random()*item4.length)];
|
||||||
|
|
||||||
if (this.active === 'uncommit' && item.reInsuranceFlag === '3' && item.reInsuranceState === '0') {
|
// if (this.active === 'uncommit' && item.reInsuranceFlag === '3' && item.reInsuranceState === '0') {
|
||||||
if (item.newOrderStatus === null || item.newOrderStatus === '02' || item.newOrderStatus === '05' || item.newOrderStatus === '06' || item.newOrderStatus === '08' || item.newOrderStatus === '38' || item.newOrderStatus === '39' || item.newOrderStatus === '40' ) {
|
// if (item.newOrderStatus === null || item.newOrderStatus === '02' || item.newOrderStatus === '05' || item.newOrderStatus === '06' || item.newOrderStatus === '08' || item.newOrderStatus === '38' || item.newOrderStatus === '39' || item.newOrderStatus === '40' ) {
|
||||||
NewItems.push(item)
|
// NewItems.push(item)
|
||||||
}
|
// }
|
||||||
} else if(this.active === 'commit' && item.reInsuranceFlag === '3' && (item.reInsuranceState === '1' || item.reInsuranceState === '2' || item.reInsuranceState === '3')){
|
// } else if(this.active === 'commit' && item.reInsuranceFlag === '3' && (item.reInsuranceState === '1' || item.reInsuranceState === '2' || item.reInsuranceState === '3')){
|
||||||
if (item.newOrderStatus === '07' || item.newOrderStatus === '19' || item.newOrderStatus === '55') {
|
// if (item.newOrderStatus === '07' || item.newOrderStatus === '19' || item.newOrderStatus === '55') {
|
||||||
NewItems.push(item)
|
// NewItems.push(item)
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
// NewItems.push(item)
|
NewItems.push(item)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log(NewItems, '======================NewItems===================')
|
console.log(NewItems, '======================NewItems===================')
|
||||||
|
|||||||
Reference in New Issue
Block a user