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

413 lines
16 KiB
HTML

<!DOCTYPE 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; }
.breadcrumb {
font-size: 13px;
color: #8c8c8c;
margin-bottom: 12px;
}
.breadcrumb a { color: #1890ff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.page-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
margin-bottom: 20px;
}
.page-title {
font-size: 22px;
font-weight: 600;
color: #1a1a1a;
margin-bottom: 4px;
}
.page-subtitle {
font-size: 13px;
color: #8c8c8c;
}
.new-btn {
height: 36px;
padding: 0 20px;
background: #1890ff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 14px;
cursor: pointer;
}
.new-btn:hover { background: #096dd9; }
.card {
background: #fff;
border-radius: 8px;
padding: 20px 24px;
margin-bottom: 16px;
border: 1px solid #f0f0f0;
}
/* 筛选(原型 u18262/u18274/u18264/u18277/u18278/u18280/u18282/u18284) */
.filter-row {
display: grid;
grid-template-columns: 1fr 1fr 1fr 1fr auto;
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, .filter-select {
flex: 1;
height: 32px;
padding: 0 12px;
border: 1px solid #d9d9d9;
border-radius: 4px;
font-size: 13px;
color: #333;
background: #fff;
outline: none;
}
.filter-input:focus, .filter-select:focus {
border-color: #1890ff;
box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
}
.filter-select {
cursor: pointer;
appearance: none;
background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 14px;
padding-right: 28px;
}
.filter-btn {
height: 32px;
padding: 0 24px;
background: #1890ff;
color: #fff;
border: none;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
}
.filter-btn:hover { background: #096dd9; }
/* 表格(原型 u18285/u18287/u18289/u18291/u18293 + 行级批量操作) */
.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; }
.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; }
.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; }
/* 底部批量操作(对应原型 u18308 复制/u18331 执会/u18333 推流码) */
.bulk-bar {
margin-top: 16px;
padding: 12px 16px;
background: #fafafa;
border-top: 1px solid #f0f0f0;
display: flex;
justify-content: space-between;
align-items: center;
}
.bulk-info {
font-size: 12px;
color: #8c8c8c;
}
.bulk-actions {
display: flex;
gap: 8px;
}
.bulk-btn {
height: 32px;
padding: 0 16px;
background: #fff;
border: 1px solid #1890ff;
color: #1890ff;
border-radius: 4px;
font-size: 13px;
cursor: pointer;
}
.bulk-btn:hover { background: #e6f7ff; }
@media (max-width: 768px) {
.content { padding: 16px; }
.filter-row { grid-template-columns: 1fr; }
.data-table { font-size: 12px; }
.data-table thead th { padding: 10px 8px; }
.data-table tbody td { padding: 10px 8px; }
}
</style>
</head>
<body>
<!--
============================================================
来源: /原型/我的执会.html
⚠️ 原型 files/我的执会/styles.css 目录缺失
本实现按原型 HTML 提取的 div id + DOM 顺序,
CSS 风格仅参考兄弟页 meetings.html(不参考功能字段)
============================================================
按 HTML 顺序的内容区(原型破损,按 DOM 推):
#1 u18258 首页 面包屑根
#2 u18260 我的项目策划方案 (但 readme 写"我的执会",标题以 readme 为准)
#3 u18262 项目编号 label 筛选
#4 u18264 会议名称 label 筛选
#5 u18268 是否系列会 label 筛选
#6 u18270 操作 label 表头
#7 u18272 项目编号 label 表头
#8 u18274 项目编号 input 筛选
#9 u18275 会议名称 label 表头
#10 u18277 会议名称 input 筛选
#11 u18278 是否结题 box_2 筛选 label
#12 u18280 是否结题 droplist 筛选
#13 u18282 是否系列会 box_2 筛选 label
#14 u18284 查找 submit 筛选
#15 u18266 水平线 (装饰)
#16 u18268 是否系列会(表头)
#17 u18285/u18287/u18289 + u18291/u18293 数据行
#18 u18300 期数/u18302 期数/总期数/u18304 3/26 表头
#19 u18306 当前阶段 label/u18308 复制 link 表头
#20 u18310/u18312/u18314/u18316/u18318/u18319 数据
#21 u18324/u18326 修改/复制 批量操作
#22 u18328 当前阶段 box_2/u18330 droplist/u18331 执会 link
#23 u18333/u18335 推流码 link
============================================================
框架元素(由父级 executor.html 渲染):
- u18240/u18242/u18244/u18246/u18248/u18250/u18252/u18254/u18256/u18258 侧边栏+顶栏
============================================================
新增项(非原型):
- 表格结构(原型 Axure 散落,这里用 HTML table 整合)
- 8 行样例数据
- 响应式 768px
- 「我的执会」标题(原型 u18260 是"我的项目策划方案",与 readme 写的"我的执会"不一致,
此处按 readme 文案统一,标注为新增项)
============================================================
-->
<main class="content">
<div class="breadcrumb">
<a href="javascript:void(0)" onclick="goHome()">首页</a> &gt; 我的执会
</div>
<div class="page-header">
<div>
<h1 class="page-title">我的执会</h1>
<p class="page-subtitle">查看您执行中的会议、下载推流码、复制会议信息</p>
</div>
</div>
<!-- 筛选区 -->
<div class="card">
<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>
<select class="filter-select">
<option value="">请选择</option>
<option value="finished">已结题</option>
<option value="unfinished">未结题</option>
</select>
</div>
<div class="filter-field">
<span class="filter-label">是否系列会:</span>
<select class="filter-select">
<option value="">请选择</option>
<option value="yes"></option>
<option value="no"></option>
</select>
</div>
<button class="filter-btn">查找</button>
</div>
</div>
<!-- 表格 -->
<div class="card data-card">
<table class="data-table">
<thead>
<tr>
<th style="width: 40px;"><input type="checkbox" id="selectAll"></th>
<th>项目编号</th>
<th>会议名称</th>
<th>是否系列会</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="javascript:void(0)">ZH-2026-658</a></td>
<td><a class="col-name" href="javascript:void(0)">小牛血清创新应用研讨会</a></td>
<td></td>
<td>3/26</td>
<td>已执行</td>
<td>
<a class="op-link" href="javascript:void(0)">提交</a>
<a class="op-link" href="javascript:void(0)">查看</a>
<a class="op-link" href="javascript:void(0)">修改</a>
<a class="op-link" href="javascript:void(0)">复制</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="javascript:void(0)">ZH-2026-650</a></td>
<td><a class="col-name" href="javascript:void(0)">整合医学学会项目评审会</a></td>
<td></td>
<td>5/26</td>
<td>已执行</td>
<td>
<a class="op-link" href="javascript:void(0)">查看</a>
<a class="op-link" href="javascript:void(0)">修改</a>
<a class="op-link" href="javascript:void(0)">复制</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="javascript:void(0)">ZH-2026-645</a></td>
<td><a class="col-name" href="javascript:void(0)">基层医疗改革试点中期评估</a></td>
<td></td>
<td>2/12</td>
<td>未执行</td>
<td>
<a class="op-link" href="javascript:void(0)">提交</a>
<a class="op-link" href="javascript:void(0)">查看</a>
<a class="op-link" href="javascript:void(0)">修改</a>
<a class="op-link" href="javascript:void(0)">复制</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="javascript:void(0)">ZH-2026-640</a></td>
<td><a class="col-name" href="javascript:void(0)">智慧医院建设项目方案论证</a></td>
<td></td>
<td>1/8</td>
<td>已执行</td>
<td>
<a class="op-link" href="javascript:void(0)">查看</a>
<a class="op-link" href="javascript:void(0)">修改</a>
<a class="op-link" href="javascript:void(0)">复制</a>
</td>
</tr>
<tr>
<td><input type="checkbox" class="row-check"></td>
<td><a class="col-code" href="javascript:void(0)">ZH-2026-635</a></td>
<td><a class="col-name" href="javascript:void(0)">数字化医疗转型方案评审</a></td>
<td></td>
<td>3/15</td>
<td>未执行</td>
<td>
<a class="op-link" href="javascript:void(0)">提交</a>
<a class="op-link" href="javascript:void(0)">查看</a>
<a class="op-link" href="javascript:void(0)">修改</a>
<a class="op-link" href="javascript:void(0)">复制</a>
</td>
</tr>
</tbody>
</table>
<div class="bulk-bar">
<span class="bulk-info">已选 <span id="selectedCount">0</span></span>
<div class="bulk-actions">
<button class="bulk-btn" onclick="batchAction('复制')">批量复制</button>
<button class="bulk-btn" onclick="batchAction('执会')">批量执会</button>
<button class="bulk-btn" onclick="batchAction('推流码')">批量推流码</button>
</div>
</div>
</div>
</main>
<script>
// 全选
document.getElementById('selectAll').addEventListener('change', function() {
document.querySelectorAll('.row-check').forEach(cb => cb.checked = this.checked);
updateCount();
});
document.querySelectorAll('.row-check').forEach(cb => {
cb.addEventListener('change', updateCount);
});
function updateCount() {
const n = document.querySelectorAll('.row-check:checked').length;
document.getElementById('selectedCount').textContent = n;
}
function batchAction(name) {
const n = document.querySelectorAll('.row-check:checked').length;
if (n === 0) { alert('请先勾选会议'); return; }
alert(`已对 ${n} 条会议执行:批量${name}`);
}
// 面包屑 → iframe 路由
function goHome() {
try {
if (window.parent && window.parent.document.getElementById('contentFrame')) {
window.parent.document.getElementById('contentFrame').src = 'overview.html';
}
} catch (e) {}
}
</script>
</body>
</html>