|
@@ -205,7 +205,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<template #icon="{ isActive }">
|
|
<template #icon="{ isActive }">
|
|
|
<span class="icon">
|
|
<span class="icon">
|
|
|
- <el-button link type="primary" @click.stop="handleRecognition"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" @click.stop="handleRecognition('clxx')"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
<span class="icon-ele">
|
|
<span class="icon-ele">
|
|
|
{{ isActive ? '收起' : '展开' }}
|
|
{{ isActive ? '收起' : '展开' }}
|
|
|
</span>
|
|
</span>
|
|
@@ -348,7 +348,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<template #icon="{ isActive }">
|
|
<template #icon="{ isActive }">
|
|
|
<span class="icon">
|
|
<span class="icon">
|
|
|
- <el-button link type="primary" @click.stop="handleRecognition"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" @click.stop="handleRecognition('czxx')"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
<span class="icon-ele">
|
|
<span class="icon-ele">
|
|
|
{{ isActive ? '收起' : '展开' }}
|
|
{{ isActive ? '收起' : '展开' }}
|
|
|
</span>
|
|
</span>
|
|
@@ -493,7 +493,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<template #icon="{ isActive }">
|
|
<template #icon="{ isActive }">
|
|
|
<span class="icon">
|
|
<span class="icon">
|
|
|
- <el-button link type="primary" @click.stop="handleRecognition"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" @click.stop="handleRecognition('tbrxx')"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
<span class="icon-ele">
|
|
<span class="icon-ele">
|
|
|
{{ isActive ? '收起' : '展开' }}
|
|
{{ isActive ? '收起' : '展开' }}
|
|
|
</span>
|
|
</span>
|
|
@@ -638,7 +638,7 @@
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<template #icon="{ isActive }">
|
|
<template #icon="{ isActive }">
|
|
|
<span class="icon">
|
|
<span class="icon">
|
|
|
- <el-button link type="primary" @click.stop="handleRecognition"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
|
|
|
|
+ <el-button link type="primary" @click.stop="handleRecognition('bbrxx')"><img src="@/assets/images/insurancePolicy/sao.png" class="myIcon" />证件识别</el-button>
|
|
|
<span class="icon-ele">
|
|
<span class="icon-ele">
|
|
|
{{ isActive ? '收起' : '展开' }}
|
|
{{ isActive ? '收起' : '展开' }}
|
|
|
</span>
|
|
</span>
|
|
@@ -1427,7 +1427,7 @@ import driving from '../../layouts/components/DrivingType/index.vue'
|
|
|
import detail from '../../layouts/components/JYXDetail/index.vue'
|
|
import detail from '../../layouts/components/JYXDetail/index.vue'
|
|
|
import QRCode from 'qrcode'
|
|
import QRCode from 'qrcode'
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
+const RecognitionRefs = ref()
|
|
|
const SalesmanSelectRef = ref()
|
|
const SalesmanSelectRef = ref()
|
|
|
const InsuranceTypeRef = ref()
|
|
const InsuranceTypeRef = ref()
|
|
|
const DrivingTypeRef = ref()
|
|
const DrivingTypeRef = ref()
|
|
@@ -2839,9 +2839,12 @@ const handleImageClose = (data) => {
|
|
|
|
|
|
|
|
// 记录已填好的信息,防止再次进行证件识别
|
|
// 记录已填好的信息,防止再次进行证件识别
|
|
|
let hadWritedData = ref({})
|
|
let hadWritedData = ref({})
|
|
|
-const handleRecognition = () => {
|
|
|
|
|
|
|
+const handleRecognition = (achor) => {
|
|
|
imageShow.value = true
|
|
imageShow.value = true
|
|
|
hadWritedData.value = JSON.parse(JSON.stringify(insurancePolicyForm.value))
|
|
hadWritedData.value = JSON.parse(JSON.stringify(insurancePolicyForm.value))
|
|
|
|
|
+ nextTick(() => {
|
|
|
|
|
+ RecognitionRefs.value.setAnchor(achor)
|
|
|
|
|
+ })
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 提交
|
|
// 提交
|