From 200888482fed37d865d4cb9dbf30833239a8fd08 Mon Sep 17 00:00:00 2001 From: "zeinab.ashrafi" Date: Sun, 27 Apr 2025 10:38:26 +0330 Subject: [PATCH] feat : lightbox --- resources/js/show/config/urls.js | 1 - resources/js/show/router/index.js | 1 - resources/js/show/views/Item/ShowItem.vue | 45 ++++++++++--- .../show/views/TestResult/ShowTestResult.vue | 67 ++++++++++++++----- 4 files changed, 83 insertions(+), 31 deletions(-) diff --git a/resources/js/show/config/urls.js b/resources/js/show/config/urls.js index af9cf290..e3e2b1e9 100644 --- a/resources/js/show/config/urls.js +++ b/resources/js/show/config/urls.js @@ -17,7 +17,6 @@ const urls = { return `/ShowCycle/${id}`; }, Barcode: function(code, type) { - console.log(code, type,'aaa'); return `/BarCode/${code}/${type}`; }, packageBarcode: function(code) { diff --git a/resources/js/show/router/index.js b/resources/js/show/router/index.js index 2688ff76..5a8c3a0b 100644 --- a/resources/js/show/router/index.js +++ b/resources/js/show/router/index.js @@ -30,7 +30,6 @@ function route (options) { } Vue.use(Router) -console.log(paths); // Create a new router const router = new Router({ mode: 'history', diff --git a/resources/js/show/views/Item/ShowItem.vue b/resources/js/show/views/Item/ShowItem.vue index ca4a1519..01281454 100644 --- a/resources/js/show/views/Item/ShowItem.vue +++ b/resources/js/show/views/Item/ShowItem.vue @@ -6,7 +6,7 @@
- +
Item ID : @@ -64,13 +64,12 @@
- +

Image


- @@ -117,23 +116,40 @@
+ diff --git a/resources/js/show/views/TestResult/ShowTestResult.vue b/resources/js/show/views/TestResult/ShowTestResult.vue index ccc5357d..d75eeb85 100644 --- a/resources/js/show/views/TestResult/ShowTestResult.vue +++ b/resources/js/show/views/TestResult/ShowTestResult.vue @@ -114,24 +114,26 @@
- -

Image

- -
-
- - - - + + +

Image

+ +
+ + + + + + +

Barcode And QRCode Image

@@ -140,7 +142,7 @@
-
+
Item ID : {{ data.id }}
@@ -158,13 +160,20 @@
+