Forráskód Böngészése

报价单二维码修改

祁鹏飞 1 hónapja
szülő
commit
1a62a6cff6

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

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

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

@@ -208,7 +208,7 @@ const show = async (orderNo) => {
   }
   insurancePolicyForm.value.vehicleUseName = optionObj.value.vehicle_use_code.find(a => a.value === insurancePolicyForm.value.vehicleUseCode)?.label
 
-  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/test_h5/#/pages/quote/quoteRecordDetail?ordersNo=${orderNo}&from=share`, {
+  shareImageUrl.value = await QRCode.toDataURL(`https://tennat.baoxianzhanggui.com/test_h5/#/pages/quote/quotation?ordersNo=${orderNo}`, {
     width: 160,
     margin: 2
   });