生产模块拆分为前缫/后缫;修复菜单卡顿与重复请求;支持 IIS 单站点部署
1. 生产模块按工序拆分为两个一级菜单 - 生产-前缫(落丝记录)、生产-后缫(纤度检验、黑板检验) - 旧的「生产管理」(/prod) 目录及子菜单由种子自动清理,页面组件与权限标识保持不变 - 消息中心跳转路径、首页快捷入口路径同步更新 2. 职工管理独立为一级菜单(原挂在「基础数据」目录下),并清理历史子菜单 3. 修复侧边栏菜单展开卡顿(基础数据等子项较多的目录尤其明显) - 去掉 Element Plus 的 height 过渡动画(会逐帧重排全部子项) - 收起时改用 height:0 + visibility:hidden 而非 display:none,子项提前完成布局 - 菜单区独立滚动并预留滚动条宽度(scrollbar-gutter),消除展开时的横向抖动 - 菜单项增加 contain 布局隔离,淡入动画改为容器级 4. 修复页面首次打开重复请求 - 分页组件挂载时会触发一次 current-change,页码未变化时不再重复加载(18 个页面) - 职工管理去掉 onMounted 与默认选中部门的重复加载 - 工种管理、原料庄口的注册表下拉由按 key 多次请求改为一次全量拉取 5. 后端增加前端静态托管与 SPA 路由回退,支持 IIS 单站点部署(前后端同源) 6. 新增部署脚本 deploy-iis.ps1(首次部署)与 update-iis.ps1(更新发布)
This commit is contained in:
@@ -7,6 +7,7 @@ using F9WebAiTest.Application.Interfaces.Repositories.SYS.RBAC.Users;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.WorkTypes;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.Registries;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.YuanliaoZhuangkous;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.Employees;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.Gongyingshangs;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.WuziMulus;
|
||||
using F9WebAiTest.Application.Interfaces.Repositories.SYS.Zq;
|
||||
@@ -23,6 +24,7 @@ using F9WebAiTest.Domain.Interfaces.SYS.RBAC.Users;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.WorkTypes;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.Registries;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.YuanliaoZhuangkous;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.Employees;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.Gongyingshangs;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.WuziMulus;
|
||||
using F9WebAiTest.Domain.Interfaces.SYS.Zq;
|
||||
@@ -35,6 +37,7 @@ using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.RBAC.Users;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.WorkTypes;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.Registries;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.YuanliaoZhuangkous;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.Employees;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.Gongyingshangs;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.WuziMulus;
|
||||
using F9WebAiTest.Infrastructure.FreeSqls.Repositories.SYS.Zq;
|
||||
@@ -97,6 +100,7 @@ public static class DependencyInjection
|
||||
services.AddScoped<IYuanliaoZhuangkouWriteRepository, YuanliaoZhuangkouWriteRepository>();
|
||||
services.AddScoped<IWuziGroupWriteRepository, WuziGroupWriteRepository>();
|
||||
services.AddScoped<IGongyingshangWriteRepository, GongyingshangWriteRepository>();
|
||||
services.AddScoped<IEmployeeWriteRepository, EmployeeWriteRepository>();
|
||||
services.AddScoped<IWuziMuluWriteRepository, WuziMuluWriteRepository>();
|
||||
|
||||
// 读仓储(Application 接口)
|
||||
@@ -110,6 +114,7 @@ public static class DependencyInjection
|
||||
services.AddScoped<IYuanliaoZhuangkouReadRepository, YuanliaoZhuangkouReadRepository>();
|
||||
services.AddScoped<IWuziGroupReadRepository, WuziGroupReadRepository>();
|
||||
services.AddScoped<IGongyingshangReadRepository, GongyingshangReadRepository>();
|
||||
services.AddScoped<IEmployeeReadRepository, EmployeeReadRepository>();
|
||||
services.AddScoped<IWuziMuluReadRepository, WuziMuluReadRepository>();
|
||||
|
||||
return services;
|
||||
|
||||
Reference in New Issue
Block a user