|
|
@@ -2738,11 +2738,12 @@ let tableData = ref([])
|
|
|
let shareShow = ref(false)
|
|
|
let shareImageUrl = ref('')
|
|
|
const handleShare = async (scope: any) => {
|
|
|
- shareShow.value = true
|
|
|
- shareImageUrl.value = await QRCode.toDataURL(`http://test-tennat.baoxianzhanggui.com/h5/#/pages/quote/paymentCode?ordersNo=${scope.row.quoteResult.ordersNo}`, {
|
|
|
+ shareImageUrl.value = await QRCode.toDataURL(`http://test-tennat.baoxianzhanggui.com/h5/#/pages/quote/paymentCode?ordersNo=${scope}`, {
|
|
|
width: 150,
|
|
|
margin: 2
|
|
|
});
|
|
|
+ console.log(shareImageUrl.value)
|
|
|
+ shareShow.value = true
|
|
|
}
|
|
|
const handleSaveImage = () => {
|
|
|
shareShow.value = false
|
|
|
@@ -2879,13 +2880,14 @@ const handlePopoverConfirm = async () => {
|
|
|
let underwritingShow = ref(false)
|
|
|
let underwritingIndex = ref(-1)
|
|
|
const handleUnderwriting = (scope: any) => {
|
|
|
+
|
|
|
console.log('要去核保的数据', scope.row)
|
|
|
underwritingShow.value = true
|
|
|
underwritingIndex.value = scope.$index
|
|
|
// insurancePolicyForm.value.imageVoList
|
|
|
let data = {
|
|
|
// ordersNo: '1915570359429222400'
|
|
|
- ordersNo: scope.row.orderNo,
|
|
|
+ ordersNo: scope.row.quoteResult.ordersNo,
|
|
|
quoteNo: insurancePolicyForm.value.order.quoteNo,
|
|
|
list: images.value
|
|
|
}
|
|
|
@@ -2923,6 +2925,8 @@ const handleUnderwritingClose = (bool: any, dataObj: any) => {
|
|
|
message: bool.msg,
|
|
|
type: 'success'
|
|
|
})
|
|
|
+ quoteData.value[underwritingIndex.value].underwritingMsg = "";
|
|
|
+
|
|
|
underwritingMsgShow.value = true
|
|
|
}else{
|
|
|
ElMessage({
|