|
|
@@ -1086,6 +1086,18 @@
|
|
|
<img :src="scope.row.logo"/>
|
|
|
<span>{{ scope.row.name }}</span>
|
|
|
</div>
|
|
|
+ <div class="company" style="margin-top: 10px;" v-if="scope.row.underwritingMsg">
|
|
|
+ <span style="display: flex; align-items: center; color: #FF4545;"><el-icon style=" font-size: 14px"><Warning /></el-icon>核保失败</span>
|
|
|
+ <el-popover
|
|
|
+ title="提示"
|
|
|
+ :content="scope.row.underwritingMsg"
|
|
|
+ placement="bottom-end"
|
|
|
+ >
|
|
|
+ <template #reference>
|
|
|
+ <el-button link type="primary">查看详情</el-button>
|
|
|
+ </template>
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="报价协议" prop="" align="center" width="260">
|
|
|
@@ -1149,7 +1161,7 @@
|
|
|
</div>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="费用因子" align="center">
|
|
|
+ <el-table-column label="费用因子" align="center">
|
|
|
<template #default="scope">
|
|
|
<div style="width: 100%;" v-if="scope.row.quoteResult?.scoreVo?.scoreJson">
|
|
|
<template v-for="(item, index) in scope.row.quoteResult?.scoreVo?.scoreJson" :key="index">
|
|
|
@@ -1164,9 +1176,9 @@
|
|
|
</div>
|
|
|
<div class="costFactor" v-if="scope.row.quoteResult?.scoreVo">
|
|
|
<el-popover
|
|
|
- :width="200"
|
|
|
- placement="bottom"
|
|
|
- trigger="hover"
|
|
|
+ :width="200"
|
|
|
+ placement="bottom"
|
|
|
+ trigger="hover"
|
|
|
>
|
|
|
<template #reference>
|
|
|
<span style="display: flex; align-items: center">更多信息:<el-icon color="#409eff"><InfoFilled /></el-icon></span>
|
|
|
@@ -1312,7 +1324,8 @@
|
|
|
</el-form>
|
|
|
<div class="footer">
|
|
|
<span>已选保司:{{ currentRow.length }}家</span>
|
|
|
- <el-button type="primary" :loading="loading" @click="handleSubmit(InsurancePolicyRefs)">确定</el-button>
|
|
|
+ <el-button type="primary" :loading="loading" @click="handleSubmit(InsurancePolicyRefs)">确定</el-button>
|
|
|
+ <el-button type="primary" @click="handleNext">录下一单</el-button>
|
|
|
</div>
|
|
|
<el-dialog
|
|
|
title="选择业务员"
|
|
|
@@ -2736,9 +2749,11 @@ const handlePopoverConfirm = async () => {
|
|
|
|
|
|
// 提交核保
|
|
|
let underwritingShow = ref(false)
|
|
|
+let underwritingIndex = ref(-1)
|
|
|
const handleUnderwriting = (scope) => {
|
|
|
console.log('要去核保的数据', scope.row)
|
|
|
underwritingShow.value = true
|
|
|
+ underwritingIndex.value = scope.$index
|
|
|
// insurancePolicyForm.value.imageVoList
|
|
|
let data = {
|
|
|
|
|
|
@@ -2769,8 +2784,12 @@ const handleUnderwriting = (scope) => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-const handleUnderwritingClose = () => {
|
|
|
- underwritingShow.value = false
|
|
|
+
|
|
|
+const handleUnderwritingClose = (bool, msg) => {
|
|
|
+ underwritingShow.value = false
|
|
|
+ if(msg) {
|
|
|
+ quoteData.value[underwritingIndex.value].underwritingMsg = msg
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 证件识别
|
|
|
@@ -3247,6 +3266,13 @@ const handleSubmit = async (InsurancePolicyRefs: FormInstance | undefined, scope
|
|
|
})
|
|
|
}
|
|
|
|
|
|
+const handleNext = () => {
|
|
|
+ const urlLink = router.resolve({
|
|
|
+ path: '/insurancePolicy/index',
|
|
|
+ })
|
|
|
+ window.open(urlLink.href, '_blank')
|
|
|
+}
|
|
|
+
|
|
|
const handleOpen = (scope) => {
|
|
|
ElNotification({
|
|
|
title: '费用匹配错误信息',
|