diff --git a/.env.development b/.env.development index 87d96d9..e7e9c12 100644 --- a/.env.development +++ b/.env.development @@ -3,12 +3,12 @@ VITE_API_BASE_URL= # ===== mineru_ai_chat 智能问答(iframe 免登集成) ===== -# 问答服务地址(本地调试指向本机后端;上线改为 http://192.168.16.49:8081) -VITE_AI_CHAT_BASE=http://localhost:8081 -# 问答页面前端地址(iframe 加载用;本地开发是 Vite 5173,生产留空即与 BASE 同源) -VITE_AI_CHAT_WEB=http://localhost:5173 -# 免登密钥,须与 mineru 后端 SSO_SECRET 一致。 +# 问答服务地址(正式服 http://192.168.16.4:8081;如需本地调试后端可临时改回 localhost:8081) +VITE_AI_CHAT_BASE=http://192.168.16.4:8081 +# 问答页面前端地址(iframe 加载用;正式服 8081 同源托管构建产物,留空即与 BASE 同源) +VITE_AI_CHAT_WEB= +# 免登密钥,须与 mineru 后端 SSO_SECRET 一致(正式服仅认此密钥)。 # 注意:本密钥会随前端打包暴露,后端已做安全边界——该通道仅能开通 viewer # (普通问答访客)账号,无法冒充 editor/admin 等特权账号。 -VITE_AI_CHAT_SECRET=yunsan-sso-dev-secret +VITE_AI_CHAT_SECRET=yunsan-sso-2356b979320df0e4fc086db277cc9bdfe9217dc9ab2f646e VITE_AI_CHAT_TITLE=AI问答(快速查询应急方案) diff --git a/.env.production b/.env.production index 1b9c14f..1cce3e6 100644 --- a/.env.production +++ b/.env.production @@ -2,9 +2,9 @@ VITE_API_BASE_URL=http://10.104.10.151:8888/juntech-ysdp # ===== mineru_ai_chat 智能问答(iframe 免登集成) ===== -VITE_AI_CHAT_BASE=http://192.168.16.49:8081 +VITE_AI_CHAT_BASE=http://192.168.16.4:8081 # 生产问答页面与后端同源(8081 托管构建产物),留空即可 VITE_AI_CHAT_WEB= # 上线前改为正式密钥(与 mineru 容器 SSO_SECRET 一致);通道仅能开通 viewer 账号 -VITE_AI_CHAT_SECRET= +VITE_AI_CHAT_SECRET=yunsan-sso-2356b979320df0e4fc086db277cc9bdfe9217dc9ab2f646e VITE_AI_CHAT_TITLE=AI问答(快速查询应急方案) diff --git a/app.zip b/app.zip new file mode 100644 index 0000000..7530394 Binary files /dev/null and b/app.zip differ diff --git a/public/imgs/mfivebg1.png b/public/imgs/mfivebg1.png index 9ec01dd..d73bca1 100644 Binary files a/public/imgs/mfivebg1.png and b/public/imgs/mfivebg1.png differ diff --git a/public/imgs/mfivebg1——bak.png b/public/imgs/mfivebg1——bak.png new file mode 100644 index 0000000..9ec01dd Binary files /dev/null and b/public/imgs/mfivebg1——bak.png differ diff --git a/src/utils/service.js b/src/utils/service.js index fc33ece..ecfd11d 100644 --- a/src/utils/service.js +++ b/src/utils/service.js @@ -206,6 +206,10 @@ var server = { getErpExecPlanCountList() { return ysdpPost('/api/getErpExecPlanCountList/v1') + }, + + getErpWorkOrderCountList() { + return ysdpPost('/api/getErpWorkOrderCountList/v1') } } diff --git a/src/views/home/components/ModuleFive.vue b/src/views/home/components/ModuleFive.vue index 974d3d8..89ace38 100644 --- a/src/views/home/components/ModuleFive.vue +++ b/src/views/home/components/ModuleFive.vue @@ -4,11 +4,13 @@
+
{{ topLeft.type }}
{{ topLeft.baseline }}
{{ topLeft.challenge }}
{{ topLeft.actual }}
+
{{ topRight.type }}
{{ topRight.baseline }}
{{ topRight.challenge }}
{{ topRight.actual }}
@@ -16,11 +18,13 @@
+
{{ bottomLeft.type }}
{{ bottomLeft.baseline }}
{{ bottomLeft.challenge }}
{{ bottomLeft.actual }}
+
{{ bottomRight.type }}
{{ bottomRight.baseline }}
{{ bottomRight.challenge }}
{{ bottomRight.actual }}
@@ -110,6 +114,16 @@ onMounted(() => { color: #fff; font-style: italic; + .indicator-title { + position: absolute; + top: -30px; + bottom: 100%; + left: -80px; + margin-bottom: 30px; + font-weight: 600; + white-space: nowrap; + } + .indicator-name { position: relative; font-weight: 600; @@ -118,6 +132,7 @@ onMounted(() => { .indicator-value { position: relative; font-weight: 600; + margin-top: 6px; } } diff --git a/src/views/home/components/ModuleNine.vue b/src/views/home/components/ModuleNine.vue index 05c8bc0..b49e75b 100644 --- a/src/views/home/components/ModuleNine.vue +++ b/src/views/home/components/ModuleNine.vue @@ -39,9 +39,6 @@