两款短期险调整保单形式

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2024-01-05 17:03:04 +08:00
parent f85d50a1d4
commit a24683ee30
2 changed files with 40 additions and 40 deletions

View File

@@ -381,3 +381,12 @@ export function appntIsAgent(data) {
data
})
}
export function saveOrderType(data) {
return request({
url: getUrl('/sale/order/saveOrderType', 1),
method: 'post',
data
})
}

View File

@@ -148,7 +148,7 @@
import { orderDetail, deleteOrderInfo, mainRiskList, mainRiskListProposal, calculatePremium } from '@/api/ebiz/common/common'
import { formatAllRisk } from '@/assets/js/utils/formatRiskList'
import { getDetail, deleteProposal } from '@/api/ebiz/proposal/proposal.js'
import { saveOrderActiveType,getActivityList, getDoubleRecordProductLst, saveOrUpdateOrderInfo } from '@/api/ebiz/sale/sale.js'
import { saveOrderActiveType,getActivityList, getDoubleRecordProductLst, saveOrderType } from '@/api/ebiz/sale/sale.js'
import utilsAge from '@/assets/js/utils/age'
import IndexBar from '@/components/ebiz/sale/IndexBar'
import riskRules from './risk-rules'
@@ -1006,47 +1006,38 @@
return false
}
else {
// let params = {
// orderType: 'APPNT_ORDER',
// orderDTO: {
// orderInfoDTO: {
// orderNo: this.$route.query.orderNo,
// isElecCont: ''
// },
// appntDTO: this.appntDTO
// }
// }
// if(this.isElecCont == '1') {
// params.orderDTO.orderInfoDTO.isElecCont = '0'
// }
// saveOrUpdateOrderInfo(params).then(res => {
// if(res.result == 0) {
// this.$jump({
// flag: 'h5',
// extra: {
// forbidSwipeBack: '1',
// url: location.origin + '/#' + thismyurl,
// needRefresh: '1'
// },
// routerInfo: {
// path: thismyurl
// }
// })
// } else {
// this.$toast(res.resultMessage)
// }
// })
this.$jump({
flag: 'h5',
extra: {
forbidSwipeBack: '1',
url: location.origin + '/#' + thismyurl,
needRefresh: '1'
},
routerInfo: {
path: thismyurl
let params = {
orderNO: this.$route.query.orderNo,
isElecCont: this.isElecCont
}
saveOrderType(params).then(res => {
if(res.result == 0) {
this.$jump({
flag: 'h5',
extra: {
forbidSwipeBack: '1',
url: location.origin + '/#' + thismyurl,
needRefresh: '1'
},
routerInfo: {
path: thismyurl
}
})
} else {
this.$toast(res.resultMessage)
}
})
// this.$jump({
// flag: 'h5',
// extra: {
// forbidSwipeBack: '1',
// url: location.origin + '/#' + thismyurl,
// needRefresh: '1'
// },
// routerInfo: {
// path: thismyurl
// }
// })
}
} else {
this.$jump({