From 1597d420005474ee779a7f3d76c1ac2ee03a4c4b Mon Sep 17 00:00:00 2001 From: wuxw <928255095@qq.com> Date: Tue, 2 Sep 2025 11:31:16 +0800 Subject: [PATCH] =?UTF-8?q?v1.9=20=E8=A7=A3=E5=86=B3=E5=B7=A1=E6=A3=80?= =?UTF-8?q?=E7=82=B9=E4=BA=8C=E7=BB=B4=E7=A0=81=E6=89=93=E5=BC=80bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/inspection/inspectionPointQrCode.vue | 6 +----- src/views/inspection/inspectionPointList.vue | 1 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/components/inspection/inspectionPointQrCode.vue b/src/components/inspection/inspectionPointQrCode.vue index 04492a4b8..224ff1eb0 100644 --- a/src/components/inspection/inspectionPointQrCode.vue +++ b/src/components/inspection/inspectionPointQrCode.vue @@ -36,7 +36,7 @@ export default { open(inspectionPoint) { this.dialogVisible = true this.inspectionPointQrCodeInfo = { - url: this.generateQrUrl(inspectionPoint), + url: inspectionPoint.url, inspectionName: inspectionPoint.inspectionName } @@ -45,10 +45,6 @@ export default { }) }, - generateQrUrl(inspectionPoint) { - // 这里根据实际业务生成二维码URL - return `${window.location.origin}/inspection/task?inspectionId=${inspectionPoint.inspectionId}&communityId=${this.communityId}` - }, generateQrCode() { // 清除现有的二维码 diff --git a/src/views/inspection/inspectionPointList.vue b/src/views/inspection/inspectionPointList.vue index c65be0a2e..f6d654340 100644 --- a/src/views/inspection/inspectionPointList.vue +++ b/src/views/inspection/inspectionPointList.vue @@ -236,6 +236,7 @@ export default { this.$refs.deleteInspectionPoint.open(point) }, _pointQrCode(point) { + console.log(point) this.$refs.inspectionPointQrCode.open(point) } }