From 0af8cc0d144c3717dd448026181a13ad63e8e138 Mon Sep 17 00:00:00 2001 From: lijingjia Date: Mon, 21 Oct 2024 17:15:10 +0800 Subject: [PATCH] =?UTF-8?q?10.21=E7=A6=85=E8=BE=BE=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- .env.production | 4 +- build/vite/plugin/index.ts | 5 + package.json | 1 + src/components/ApproveBtns/index.vue | 8 +- src/components/CostEntry/actionBar.vue | 4 +- src/components/CostEntry/feeTable.vue | 5 +- src/components/File/list.vue | 2 +- src/components/Print/EmailModal/index.vue | 2 +- src/components/Print/index.vue | 8 +- .../fee/template/components/feeField.vue | 6 +- .../invoiceApply/detail/feeTable.vue | 4 +- .../operation/invoiceIssue/detail/index.vue | 4 +- .../operation/seaexport/detail/index.vue | 65 +++- .../detail/modules/operationArea.vue | 4 +- .../seaexport/detail/modules/rightContent.vue | 31 +- .../system/CodeDataRuleTemplate/feeField.vue | 6 +- .../system/print/components/temModal.vue | 2 +- yarn.lock | 316 ++++++++++++++---- 19 files changed, 371 insertions(+), 108 deletions(-) diff --git a/.env.development b/.env.development index 2144047a..e1832c1e 100644 --- a/.env.development +++ b/.env.development @@ -13,7 +13,7 @@ VITE_PUBLIC_PATH = / # Cross-domain proxy, you can configure multiple # Please note that no line breaks # VITE_PROXY = [["/basic-api","http://localhost:3000"],["/upload","http://localhost:3300/upload"]] -VITE_PROXY=[["/api","http://60.209.125.238:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 +VITE_PROXY=[["/api","http://118.190.144.189:3008"],["/stage-api","https://www.666cxf.com/stage-api"]] # 开发 测试环境 # Delete console VITE_DROP_CONSOLE = false diff --git a/.env.production b/.env.production index b7ba2992..299179b7 100644 --- a/.env.production +++ b/.env.production @@ -16,13 +16,13 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false # Basic interface address SPA -VITE_GLOB_API_URL=http://60.209.125.238:3008 +VITE_GLOB_API_URL=http://118.190.144.189:3008 # File upload address, optional VITE_GLOB_UPLOAD_URL=http://47.104.255.182:8091/api/VW_INFO_FILES/CommonUpload # 预览地址 -VITE_GLOB_VIEW_URL=http://60.209.125.238:3013 +VITE_GLOB_VIEW_URL=http://118.190.144.189:3013 # Interface prefix VITE_GLOB_API_URL_PREFIX= diff --git a/build/vite/plugin/index.ts b/build/vite/plugin/index.ts index c9023662..2886a16f 100644 --- a/build/vite/plugin/index.ts +++ b/build/vite/plugin/index.ts @@ -1,3 +1,8 @@ +/* + * @Desc: + * @Author: lijj + * @Date: 2024-10-21 11:29:56 + */ import { PluginOption } from 'vite' import vue from '@vitejs/plugin-vue' import vueJsx from '@vitejs/plugin-vue-jsx' diff --git a/package.json b/package.json index 9eb6eb03..5dd3098e 100644 --- a/package.json +++ b/package.json @@ -146,6 +146,7 @@ "ts-node": "^10.7.0", "typescript": "^5.2.2", "unocss": "^0.55.7", + "unplugin-auto-import": "^0.18.3", "unplugin-vue-components": "^0.25.2", "vite": "^2.9.5", "vite-plugin-compression": "^0.5.1", diff --git a/src/components/ApproveBtns/index.vue b/src/components/ApproveBtns/index.vue index 4d898c26..bbf26bfc 100644 --- a/src/components/ApproveBtns/index.vue +++ b/src/components/ApproveBtns/index.vue @@ -42,7 +42,7 @@