feat(web): 优化差旅详情、风险建议卡片与文档中心交互

- 拆分阶段风险建议卡片样式到独立文件
- 完善差旅申请审批对话框与详情视图交互
- 调整文档中心列表共享样式与状态筛选
- 同步应用外壳、视图初始化与系统状态 composables
This commit is contained in:
caoxiaozhu
2026-06-17 14:39:12 +08:00
parent a3e5295915
commit 0fac8b615f
19 changed files with 1415 additions and 558 deletions

View File

@@ -415,7 +415,7 @@ function normalizeState(env) {
},
web: {
host: env.WEB_HOST || '0.0.0.0',
port: Number(env.WEB_PORT || 5173)
port: Number(env.WEB_PORT || 5273)
},
server: {
host: env.SERVER_HOST || '0.0.0.0',
@@ -488,7 +488,7 @@ function resolveRuntimePayload(payload, currentEnv) {
return {
...payload,
web_host: webHost,
web_port: Number(payload.web_port || currentEnv.WEB_PORT || 5173),
web_port: Number(payload.web_port || currentEnv.WEB_PORT || 5273),
server_host:
normalizedWebHost &&
normalizedWebHost !== '127.0.0.1' &&