feat: 删除部门模块 + 任务系统重构 + 布局修复

- 删除部门(Home)侧边栏入口、面板及相关代码
- 删除 home.js,chartOptions 等图表工具迁移到 utils.js
- 清理 render()、togglePhase、filterPhaseTasks 等死代码
- 任务列表改为平铺(取消阶段分组),支持拖拽排序
- 任务表单加开始时间字段,重组字段布局为三列
- 任务展开面板改为竖排:时间、任务进展、卡点与备注
- 视图按钮和新增任务按钮移入任务卡片顶部
- 修复 index.html div 嵌套不平衡导致布局塌陷
- 修复 savedTab 校验和 switchTenant 侧边栏 active 同步
- 总览工作台只显示预算/发生总览入口
- 性能面板 id 去重
This commit is contained in:
mac
2026-07-15 14:49:12 +08:00
parent 39513c0a7b
commit ec457e9d40
9 changed files with 227 additions and 371 deletions

View File

@@ -537,6 +537,26 @@ body {
font-size: 13px;
}
.task-expand-toggle {
display: flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
cursor: pointer;
color: #94a3b8;
border-radius: 4px;
flex-shrink: 0;
transition: color 0.15s, background 0.15s;
}
.task-expand-toggle:hover { color: #475569; background: #f1f5f9; }
.task-expand-toggle i { transition: transform 0.2s ease; }
.task-expand-body {
border-top: 1px solid #f1f5f9;
background: #fafbfc;
}
/* 业务方案列表项 */
.proposal-item {
display: flex;
@@ -1109,8 +1129,6 @@ td {
}
/* Task Modal — Plane style */
.task-modal { display: none; }
.task-modal.active { display: block; }
.task-overlay {
position: fixed; inset: 0; background: rgba(15,23,42,0.35); z-index: 200;
display: flex; align-items: flex-start; justify-content: center;