diff --git a/src/api/ebiz/insureAgain/insureAgain.js b/src/api/ebiz/insureAgain/insureAgain.js index f84c6cfb2..d1ce47ce4 100644 --- a/src/api/ebiz/insureAgain/insureAgain.js +++ b/src/api/ebiz/insureAgain/insureAgain.js @@ -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 + }) } \ No newline at end of file diff --git a/src/views/ebiz/insureAgain/insureInformation.vue b/src/views/ebiz/insureAgain/insureInformation.vue index 3dd181500..5d042d1b5 100644 --- a/src/views/ebiz/insureAgain/insureInformation.vue +++ b/src/views/ebiz/insureAgain/insureInformation.vue @@ -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({