祁鹏飞 1 месяц назад
Родитель
Сommit
f6f3d7d180

+ 2 - 2
src/views/insurancePolicy/index.vue

@@ -2971,7 +2971,7 @@ let ordersNo = ref('')
 let shareImageUrl = ref('')
 const handleShare = async (scope: any) => {
   ordersNo.value = scope;
-  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/text_h5/#/pages/quote/quoteRecordDetail?ordersNo=${scope}&from=share`, {
+  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/test_h5/#/pages/quote/quoteRecordDetail?ordersNo=${scope}&from=share`, {
     width: 150,
     margin: 2
   });
@@ -3020,7 +3020,7 @@ const handleCancelPayment = (scope: any) => {
 const handleCopyLink = async () => {
   shareShow.value = false
   try {
-    await navigator.clipboard.writeText(`https://tennat.baoxianzhanggui.com/text_h5/#/pages/quote/quoteRecordDetail?ordersNo=${ordersNo.value}&from=share`);
+    await navigator.clipboard.writeText(`https://tennat.baoxianzhanggui.com/test_h5/#/pages/quote/quoteRecordDetail?ordersNo=${ordersNo.value}&from=share`);
     ElMessage({
       message: '复制成功!',
       type: 'success'

+ 1 - 1
src/views/insurancePolicy/modules/quotation.vue

@@ -151,7 +151,7 @@ const dialogFormVisible = ref(false)
 const shareImageUrl = ref('')
 const show = async (obj) => {
   dialogFormVisible.value = true
-  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/text_h5/#/pages/quote/quoteRecordDetail?ordersNo=${obj.quoteResult?.ordersNo}&from=share`, {
+  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/test_h5/#/pages/quote/quoteRecordDetail?ordersNo=${obj.quoteResult?.ordersNo}&from=share`, {
     width: 160,
     margin: 2
   });

+ 1 - 1
src/views/insurancePolicy/order.vue

@@ -777,7 +777,7 @@ const handleQuotationView = async (row: any) => {
     JQEndDate: ciRiskInfoVo?.endDate,
   }
   insurancePolicyForm.value.vehicleUseName = optionObj.value.vehicle_use_code.find(a => a.value === insurancePolicyForm.value.vehicleUseCode)?.label
-  quotationRef.value.show(data)
+  quotationRef.value.show(quotationObj.value)
 }
 
 const getStateText = (d: any, v: any) => {