mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 09:56:43 +08:00
投保方法保存
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/*
|
||||
* @Author: PangXingYue
|
||||
* @Date: 2021-03-04 10:38:24
|
||||
* @LastEditTime: 2021-03-23 11:07:24
|
||||
* @LastEditTime: 2021-03-23 16:35:56
|
||||
* @LastEditors: PangXingYue
|
||||
* @Description:
|
||||
* @FilePath: \ebiz-h5\src\api\ebiz\insureAgain\insureAgain.js
|
||||
@@ -33,4 +33,14 @@ export function saveOrUpdateOrderInfo(data) {
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
// 保费计算
|
||||
export function commitReOrder(data) {
|
||||
return request({
|
||||
url: getUrl('/sale/order/commitReOrder', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
@@ -118,7 +118,7 @@ import ProgressBar from '@/components/ebiz/insureAgain/ProgressBar'
|
||||
import DropdownBox from '@/components/ebiz/insureAgain/DropdownBox'
|
||||
import InfoCell from '@/components/ebiz/insureAgain/InfoCell'
|
||||
// import { saveOrUpdateOrderInfo, getOrderDetail } from '@/api/ebiz/insureAgain/insureAgain'
|
||||
import { getOrderDetail, saveOrUpdateOrderInfo } from '@/api/ebiz/sale/sale'
|
||||
import { getOrderDetail, insureAgain } from '@/api/ebiz/insureAgain/insureAgain'
|
||||
import DataDictionary from '@/assets/js/utils/data-dictionary'
|
||||
import SelectRadio from '@/components/ebiz/SelectRadio'
|
||||
import getAreaName from '@/assets/js/utils/getAreaNameForSale'
|
||||
@@ -569,11 +569,12 @@ export default {
|
||||
},
|
||||
async save() {
|
||||
let params = {
|
||||
orderType: 'APPNT_ORDER',
|
||||
orderType: 'RE_APPNT_ORDER',
|
||||
orderDTO: {
|
||||
orderInfoDTO: {
|
||||
orderNo: localStorage.orderNo,
|
||||
isElecCont: this.isElecCont
|
||||
isElecCont: this.isElecCont,
|
||||
supportBank: '0'
|
||||
},
|
||||
appntDTO: this.userInfo,
|
||||
insuredDTOs: this.insuredPersonInfo,
|
||||
@@ -581,7 +582,7 @@ export default {
|
||||
}
|
||||
}
|
||||
let str = ''
|
||||
let resultData = await saveOrUpdateOrderInfo(params)
|
||||
let resultData = await commitReOrder(params)
|
||||
if (resultData.result == 0) {
|
||||
localStorage.setItem('orderNo', resultData.orderNo)
|
||||
this.$jump({
|
||||
|
||||
Reference in New Issue
Block a user