From 7151501f76a99fe0b1086697db2dcef417295e3c Mon Sep 17 00:00:00 2001 From: kevin Date: Wed, 29 Jul 2026 18:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EAE=E4=BB=A3=E7=90=86=E6=8C=89?= =?UTF-8?q?=E9=92=AE=EF=BC=8C=E6=94=AF=E6=8C=81=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=EF=BC=8C=E7=82=B9=E5=87=BB=E6=96=B0=E7=AA=97=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E5=BC=80=E5=86=85=E7=BD=91=E5=9C=B0=E5=9D=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/ops_vue_js/package-lock.json | 34 +++-------- .../ops_vue_js/src/components/AppHeader.vue | 57 +++++++++++++------ frontend/ops_vue_js/src/i18n/en.json | 3 +- frontend/ops_vue_js/src/i18n/zh-CN.json | 3 +- frontend/ops_vue_js/vite.config.js | 2 +- 5 files changed, 52 insertions(+), 47 deletions(-) diff --git a/frontend/ops_vue_js/package-lock.json b/frontend/ops_vue_js/package-lock.json index 38f3532..49c21da 100644 --- a/frontend/ops_vue_js/package-lock.json +++ b/frontend/ops_vue_js/package-lock.json @@ -1281,9 +1281,6 @@ "arm64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1301,9 +1298,6 @@ "arm64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -1321,9 +1315,6 @@ "ppc64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1341,9 +1332,6 @@ "s390x" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1361,9 +1349,6 @@ "x64" ], "dev": true, - "libc": [ - "glibc" - ], "license": "MIT", "optional": true, "os": [ @@ -1381,9 +1366,6 @@ "x64" ], "dev": true, - "libc": [ - "musl" - ], "license": "MIT", "optional": true, "os": [ @@ -2557,16 +2539,16 @@ } }, "node_modules/form-data": { - "version": "4.0.5", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.5.tgz", - "integrity": "sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==", + "version": "4.0.6", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.6.tgz", + "integrity": "sha512-vKatAh4SlVfgbv+YtmhiRjhEMJsYpsG1Y2rMQtR+SVSbytsSD1YGzDIcrAJmdFec88u/+VoGmxnl+80gL1tRCQ==", "license": "MIT", "dependencies": { "asynckit": "^0.4.0", "combined-stream": "^1.0.8", "es-set-tostringtag": "^2.1.0", - "hasown": "^2.0.2", - "mime-types": "^2.1.12" + "hasown": "^2.0.4", + "mime-types": "^2.1.35" }, "engines": { "node": ">= 6" @@ -2715,9 +2697,9 @@ } }, "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "license": "MIT", "dependencies": { "function-bind": "^1.1.2" diff --git a/frontend/ops_vue_js/src/components/AppHeader.vue b/frontend/ops_vue_js/src/components/AppHeader.vue index c634eb1..be09070 100644 --- a/frontend/ops_vue_js/src/components/AppHeader.vue +++ b/frontend/ops_vue_js/src/components/AppHeader.vue @@ -59,7 +59,7 @@ const navItems = computed(() => [ { label: t("appname.purchase"), to: "/purchase" }, { label: t("appname.work_order"), to: "/work_order" }, { label: t("appname.warehouse"), to: "/warehouse" }, - + { label: t("appname.ae_proxy"), href: "http://192.168.3.116:8187/asteamobile/", external: true }, ]); @@ -87,14 +87,24 @@ const navItems = computed(() => [ @@ -284,15 +294,26 @@ const navItems = computed(() => [ class="border-t border-gray-200 bg-white px-4 pb-4 pt-2 dark:border-dk-muted dark:bg-dk-base md:hidden" >
diff --git a/frontend/ops_vue_js/src/i18n/en.json b/frontend/ops_vue_js/src/i18n/en.json index cf80f6f..231119a 100644 --- a/frontend/ops_vue_js/src/i18n/en.json +++ b/frontend/ops_vue_js/src/i18n/en.json @@ -37,7 +37,8 @@ "warehouse_items": "Items Overview", "work_order": "Work Order", "calendar": "Calendar", - "aichat": "AI Assistant" + "aichat": "AI Assistant", + "ae_proxy": "AE Proxy" }, "aichat": { "title": "AI Assistant", diff --git a/frontend/ops_vue_js/src/i18n/zh-CN.json b/frontend/ops_vue_js/src/i18n/zh-CN.json index a0a5ada..d5dfdc4 100644 --- a/frontend/ops_vue_js/src/i18n/zh-CN.json +++ b/frontend/ops_vue_js/src/i18n/zh-CN.json @@ -37,7 +37,8 @@ "warehouse_items": "物品总览", "work_order": "工单", "calendar": "日历", - "aichat": "AI 助手" + "aichat": "AI 助手", + "ae_proxy": "AE代理" }, "aichat": { "title": "AI 助手", diff --git a/frontend/ops_vue_js/vite.config.js b/frontend/ops_vue_js/vite.config.js index 54682dc..e48849b 100644 --- a/frontend/ops_vue_js/vite.config.js +++ b/frontend/ops_vue_js/vite.config.js @@ -42,7 +42,7 @@ export default defineConfig({ server: { proxy: { "/api": { - target: "http://127.0.0.1:8080", + target: "http://192.168.13.105", changeOrigin: true, }, },