Files
郭庆泰 cf5790229a 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)
2026-08-15 12:41:10 +08:00

430 lines
19 KiB
HTML

<!DOCTYPE html>
<!--
角色: 执行方
父级: executor.html
链: <li data-page="components/projects.html">
原型: 原型/项目列表.html
============================================================
按 top 排序的内容区模块:
#1 u6506+u6508 项目编号 (290,175)/(357,175) → 筛选 label+input
#2 u6509+u6511 项目名称 (524,179)/(591,175) → 筛选 label+input
#3 u6789/u6791 项目时间 (?,?)/(835,175) → 筛选 label+input(开始时间)
#4 u6792/u6794 (958,187)/(1012,175) → 筛选 line+input(结束时间)
#5 u6512 查找 (1199, 175) → 筛选 submit
#6 u6743 "项目分配" (266, 227) → button
#7 u6605/u6603/u6607 红字 (418/950/616, 239/251/261)
#8 数据行 12 列(top:296,按 left 升序):
u6492(309) 项目编号 | u6494(451) 项目名称
| u6498(574) 总场次/总期数
| u6500(712) 已执行 | u6502(793) 未执行
| u6523(873) 总金额 | u6525(955) 可用金额
| u6531(1068) 已支付劳务费 | u6533(1178) 已支付会务费
| u6745(1293) 项目开始时间 | u6747(1414) 项目结束时间
| u6504(1585) 操作
#9 u6496 水平线 (266, 329)
============================================================
框架元素(由父级 executor.html 渲染):
- u6470/u6472/u6474/u6476/u6478/u6480/u6482/u6484/u6486/u6488 侧边栏+顶栏
============================================================
新增项(非原型):
- 复选框列(原型行内 8 个独立 checkbox,没有列头,整合为整列)
- 响应式 768px
待补(当前不做,等子页面时处理):
- 项目编号/项目名称 链 项目详情.html → project-detail.html
- 「建会」链 新建会议.html → new-meeting.html
- 「查看」链 项目详情.html → project-detail.html
-->
<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: 16px; }
.page-title {
font-size: 22px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 4px;
}
.page-subtitle { font-size: 13px; color: #8c8c8c; }
.card {
background: #fff;
border-radius: 8px;
padding: 20px 24px;
margin-bottom: 16px;
border: 1px solid #f0f0f0;
}
.card-title {
font-size: 15px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 16px;
padding-left: 10px;
border-left: 3px solid #1890ff;
line-height: 1;
}
.filter-row {
display: flex;
flex-wrap: wrap;
gap: 12px;
align-items: center;
}
.filter-field { display: flex; align-items: center; gap: 8px; }
.filter-label { font-size: 14px; color: #595959; white-space: nowrap; }
.filter-input {
width: 180px;
height: 32px;
padding: 0 12px;
border: 1px solid #d9d9d9;
border-radius: 4px;
font-size: 13px;
color: #333;
background: #fff;
outline: none;
}
.filter-input:focus {
border-color: #1890ff;
box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
}
/* 项目时间筛选(对应原型 u6789/u6791/u6792/u6794) */
.time-line {
color: #8c8c8c;
padding: 0 4px;
}
.filter-btn {
height: 36px;
padding: 0 24px;
background: #1890ff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
}
.filter-btn:hover { background: #096dd9; }
/* 项目分配按钮(对应原型 u6743 left:266 top:227,在筛选区下红字上) */
.primary-btn {
height: 40px;
padding: 0 24px;
background: #1890ff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
}
.primary-btn:hover { background: #096dd9; }
.hint-list {
background: #fff;
border-radius: 8px;
padding: 16px 20px;
border: 1px solid #f0f0f0;
font-size: 12px;
color: #ff4d4f;
line-height: 1.8;
}
.hint-list p { margin-bottom: 4px; }
.hint-list p:last-child { margin-bottom: 0; }
.data-card { padding: 0; overflow-x: auto; }
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 13px;
}
.data-table thead th {
background: #fafafa;
padding: 12px 16px;
text-align: left;
color: #1a1a1a;
font-weight: 600;
border-bottom: 1px solid #f0f0f0;
white-space: nowrap;
}
.data-table tbody td {
padding: 12px 16px;
border-bottom: 1px solid #f5f5f5;
color: #595959;
vertical-align: middle;
}
.data-table tbody tr:hover { background: #fafcff; }
.col-check { width: 40px; }
.data-table input[type="checkbox"] {
cursor: pointer;
width: 14px;
height: 14px;
accent-color: #1890ff;
}
.col-code {
color: #1890ff;
font-family: ui-monospace, "Courier New", monospace;
}
.col-name { color: #1a1a1a; font-weight: 500; }
.col-num {
text-align: center;
font-weight: 500;
color: #1a1a1a;
font-family: ui-monospace, "Courier New", monospace;
}
.col-time {
font-size: 12px;
color: #595959;
white-space: nowrap;
}
.op-link {
color: #1890ff;
background: none;
border: none;
padding: 0;
cursor: pointer;
font-size: 13px;
text-decoration: none;
margin-right: 8px;
}
.op-link:last-child { margin-right: 0; }
.op-link:hover { text-decoration: underline; }
@media (max-width: 768px) {
.content { padding: 16px; }
.filter-row { grid-template-columns: 1fr; }
.data-table { font-size: 12px; display: block; overflow-x: auto; white-space: nowrap; }
}
</style>
</head>
<body>
<main class="content">
<div class="page-header">
<h1 class="page-title">项目列表</h1>
<p class="page-subtitle">查看您承接的项目、会议场次、资金分配情况</p>
</div>
<!-- #1+#2+#3 筛选区(对应原型 top:175-187) -->
<div class="card">
<div class="card-title">筛选条件</div>
<div class="filter-row">
<div class="filter-field">
<span class="filter-label">项目编号:</span>
<input type="text" class="filter-input" placeholder="输入项目编号">
</div>
<div class="filter-field">
<span class="filter-label">项目名称:</span>
<input type="text" class="filter-input" placeholder="输入项目名称">
</div>
<div class="filter-field">
<span class="filter-label">项目时间:</span>
<input type="text" class="filter-input" placeholder="开始时间">
<span class="time-line"></span>
<input type="text" class="filter-input" placeholder="结束时间">
</div>
<button class="filter-btn">查找</button>
</div>
</div>
<!-- #4 项目分配按钮(对应原型 u6743 left:266 top:227) -->
<div style="margin: 16px 0;">
<button class="primary-btn" onclick="alert('项目分配:待原型 项目分配.html 实现')">项目分配</button>
</div>
<!-- #5+#6+#7 红字提示(对应原型 u6603/u6605/u6607 top:239-261) -->
<div class="hint-list">
<p>*支持将项目分配给执行人员</p>
<p>*执行方看到的总金额是项目分配时设置的总金额,根据相同的公式进行计算可用金额</p>
<p>*执行方看到的总金额是项目分配时设置的总金额</p>
</div>
<!-- #8 表头(对应原型 u6492/u6494/u6498/u6500/u6502/u6504 top:296 共 6 列)+ #10 数据行 -->
<div class="card data-card">
<table class="data-table">
<thead>
<tr>
<th class="col-check"><input type="checkbox" id="selectAll"></th>
<th>项目编号</th>
<th>项目名称</th>
<th style="text-align: center;">总场次/总期数</th>
<th style="text-align: center;">已执行</th>
<th style="text-align: center;">未执行</th>
<th style="text-align: right;">总金额</th>
<th style="text-align: right;">可用金额</th>
<th style="text-align: right;">已支付劳务费</th>
<th style="text-align: right;">已支付会务费</th>
<th>项目开始时间</th>
<th>项目结束时间</th>
<th>操作</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-658</a></td>
<td><a class="col-name" href="项目详情.html">小牛血清创新应用研讨会</a></td>
<td class="col-num">26</td>
<td class="col-num">16</td>
<td class="col-num">10</td>
<td class="col-money">2,400,000</td>
<td class="col-money">900,000</td>
<td class="col-money">820,000</td>
<td class="col-money">680,000</td>
<td class="col-time">2026.05.13</td>
<td class="col-time">2026.06.15</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-659</a></td>
<td><a class="col-name" href="项目详情.html">整合医学学会项目评审</a></td>
<td class="col-num">18</td>
<td class="col-num">12</td>
<td class="col-num">6</td>
<td class="col-money">2,400,000</td>
<td class="col-money">900,000</td>
<td class="col-money">820,000</td>
<td class="col-money">680,000</td>
<td class="col-time">2026.05.13</td>
<td class="col-time">2026.06.15</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-650</a></td>
<td><a class="col-name" href="项目详情.html">智慧医院建设项目</a></td>
<td class="col-num">12</td>
<td class="col-num">7</td>
<td class="col-num">5</td>
<td class="col-money">1,500,000</td>
<td class="col-money">560,000</td>
<td class="col-money">500,000</td>
<td class="col-money">440,000</td>
<td class="col-time">2026.06.01</td>
<td class="col-time">2026.08.30</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-645</a></td>
<td><a class="col-name" href="项目详情.html">基层医疗改革试点项目</a></td>
<td class="col-num">20</td>
<td class="col-num">14</td>
<td class="col-num">6</td>
<td class="col-money">1,500,000</td>
<td class="col-money">560,000</td>
<td class="col-money">500,000</td>
<td class="col-money">440,000</td>
<td class="col-time">2026.06.01</td>
<td class="col-time">2026.08.30</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-640</a></td>
<td><a class="col-name" href="项目详情.html">数字化医疗转型方案</a></td>
<td class="col-num">22</td>
<td class="col-num">15</td>
<td class="col-num">7</td>
<td class="col-money">1,500,000</td>
<td class="col-money">560,000</td>
<td class="col-money">500,000</td>
<td class="col-money">440,000</td>
<td class="col-time">2026.06.01</td>
<td class="col-time">2026.08.30</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-635</a></td>
<td><a class="col-name" href="项目详情.html">临床医学研究方案评议</a></td>
<td class="col-num">14</td>
<td class="col-num">9</td>
<td class="col-num">5</td>
<td class="col-money">2,400,000</td>
<td class="col-money">900,000</td>
<td class="col-money">820,000</td>
<td class="col-money">680,000</td>
<td class="col-time">2026.05.13</td>
<td class="col-time">2026.06.15</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-628</a></td>
<td><a class="col-name" href="项目详情.html">公共卫生应急体系建设项目</a></td>
<td class="col-num">16</td>
<td class="col-num">11</td>
<td class="col-num">5</td>
<td class="col-money">1,500,000</td>
<td class="col-money">560,000</td>
<td class="col-money">500,000</td>
<td class="col-money">440,000</td>
<td class="col-time">2026.06.01</td>
<td class="col-time">2026.08.30</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="项目详情.html">ZH-2026-622</a></td>
<td><a class="col-name" href="项目详情.html">中医诊疗标准化研究</a></td>
<td class="col-num">10</td>
<td class="col-num">6</td>
<td class="col-num">4</td>
<td class="col-money">2,400,000</td>
<td class="col-money">900,000</td>
<td class="col-money">820,000</td>
<td class="col-money">680,000</td>
<td class="col-time">2026.05.13</td>
<td class="col-time">2026.06.15</td>
<td>
<a class="op-link" href="new-meeting.html">建会</a>
<a class="op-link" href="project-detail-executor.html">查看</a>
</td>
</tr>
</tbody>
</table>
</div>
</main>
<script>
document.getElementById('selectAll').addEventListener('change', function() {
document.querySelectorAll('.row-check').forEach(cb => cb.checked = this.checked);
});
</script>
</body>
</html>