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