mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-12 11:26:43 +08:00
两款短期险调整保单形式
This commit is contained in:
@@ -381,3 +381,12 @@ export function appntIsAgent(data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function saveOrderType(data) {
|
||||
return request({
|
||||
url: getUrl('/sale/order/saveOrderType', 1),
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user