主要改动: - 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)
482 lines
20 KiB
HTML
482 lines
20 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; }
|
|
|
|
/* 面包屑(对应 u12092) */
|
|
.breadcrumb {
|
|
font-size: 13px;
|
|
color: #8c8c8c;
|
|
margin-bottom: 12px;
|
|
}
|
|
.breadcrumb a { color: #1890ff; text-decoration: none; }
|
|
.breadcrumb a:hover { text-decoration: underline; }
|
|
|
|
/* ============= 按钮区(对应 u12116 + u12266,top:224 同一行) ============= */
|
|
.action-bar {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.action-btn {
|
|
height: 32px;
|
|
padding: 0 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
transition: all 0.2s;
|
|
}
|
|
.action-btn.primary {
|
|
background: #1890ff;
|
|
color: #fff;
|
|
}
|
|
.action-btn.primary:hover { background: #096dd9; }
|
|
.action-btn.default {
|
|
background: #fff;
|
|
color: #333;
|
|
border: 1px solid #d9d9d9;
|
|
}
|
|
.action-btn.default:hover {
|
|
border-color: #1890ff;
|
|
color: #1890ff;
|
|
}
|
|
|
|
/* ============= 红字提示(对应 u12268,top:248 紧接按钮下方) ============= */
|
|
.hint-text {
|
|
font-size: 12px;
|
|
color: #ff4d4f;
|
|
line-height: 1.6;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* ============= 筛选卡(对应原型 top:169-174) ============= */
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 20px 24px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
.filter-row {
|
|
display: grid;
|
|
grid-template-columns: repeat(5, 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 20px;
|
|
background: #1890ff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
.filter-btn:hover { background: #096dd9; }
|
|
|
|
/* ============= 表格(对应原型 top:297 表头 + 8 行数据) ============= */
|
|
.data-card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 0;
|
|
border: 1px solid #f0f0f0;
|
|
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-code {
|
|
color: #1890ff;
|
|
font-family: ui-monospace, "Courier New", monospace;
|
|
}
|
|
.col-name { color: #1a1a1a; font-weight: 500; }
|
|
.data-table input[type="checkbox"] {
|
|
cursor: pointer;
|
|
width: 14px;
|
|
height: 14px;
|
|
accent-color: #1890ff;
|
|
}
|
|
.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; }
|
|
|
|
/* ============= 弹框(对应 u12278 动态面板) ============= */
|
|
.modal-mask {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
}
|
|
.modal-mask.active { display: flex; }
|
|
.modal {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
width: 400px;
|
|
max-width: 90vw;
|
|
}
|
|
.modal-title {
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
padding: 20px 24px 16px;
|
|
text-align: center;
|
|
}
|
|
.modal-actions {
|
|
display: flex;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
.modal-actions button {
|
|
flex: 1;
|
|
height: 44px;
|
|
border: none;
|
|
background: #fff;
|
|
color: #333;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
}
|
|
.modal-actions button:first-child {
|
|
border-right: 1px solid #f0f0f0;
|
|
}
|
|
.modal-actions button:hover { background: #fafafa; }
|
|
|
|
@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>
|
|
<!--
|
|
============================================================
|
|
来源: /原型/我的项目设计投稿_1.html
|
|
/原型/files/我的项目设计投稿_1/styles.css
|
|
============================================================
|
|
按 top 升序的完整内容区模块:
|
|
#1 u12092 "首页" (287, 52) → 面包屑
|
|
#2 u12102/u12100 投稿名称 (348/281, 169/173) → 筛选 label+input
|
|
#3 u12105/u12103 学科方向 (582/515, 169/173) → 筛选 label+input
|
|
#4 u12118/u12119 形式 (784/745, 169/173) → 筛选 label+input(用户确认保留)
|
|
#5 u12108/u12106 状态 (972/891, 171/169) → 筛选 label+select(已结题/未结题)
|
|
#6 u12145/u12146 备注 (1163/1124, 170/174) → 筛选 label+input
|
|
#7 u12109 查找 (1329, 171) → 按钮
|
|
#8 u12116 新建投稿 (281, 224) → 按钮(与 #9 同行)
|
|
#9 u12266 批量提交 (446, 224) → 按钮(与 #8 同行)
|
|
#10 u12268 红字 *点击查看 (739, 248) → 紧接按钮下方
|
|
#11 u12094/u12154/u12098/u12141/u12121/u12143/u12156 表头 → 7 列表头
|
|
#12 8 行数据(原型 sample XXXXXX)
|
|
复选框 / 名称 / 学科方向 / 形式 / 设计文件(查看+下载) / 状态 / 备注 / 操作
|
|
#13 u12256 红字 *待审核 (1218, 397) → 表后
|
|
============================================================
|
|
弹框(对应 u12278 动态面板,top:297):
|
|
- 标题"您确定要提交吗?"
|
|
- 按钮"确定"/"取消"
|
|
============================================================
|
|
框架元素(由父级 doctor.html 渲染):
|
|
- u12072/u12074/u12076/u12078/u12080/u12082/u12084/u12086/u12088/u12090 侧边栏+顶栏
|
|
============================================================
|
|
新增项(非原型):
|
|
- 「形式」筛选 input(原型无,用户确认保留)
|
|
- 8 行样例数据(原型 8 个 XXXXXX 占位,自行填)
|
|
- 响应式 768px
|
|
删除项(原型不存在的):
|
|
- 「批量删除」按钮 → 原型只有"批量提交",没有"批量删除"
|
|
============================================================
|
|
-->
|
|
<main class="content">
|
|
|
|
<!-- #1 面包屑(对应 u12092) -->
|
|
<div class="breadcrumb">
|
|
<a href="javascript:void(0)" onclick="goHome()">首页</a> > 我的项目设计投稿
|
|
</div>
|
|
|
|
<!-- 筛选(对应 u12102/u12105/u12118/u12108/u12145/u12109) -->
|
|
<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="online">线上</option>
|
|
<option value="offline">线下</option>
|
|
<option value="both">线上+线下</option>
|
|
</select>
|
|
</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>
|
|
<input type="text" class="filter-input" placeholder="输入备注">
|
|
</div>
|
|
<button class="filter-btn">查找</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #8 + #9 按钮区(对应 u12116 + u12266,top:224 在筛选行 174 下方) -->
|
|
<div class="action-bar">
|
|
<button class="action-btn primary" onclick="goNewSubmission()">新建投稿</button>
|
|
<button class="action-btn default" onclick="openSubmitModal()">批量提交</button>
|
|
</div>
|
|
|
|
<!-- #10 红字(对应 u12268) -->
|
|
<p class="hint-text">*点击查看可进行预览</p>
|
|
|
|
<!-- #11 + #12 表格(对应 u12094/u12154/u12098/u12141/u12121/u12143/u12156 表头 + 8 行数据) -->
|
|
<div class="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>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<!-- 8 行(原型占位 XXXXXX,自行填样例) -->
|
|
<tr>
|
|
<td><input type="checkbox" class="row-check"></td>
|
|
<td><a class="col-name" href="submission-detail.html">小牛血清创新应用研讨会投稿</a></td>
|
|
<td>临床医学</td>
|
|
<td>线上</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>未结题</td>
|
|
<td></td>
|
|
<td><a class="op-link" href="javascript:void(0)" onclick="openSubmitModal()">提交</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-name" href="submission-detail.html">小牛血清临床应用二期</a></td>
|
|
<td>临床医学</td>
|
|
<td>线下</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>已结题</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">整合医学学会项目设计</a></td>
|
|
<td>临床医学</td>
|
|
<td>线上+线下</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>已退回</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">基层医疗改革试点方案投稿</a></td>
|
|
<td>临床医学</td>
|
|
<td>线下</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>未结题</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">智慧医院建设项目设计</a></td>
|
|
<td>临床医学</td>
|
|
<td>线上</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>已结题</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">数字化医疗转型方案 V2</a></td>
|
|
<td>临床医学</td>
|
|
<td>线上</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>未结题</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">公共卫生应急体系设计稿</a></td>
|
|
<td>临床医学</td>
|
|
<td>线下</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>已结题</td>
|
|
<td></td>
|
|
<td><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-name" href="submission-detail.html">中医诊疗标准化方案</a></td>
|
|
<td>临床医学</td>
|
|
<td>线下</td>
|
|
<td><a class="op-link" href="查看.html">查看</a> <a class="op-link" href="下载.html">下载</a></td>
|
|
<td>已退回</td>
|
|
<td></td>
|
|
<td><a class="op-link" href="javascript:void(0)">查看</a> <a class="op-link" href="javascript:void(0)">修改</a></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
<!-- #13 红字(对应 u12256) -->
|
|
<p class="hint-text" style="margin-top: 16px;">*待审核和审核通过后,操作只显示查看按钮,无法进行修改</p>
|
|
|
|
</main>
|
|
|
|
<!-- 弹框(对应 u12278 动态面板) -->
|
|
<div class="modal-mask" id="modalSubmit" onclick="if(event.target===this)closeSubmitModal()">
|
|
<div class="modal">
|
|
<div class="modal-title">您确定要提交吗?</div>
|
|
<div class="modal-actions">
|
|
<button onclick="confirmSubmit()">确定</button>
|
|
<button onclick="closeSubmitModal()">取消</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script>
|
|
// 面包屑点击 → 通知父级 iframe 切到首页
|
|
function goHome() {
|
|
navigateTo('home.html');
|
|
}
|
|
// 新建投稿(对应 u12116) → iframe 路由
|
|
function goNewSubmission() {
|
|
navigateTo('new-submission.html');
|
|
}
|
|
// 批量提交(对应 u12266) → 弹框
|
|
function openSubmitModal() {
|
|
document.getElementById('modalSubmit').classList.add('active');
|
|
}
|
|
function closeSubmitModal() {
|
|
document.getElementById('modalSubmit').classList.remove('active');
|
|
}
|
|
function confirmSubmit() {
|
|
const checked = document.querySelectorAll('.row-check:checked').length;
|
|
if (checked === 0) {
|
|
alert('请先勾选要提交的投稿');
|
|
closeSubmitModal();
|
|
return;
|
|
}
|
|
alert('已提交 ' + checked + ' 条投稿');
|
|
closeSubmitModal();
|
|
}
|
|
// ESC 关闭弹框
|
|
document.addEventListener('keydown', function(e) {
|
|
if (e.key === 'Escape') closeSubmitModal();
|
|
});
|
|
// 通用 iframe 路由(避免整页跳转)
|
|
function navigateTo(href) {
|
|
try {
|
|
if (window.parent && window.parent.document.getElementById('contentFrame')) {
|
|
window.parent.document.getElementById('contentFrame').src = href;
|
|
} else {
|
|
window.location.href = href;
|
|
}
|
|
} catch (e) {
|
|
window.location.href = href;
|
|
}
|
|
}
|
|
// 全选
|
|
document.getElementById('selectAll').addEventListener('change', function() {
|
|
document.querySelectorAll('.row-check').forEach(cb => cb.checked = this.checked);
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |