|
|
@@ -9,13 +9,17 @@
|
|
|
'1' ? '待核保' : detailData?.order?.orderStatus === '2' ? '核保中' : detailData?.order?.orderStatus ===
|
|
|
'3' ? '人工处理' : detailData?.order?.orderStatus === '4' ? '待缴费' : detailData?.order?.orderStatus ===
|
|
|
'5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '报价失败' : detailData?.order?.orderStatus ===
|
|
|
- '7' ? '核保失败' :detailData?.order?.orderStatus === '8'?'订单关闭':'--' }}</span>
|
|
|
+ '7' ? '核保失败' : detailData?.order?.orderStatus === '8' ? '订单关闭' : '--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="12" class="orderTips">
|
|
|
- <span class="tips">{{ detailData?.order?.orderStatus === '0' ? '订单报价中,请耐心等待' : detailData?.order?.orderStatus ===
|
|
|
- '1' ? '订单已完成报价,请立即核保!' : detailData?.order?.orderStatus === '2' ? '订单核保中,请耐心等待' : detailData?.order?.orderStatus ===
|
|
|
- '3' ? '订单人工处理中,请耐心等待' : detailData?.order?.orderStatus === '4' ? '订单核保已通过,请尽快支付!' : detailData?.order?.orderStatus
|
|
|
- === '5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '计算保费失败,请按要求修改订单' : detailData?.order?.orderStatus ===
|
|
|
+ <span class="tips">{{ detailData?.order?.orderStatus === '0' ? '订单报价中,请耐心等待' : detailData?.order?.orderStatus
|
|
|
+ ===
|
|
|
+ '1' ? '订单已完成报价,请立即核保!' : detailData?.order?.orderStatus === '2' ? '订单核保中,请耐心等待' :
|
|
|
+ detailData?.order?.orderStatus ===
|
|
|
+ '3' ? '订单人工处理中,请耐心等待' : detailData?.order?.orderStatus === '4' ? '订单核保已通过,请尽快支付!' :
|
|
|
+ detailData?.order?.orderStatus
|
|
|
+ === '5' ? '已承保' : detailData?.order?.orderStatus === '6' ? '计算保费失败,请按要求修改订单' :
|
|
|
+ detailData?.order?.orderStatus ===
|
|
|
'7' ? '核保不通过,请按意见修改订单' : detailData?.order?.orderStatus === '8'?'订单已关闭,有投保需求请重新报价':'--' }}</span>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
@@ -28,9 +32,11 @@
|
|
|
</el-icon>
|
|
|
<div class="infoBox">
|
|
|
<!-- 批单状态 = 待审核 -->
|
|
|
- <div class="name" v-if="detailData?.insOrderAdjustVo.status === 1">{{ `订单申请${detailData?.insOrderAdjustVo.type === 0 ? '整单退保' : '险种批改' },等待审核处理` }}</div>
|
|
|
+ <div class="name" v-if="detailData?.insOrderAdjustVo.status === 1">{{
|
|
|
+ `订单申请${detailData?.insOrderAdjustVo.type === 0 ? '整单退保' : '险种批改' },等待审核处理` }}</div>
|
|
|
<!-- 批单状态 = 退回修改 -->
|
|
|
- <div class="name" v-if="detailData?.insOrderAdjustVo.status === 3">{{ `订单申请${detailData?.insOrderAdjustVo.type === 0 ? '整单退保' : '险种批改' }被退回,等修改后重新提交审核` }}</div>
|
|
|
+ <div class="name" v-if="detailData?.insOrderAdjustVo.status === 3">{{
|
|
|
+ `订单申请${detailData?.insOrderAdjustVo.type === 0 ? '整单退保' : '险种批改' }被退回,等修改后重新提交审核` }}</div>
|
|
|
<div class="desc" style="color: var(--el-text-color-regular)">
|
|
|
{{ `申请批改${handleCompute(detailData?.insOrderAdjustVo.afterPremium, detailData?.insOrderAdjustVo.premium)
|
|
|
> 0 ? '补缴保费金额' : '退款金额'}:¥${Math.abs(handleCompute(detailData?.insOrderAdjustVo.afterPremium,
|
|
|
@@ -59,8 +65,10 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<span class="label">业务员类型</span>
|
|
|
- <span class="words">{{ detailData?.salesmanInfo?.typeAttr == '5' ? '团队' : detailData?.salesmanInfo?.typeAttr ==
|
|
|
- '6' ? '个代' : detailData?.salesmanInfo?.typeAttr == '7' ? '渠道' : detailData?.salesmanInfo?.typeAttr == '8' ?'电销组':'--'
|
|
|
+ <span class="words">{{ detailData?.salesmanInfo?.typeAttr == '5' ? '团队' : detailData?.salesmanInfo?.typeAttr
|
|
|
+ ==
|
|
|
+ '6' ? '个代' : detailData?.salesmanInfo?.typeAttr == '7' ? '渠道' : detailData?.salesmanInfo?.typeAttr == '8'
|
|
|
+ ?'电销组':'--'
|
|
|
}}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
@@ -71,13 +79,14 @@
|
|
|
<span class="label">出单协议</span>
|
|
|
<span class="words" style="color: #00a0f4" @click="toAgreementDetail">{{ detailData?.order?.agreementName ||
|
|
|
'--'
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<span class="label">协议类型</span>
|
|
|
- <span class="words">{{ detailData?.order?.agreementType === '1' ? '平台协议-平台结算' : detailData?.order?.agreementType
|
|
|
- ===
|
|
|
- '2' ? '私有协议-自行结算' : detailData?.order?.agreementType === '3'?'网销协议-自行结算':'--' }}</span>
|
|
|
+ <span class="words">{{ detailData?.order?.agreementType === '1' ? '平台协议-平台结算' :
|
|
|
+ detailData?.order?.agreementType
|
|
|
+ ===
|
|
|
+ '2' ? '私有协议-自行结算' : detailData?.order?.agreementType === '3' ?'网销协议-自行结算':'--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<span class="label">录单人</span>
|
|
|
@@ -129,7 +138,7 @@
|
|
|
<span class="label">协议类型</span>
|
|
|
<span class="value">
|
|
|
<span>{{ detailData?.order?.agreementType === '1' ? '平台协议-平台结算' : detailData?.order?.agreementType ===
|
|
|
- '2' ? '私有协议-自行结算' : detailData?.order?.agreementType === '3' ?'网销协议-自行结算':'--' }}</span>
|
|
|
+ '2' ? '私有协议-自行结算' : detailData?.order?.agreementType === '3' ? '网销协议-自行结算' : '--' }}</span>
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="TBMsgItem">
|
|
|
@@ -149,7 +158,7 @@
|
|
|
<span class="value">
|
|
|
<span>{{ detailData?.ciRiskInfoVo?.startDate ||
|
|
|
detailData?.ciRiskInfoVo?.endDate ? `${detailData?.ciRiskInfoVo?.startDate} -
|
|
|
- ${detailData?.ciRiskInfoVo?.endDate}`:'--'}}</span>
|
|
|
+ ${detailData?.ciRiskInfoVo?.endDate}` : '--' }}</span>
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="TBMsgItem">
|
|
|
@@ -169,7 +178,7 @@
|
|
|
<span class="value">
|
|
|
<span>{{ detailData?.biRiskInfoVo?.startDate ||
|
|
|
detailData?.biRiskInfoVo?.endDate ? `${detailData?.biRiskInfoVo?.startDate} -
|
|
|
- ${detailData?.biRiskInfoVo?.endDate}`:'--'}}</span>
|
|
|
+ ${detailData?.biRiskInfoVo?.endDate}` : '--' }}</span>
|
|
|
</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="TBMsgItem">
|
|
|
@@ -196,7 +205,7 @@
|
|
|
<div class="taxList">
|
|
|
<span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in taxList" :key="index">{{
|
|
|
item.name
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-row :gutter="20">
|
|
|
@@ -326,9 +335,10 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">类型</span>
|
|
|
- <span class="value">{{ detailData?.carInfoVo?.isRegistered == '0' ? '已上牌' : detailData?.carInfoVo?.isRegistered
|
|
|
- ==
|
|
|
- '1'?'未上牌':'--' }}</span>
|
|
|
+ <span class="value">{{ detailData?.carInfoVo?.isRegistered == '0' ? '已上牌' :
|
|
|
+ detailData?.carInfoVo?.isRegistered
|
|
|
+ ==
|
|
|
+ '1' ?'未上牌':'--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车牌</span>
|
|
|
@@ -350,12 +360,12 @@
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">使用性质</span>
|
|
|
<span class="value">{{ dictChange(optionObj['car_nature_code'], detailData?.carInfoVo?.carNatureCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆用途</span>
|
|
|
<span class="value">{{ dictChange(optionObj['vehicle_use_code'], detailData?.carInfoVo?.vehicleUseCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆种类</span>
|
|
|
@@ -364,12 +374,12 @@
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">车辆类型</span>
|
|
|
<span class="value">{{ dictChange(optionObj['car_type_code'], detailData?.carInfoVo?.carTypeCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">能源种类</span>
|
|
|
<span class="value">{{ dictChange(optionObj['energy_type_code'], detailData?.carInfoVo?.energyTypeCode)
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="carMsgItem">
|
|
|
<span class="label">注册日期</span>
|
|
|
@@ -426,7 +436,7 @@
|
|
|
<span class="label">证件类型</span>
|
|
|
<span class="value">{{ detailData?.ownersInfo?.identifyType ===
|
|
|
'01' ? '身份证' : detailData?.ownersInfo?.identifyType
|
|
|
- === '02'?'营业执照': '--' }}</span>
|
|
|
+ === '02' ? '营业执照' : '--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="personMsgItem" v-if="detailData?.ownersInfo?.identifyType === '01'">
|
|
|
<span class="label">证件号码</span>
|
|
|
@@ -475,7 +485,7 @@
|
|
|
<div class="taxList">
|
|
|
<span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in tbList" :key="index">{{
|
|
|
item.name
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-row :gutter="20" v-if="!tbList[0].bool">
|
|
|
@@ -490,7 +500,7 @@
|
|
|
<el-col :span="6" class="personMsgItem">
|
|
|
<span class="label">证件类型</span>
|
|
|
<span class="value">{{ detailData?.policyHolderInfo?.identifyType ===
|
|
|
- '01' ? '身份证' : detailData?.policyHolderInfo?.identifyType === '02' ?'营业执照': '--' }}</span>
|
|
|
+ '01' ? '身份证' : detailData?.policyHolderInfo?.identifyType === '02' ? '营业执照' : '--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="personMsgItem" v-if="detailData?.policyHolderInfo?.identifyType === '01'">
|
|
|
<span class="label">证件号码</span>
|
|
|
@@ -539,7 +549,7 @@
|
|
|
<div class="taxList">
|
|
|
<span class="taxItem" :class="{ 'active': item.bool }" v-for="(item, index) in bbList" :key="index">{{
|
|
|
item.name
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-row :gutter="20" v-if="!bbList[0].bool && !bbList[1].bool">
|
|
|
@@ -554,7 +564,7 @@
|
|
|
<el-col :span="6" class="personMsgItem">
|
|
|
<span class="label">证件类型</span>
|
|
|
<span class="value">{{ detailData?.insuredPersonInfo?.identifyType ===
|
|
|
- '01' ? '身份证' : detailData?.insuredPersonInfo?.identifyType === '02' ?'营业执照': '--' }}</span>
|
|
|
+ '01' ? '身份证' : detailData?.insuredPersonInfo?.identifyType === '02' ? '营业执照' : '--' }}</span>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="personMsgItem" v-if="detailData?.insuredPersonInfo?.identifyType === '01'">
|
|
|
<span class="label">证件号码</span>
|
|
|
@@ -1447,11 +1457,23 @@ const handleImageSave = () => {
|
|
|
const handleImageUpload = () => {
|
|
|
let list = images.value.filter(a => a.checked)
|
|
|
if (list.length > 0) {
|
|
|
+ let arr = images.value.map(a => {
|
|
|
+ return {
|
|
|
+ imageCode: a.imageType,
|
|
|
+ imageBase64List: [
|
|
|
+ {
|
|
|
+ imageId: a.imageId
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+ })
|
|
|
api.insurancePolicyApi.imagesUpload({
|
|
|
order: {
|
|
|
ordersNo: detailData.value?.order?.ordersNo,
|
|
|
quoteNo: quoteNo.value
|
|
|
- }
|
|
|
+ },
|
|
|
+ imageVoList: arr,
|
|
|
+ list: images.value
|
|
|
}).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
ElMessage({
|
|
|
@@ -1765,11 +1787,11 @@ const initDetail = () => {
|
|
|
})
|
|
|
}
|
|
|
// 影像查询
|
|
|
-const imageEcho = (item: any)=>{
|
|
|
+const imageEcho = (item: any) => {
|
|
|
api.insurancePolicyApi.getImage(item).then((res: any) => {
|
|
|
if (res.code == 200) {
|
|
|
console.log(res)
|
|
|
- images.value=res.data.images.map((val:any)=>{
|
|
|
+ images.value = res.data.images.map((val: any) => {
|
|
|
return {
|
|
|
...val,
|
|
|
checked: false
|