From d1ad2052f58179042ccfcf62d0c1a742030baace Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Fri, 24 May 2024 15:33:16 +0800 Subject: [PATCH] uu --- common/enum.js | 2 +- pages/post/query.vue | 26 ++++++++++++++++---------- 2 files changed, 17 insertions(+), 11 deletions(-) diff --git a/common/enum.js b/common/enum.js index a33c129..37fb6ee 100644 --- a/common/enum.js +++ b/common/enum.js @@ -204,7 +204,7 @@ const dealBtnMap = { daoPaiScan: { title: '到派扫描', subTitle: "", icon: getCdnUrl(`home/daohsm.png`), url: 'deliveryDeal/arriveDeliveryScanning' }, woDeErWeiMa: { title: '我的二维码', subTitle: "", icon: getCdnUrl(`mine/zhshu.png`), url: 'user/exclusiveQrcode' }, mianDanDayin: { title: '面单打印', subTitle: "", icon: getCdnUrl(`home/mdbuda.png`), url: 'print/courierNote' }, - kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: '' }, + kuaiJianGenZong: { title: '快件跟踪', subTitle: "", icon: getCdnUrl(`home/kdchxun.png`), url: 'post/query' }, heBaoScan: { title: '合包扫描', subTitle: "", icon: getCdnUrl(`home/hebaosm.png`), url: 'tms/coPackingScanning' }, zhuangGuiScan: { title: '装柜扫描', subTitle: "", icon: getCdnUrl(`home/zhuangchesm.png`), url: 'deliveryDeal/shipping' }, faJianQingDan: { title: '发件清单', subTitle: "", icon: getCdnUrl(`home/fjqingdan.png`), url: 'deliveryDeal/sendList' }, diff --git a/pages/post/query.vue b/pages/post/query.vue index 3450b38..5efdb2a 100644 --- a/pages/post/query.vue +++ b/pages/post/query.vue @@ -23,14 +23,14 @@ 货物图片 - + 查看 - @@ -41,14 +41,14 @@ 签收底单 - + 查看 - @@ -148,14 +148,20 @@ initData() { }, - handleCheckDanJu() { - this.danCheckModal.show = true + handleCheckDanJu(type) { + let url = '' + if(type == 1) { + url = this.modelInfo.huoPreviewUrl = '' + } + if(type == 2) { + url = this.modelInfo.signPreviewUrl = '' + } + this.handlePreviewDiDan(url) + // this.danCheckModal.show = true }, - handlePreviewDiDan() { + handlePreviewDiDan(url = '') { uni.previewImage({ - urls: [ - this.getCdnUrl(`mine/kjcha.png`) - ] + urls: url?.join?.(",") }) }, handleScanValChange: debounce(function(val){