From 4dab02356f8c7362feddbb92e6402a91d4161f9e Mon Sep 17 00:00:00 2001 From: aike <17730485278@139.com> Date: Mon, 6 Jul 2026 18:11:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=8C=85=E5=90=8E=E7=99=BB=E5=BD=95?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- .env.uat | 2 +- package.json | 5 ++--- src/components/PdfViewer/innerPdf.vue | 2 +- src/permission.js | 21 +++++++-------------- src/store/modules/permission.js | 20 +++++++++++++------- src/views/login.vue | 9 +++++---- 7 files changed, 31 insertions(+), 32 deletions(-) diff --git a/.env.development b/.env.development index ab6b3ef2..2a69173a 100644 --- a/.env.development +++ b/.env.development @@ -11,8 +11,8 @@ VUE_APP_VERSION = '240803' #VUE_APP_BASE_API = '/dev-api' VUE_APP_PDOMAIN = 'tanex56' VUE_APP_DATA_FROM = 'pc' -VUE_APP_BASE_API = 'http://47.96.189.20:58089/api/bizsvr' -VUE_APP_WS_HOST = 'ws://47.96.189.20:58089/api/bizsvr' +VUE_APP_BASE_API = 'http://localhost:11089/api/bizsvr' +VUE_APP_WS_HOST = 'ws://localhost:11089/api/bizsvr' VUE_APP_PRINTER_HOST = '192.168.88.108:17080' diff --git a/.env.uat b/.env.uat index 8932ddda..4a4d02c4 100644 --- a/.env.uat +++ b/.env.uat @@ -10,7 +10,7 @@ VUE_APP_VERSION = '240803' # 管理系统/生产环境 VUE_APP_PDOMAIN = 'tanex56' VUE_APP_DATA_FROM = 'pc' -VUE_APP_BASE_API = 'http://tst-api.emis.tanex56.com/api/bizsvr' +VUE_APP_BASE_API = 'http://localhost:7777/api/bizsvr' VUE_APP_WS_HOST = 'ws://tst-api.emis.tanex56.com/api/bizsvr' VUE_APP_PRINTER_HOST = '127.0.0.1:17080' diff --git a/package.json b/package.json index 0fc590f6..1951e662 100644 --- a/package.json +++ b/package.json @@ -85,7 +85,7 @@ "nprogress": "0.2.0", "pako": "^2.1.0", "pdf-lib": "^1.17.1", - "pdfjs-dist": "^2.5.207", + "pdfjs-dist": "2.5.207", "print-js": "^1.6.0", "qrcode": "^1.5.4", "qrcodejs2": "^0.0.2", @@ -118,8 +118,7 @@ "vuedraggable": "^2.24.3", "vuex": "3.6.0", "watermark-dom": "2.3.0", - "xd-pdf": "1.0.0", - "xd-vue-pdf": "3.0.0", + "worker-loader": "2.0.0", "xlsx": "^0.17.5" }, "devDependencies": { diff --git a/src/components/PdfViewer/innerPdf.vue b/src/components/PdfViewer/innerPdf.vue index 49172f1f..d2c22f20 100644 --- a/src/components/PdfViewer/innerPdf.vue +++ b/src/components/PdfViewer/innerPdf.vue @@ -9,7 +9,7 @@