feat(ui): 顶部工具栏隐藏并重设计欢迎页仪表盘

- website.js中新增配置项关闭顶部语言切换、主题切换、日志和设置按钮
- top组件根据配置动态隐藏语言切换和设置按钮,仅保留用户头像下拉
- 默认主题改为浅色theme-d2,需手动切换或清空旧主题存储
- 完全重写欢迎页,移除默认营销内容,设计为TMS-ERP业务仪表盘,使用纯SVG/CSS绘图
- 欢迎页包括用户问候、四个核心指标卡、运单趋势、货物类型分布、运输方式占比、预警提醒和快捷入口
- 快捷入口路径模拟真实路由,需与后端菜单一致
- 对车辆里程录入界面搜索栏做细节调整,添加更合理的搜索字段宽度
- user模块中默认用户头像改为jpg格式图片
- vite配置文件新增多项插件和生产环境下的压缩优化配置
This commit is contained in:
2026-07-31 19:04:57 +08:00
parent a9fd78b5b9
commit c270258b7b
9 changed files with 836 additions and 1511 deletions

View File

@@ -47,6 +47,7 @@ export const option = {
dicData: vehicleTypeDic,
value: '车辆',
search: true,
searchSpan: 6,
minWidth: 110,
rules: [{ required: true, message: '请选择车船类型', trigger: 'change' }],
},
@@ -56,6 +57,7 @@ export const option = {
slot: true,
formslot: true,
search: true,
searchSpan: 6,
minWidth: 130,
rules: [
{ required: true, message: '请输入车牌号/船号', trigger: 'blur' },
@@ -175,6 +177,7 @@ export const option = {
valueFormat: 'YYYY-MM-DD',
searchRange: true,
search: true,
searchSpan: 6,
hide: true,
addDisplay: false,
editDisplay: false,
@@ -191,6 +194,7 @@ export const option = {
},
checkStrictly: true,
search: true,
searchSpan: 6,
hide: true,
addDisplay: false,
editDisplay: false,