refactor: 合并 biz_support_unit/biz_execution_unit/biz_service_org 为 biz_org, 删除 2 张孤儿表, 改 biz_person.work_unit → org_id FK

主要改动:
- SQL: biz_support_unit → biz_org, 加 org_type, 加 business_nature; 删 biz_execution_unit, biz_service_org
- SQL: biz_project.support_unit_id/name + service_org_id/name → org_id/name/type
- SQL: biz_meeting.support_unit_name → org_name
- SQL: biz_person.work_unit → org_id (FK)
- 后端: 新 BizOrg entity/mapper/service/controller
- 后端: BizProject/BizMeeting 字段重命名
- 后端: 删 12 个 BizSupportUnit/BizExecutionUnit/BizServiceOrg Java 文件
- 后端: BizPersonImportVO.workUnit → orgName (导入时查 biz_org 取 org_id)
- 后端: BizAuthController.registerExecutor 完整实现 (原 registerSupplier stub)
- 前端: 新 admin/Orgs.vue + manager/Orgs.vue (原 SupportUnits)
- 前端: RegisterExecutor.vue (原 RegisterSupplier, 单页 2 步)
- 前端: sponsor/executor/manager 多个文件 workUnit → orgId/orgName 重命名
- 前端: 统一 supplier → executor, 业务命名 sponsor(赞助方) / executor(执行方=供应商)
- 前端: 全工程 execution → executor (company type / role / person unit_type)
This commit is contained in:
郭庆泰
2026-08-15 12:41:10 +08:00
commit cf5790229a
694 changed files with 102090 additions and 0 deletions
+293
View File
@@ -0,0 +1,293 @@
<!DOCTYPE html>
<!--
角色: 执行方
父级: executor.html
链: <li data-page="components/overview.html">
原型: 原型/首页.html (执行方菜单)
区别: 另一个首页是 components/home.html(医生/专家,不要混)
内容区(按原型 u64xx 排列):
#1 u6441+u6457 项目总数量 (26) → projects.html
#2 u6445+u6459 已结算数量 (16) → projects.html?status=settled
#3 u6449+u6461 已结题数量 (10) → projects.html?status=done
#4 u6453+u6463 已执行会议 (58) → meeting-manage.html?status=executed
#5 u6455+u6465 未执行会议 (68) → meeting-manage.html?status=pending
#6 u6467 红字 *点击数字,跳转到相应的列表页
框架元素(由父级 executor.html 渲染):
- u6415/u6417/u6419/u6421/u6423/u6425/u6427/u6429/u6431/u6433 侧边栏+顶栏
新增项(非原型):
- .stat-desc 副标题(原型只有 label+value)
- 卡片悬停效果(transform + box-shadow)
- 自适应 grid(auto-fit minmax 180px,窄屏自动换行)
- 卡片可点击跳转(原型的 5 张 box_1 没标链接,这里按红字提示实现)
- 渐变背景 + 蓝色装饰条(美化)
- 数字渐变文字(美化)
- 消息通知区块(参考 doctor home.html 风格,4 条通知)
-->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>首页 - 项目管理系统</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
color: #333;
background: #fafafa;
min-height: 100vh;
}
.content {
padding: 24px 32px;
}
.page-header {
margin-bottom: 20px;
}
.page-title {
font-size: 22px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 4px;
}
.page-subtitle {
font-size: 13px;
color: #8c8c8c;
}
/* ============= 统计卡片(自适应 grid:窄屏自动换行) ============= */
.stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 16px;
margin-bottom: 16px;
}
.stat-card {
background: linear-gradient(135deg, #ffffff 0%, #fafbff 100%);
border-radius: 8px;
padding: 24px;
border: 1px solid #f0f0f0;
cursor: pointer;
transition: all 0.2s;
text-decoration: none;
color: inherit;
display: block;
}
.stat-card:hover {
border-color: #1890ff;
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(24, 144, 255, 0.12);
background: linear-gradient(135deg, #ffffff 0%, #e6f4ff 100%);
}
.stat-label {
font-size: 14px;
color: #8c8c8c;
margin-bottom: 16px;
display: flex;
align-items: center;
gap: 6px;
}
.stat-label::before {
content: '';
width: 4px;
height: 14px;
background: #1890ff;
border-radius: 2px;
}
.stat-value {
font-size: 48px;
font-weight: 700;
background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
line-height: 1;
margin-bottom: 8px;
font-family: ui-monospace, "Courier New", monospace;
}
.stat-desc {
font-size: 12px;
color: #bfbfbf;
}
.hint-text {
font-size: 12px;
color: #ff4d4f;
margin-top: 12px;
text-align: center;
}
/* ============= 消息通知(参考 doctor home.html 风格) ============= */
.section {
background: #fff;
border-radius: 8px;
padding: 20px 24px;
border: 1px solid #f0f0f0;
margin-bottom: 16px;
}
.section-title {
font-size: 15px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
padding-left: 10px;
border-left: 3px solid #1890ff;
line-height: 1;
display: flex;
align-items: center;
justify-content: space-between;
}
.more {
font-size: 12px;
color: #1890ff;
text-decoration: none;
font-weight: normal;
}
.more:hover { text-decoration: underline; }
.notice-list {
list-style: none;
border-top: 1px solid #f0f0f0;
}
.notice-item {
padding: 12px 0;
border-bottom: 1px solid #f0f0f0;
display: flex;
align-items: center;
gap: 12px;
cursor: pointer;
}
.notice-item:last-child { border-bottom: none; }
.notice-item:hover .title { color: #1890ff; }
.notice-item .dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: #1890ff;
flex-shrink: 0;
}
.notice-item.read .dot {
background: transparent;
border: 1px solid #d9d9d9;
}
.notice-item .body { flex: 1; min-width: 0; }
.notice-item .title {
font-size: 13px;
color: #1a1a1a;
transition: color 0.2s;
}
.notice-item.read .title { color: #8c8c8c; }
.notice-item .text {
font-size: 12px;
color: #595959;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
margin-top: 2px;
}
.notice-item .time {
font-size: 12px;
color: #bfbfbf;
flex-shrink: 0;
}
@media (max-width: 768px) {
.content { padding: 16px; }
}
</style>
</head>
<body>
<main class="content">
<div class="page-header">
<h1 class="page-title">首页</h1>
<p class="page-subtitle">项目总览 · 数据概览 · 快速入口</p>
</div>
<!-- 5 张统计卡(对应原型 u6441/u6445/u6449/u6453/u6455 5 个 box_1) -->
<div class="stats-grid">
<a class="stat-card" href="projects.html">
<div class="stat-label">项目总数量</div>
<div class="stat-value">26</div>
<div class="stat-desc">查看全部项目</div>
</a>
<a class="stat-card" href="projects.html?status=settled">
<div class="stat-label">已结算数量</div>
<div class="stat-value">16</div>
<div class="stat-desc">查看已结算项目</div>
</a>
<a class="stat-card" href="projects.html?status=done">
<div class="stat-label">已结题数量</div>
<div class="stat-value">10</div>
<div class="stat-desc">查看已结题项目</div>
</a>
<a class="stat-card" href="meeting-manage.html?status=executed">
<div class="stat-label">已执行会议</div>
<div class="stat-value">58</div>
<div class="stat-desc">查看已执行会议</div>
</a>
<a class="stat-card" href="meeting-manage.html?status=pending">
<div class="stat-label">未执行会议</div>
<div class="stat-value">68</div>
<div class="stat-desc">查看未执行会议</div>
</a>
</div>
<!-- 提示文字 -->
<p class="hint-text">*点击数字,跳转到相应的列表页</p>
<!-- 消息通知(参考 doctor home.html 风格) -->
<section class="section">
<h2 class="section-title">
消息通知
<a class="more" href="messages.html">更多 →</a>
</h2>
<ul class="notice-list">
<li class="notice-item" onclick="alert('打开通知:已结算审核通过')">
<div class="dot"></div>
<div class="body">
<div class="title">结算审核: ZH-2026-650 结算已通过</div>
<div class="text">整合医学学会项目评审会结算单已通过财务审核,请查收。</div>
</div>
<span class="time">2 小时前</span>
</li>
<li class="notice-item" onclick="alert('打开通知:新会议邀请')">
<div class="dot"></div>
<div class="body">
<div class="title">会议邀请: 您有一场新会议待确认</div>
<div class="text">数字化医疗转型方案评审会邀请您担任评审专家,请确认出席。</div>
</div>
<span class="time">昨天 16:30</span>
</li>
<li class="notice-item read" onclick="alert('打开通知:项目阶段')">
<div class="dot"></div>
<div class="body">
<div class="title">项目阶段: 智慧医院建设项目进入实施阶段</div>
<div class="text">您执行的智慧医院建设项目方案已通过,进入实施阶段,请关注后续任务安排。</div>
</div>
<span class="time">2026-08-01</span>
</li>
<li class="notice-item read" onclick="alert('打开通知:系统升级')">
<div class="dot"></div>
<div class="body">
<div class="title">系统升级公告</div>
<div class="text">系统将于本周日 02:00 - 04:00 进行升级维护,请提前安排工作。</div>
</div>
<span class="time">2026-07-30</span>
</li>
</ul>
</section>
</main>
</body>
</html>