主要改动: - 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)
248 lines
8.4 KiB
HTML
248 lines
8.4 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
角色: 执行方
|
|
父级: executor.html
|
|
原型: 原型/新建会议_1.html
|
|
============================================================
|
|
按 top 排序的内容区模块:
|
|
#1 u7332 面包屑 (271, 153) → 项目列表>新建会议
|
|
#2 u7334 h1 (731, 198) → 新建会议
|
|
#3 u7380 红字 (834, 311) → *会议名称默认为项目名称,不可修改
|
|
#4 左列(373-653) → 项目编号/项目名称/总场次/支持单位/创建时间/创建人员(只读)
|
|
#5 右列(377-618) → 会议名称(只读)/期数/会议开始时间/会议结束时间/备注
|
|
#6 u7376 保存 (592, 800) → 主按钮
|
|
#7 u7378 取消 (857, 800) → 次按钮
|
|
============================================================
|
|
框架元素(由父级 executor.html 渲染):
|
|
- u7310-u7331 侧边栏+顶栏
|
|
============================================================
|
|
新增项(非原型):
|
|
- 响应式 768px
|
|
-->
|
|
<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-title {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: #1a1a1a;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.card {
|
|
background: #fff;
|
|
border-radius: 8px;
|
|
padding: 32px 40px;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.hint-text {
|
|
font-size: 12px;
|
|
color: #ff4d4f;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.form-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 20px 32px;
|
|
max-width: 900px;
|
|
}
|
|
.form-row {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.form-label {
|
|
flex: 0 0 110px;
|
|
font-size: 14px;
|
|
color: #595959;
|
|
text-align: right;
|
|
padding-right: 16px;
|
|
white-space: nowrap;
|
|
}
|
|
.form-input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 32px;
|
|
padding: 0 12px;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
color: #333;
|
|
background: #fff;
|
|
outline: none;
|
|
transition: all 0.2s;
|
|
}
|
|
.form-input:focus {
|
|
border-color: #1890ff;
|
|
box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
|
|
}
|
|
.form-input[readonly] {
|
|
background: #fafafa;
|
|
color: #595959;
|
|
cursor: not-allowed;
|
|
}
|
|
.form-value {
|
|
flex: 1;
|
|
font-size: 14px;
|
|
color: #1a1a1a;
|
|
line-height: 32px;
|
|
}
|
|
.form-value.code {
|
|
font-family: ui-monospace, "Courier New", monospace;
|
|
color: #1890ff;
|
|
}
|
|
|
|
.form-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: flex-start;
|
|
margin-top: 32px;
|
|
padding-top: 24px;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
.btn {
|
|
height: 40px;
|
|
padding: 0 32px;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
min-width: 140px;
|
|
transition: all 0.2s;
|
|
}
|
|
.btn-primary {
|
|
background: #169bd5;
|
|
color: #fff;
|
|
border: 1px solid #169bd5;
|
|
}
|
|
.btn-primary:hover { background: #0f8db8; border-color: #0f8db8; }
|
|
.btn-default {
|
|
background: #fff;
|
|
color: #333;
|
|
border: 1px solid #797979;
|
|
}
|
|
.btn-default:hover { border-color: #1890ff; color: #1890ff; }
|
|
|
|
@media (max-width: 768px) {
|
|
.content { padding: 16px; }
|
|
.card { padding: 16px; }
|
|
.form-grid { grid-template-columns: 1fr; }
|
|
.form-actions { flex-direction: column; }
|
|
.btn { width: 100%; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="content">
|
|
|
|
<!-- #1 面包屑(对应 u7332) -->
|
|
<div class="breadcrumb">
|
|
<a href="javascript:void(0)" onclick="goBack()">项目列表</a> > 新建会议
|
|
</div>
|
|
|
|
<!-- #2 h1(对应 u7334) -->
|
|
<h1 class="page-title">新建会议</h1>
|
|
|
|
<!-- #3 红字(对应 u7380) -->
|
|
<p class="hint-text">*会议名称默认为项目名称,不可修改</p>
|
|
|
|
<!-- #4+#5 表单(对应原型两列布局) -->
|
|
<div class="card">
|
|
<div class="form-grid">
|
|
<!-- 左列(对应原型 left:374-451,6个只读值) -->
|
|
<div class="form-row">
|
|
<span class="form-label">项目编号:</span>
|
|
<span class="form-value code">ZH-2026-658</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">项目名称:</span>
|
|
<span class="form-value">小牛血清创新应用研讨会</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">总场次/总期数:</span>
|
|
<span class="form-value">26</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">支持单位:</span>
|
|
<span class="form-value">北京XXXX有限公司</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">创建时间:</span>
|
|
<span class="form-value">2026.05.11 11:30</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">创建人员:</span>
|
|
<span class="form-value">张三</span>
|
|
</div>
|
|
|
|
<!-- 右列(对应原型 left:789-895,5个字段) -->
|
|
<div class="form-row">
|
|
<span class="form-label">会议名称:</span>
|
|
<span class="form-value">小牛血清创新应用研讨会</span>
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">期数:</span>
|
|
<input type="text" class="form-input" placeholder="请输入期数">
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">会议开始时间:</span>
|
|
<input type="text" class="form-input" placeholder="选择开始时间">
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">会议结束时间:</span>
|
|
<input type="text" class="form-input" placeholder="选择结束时间">
|
|
</div>
|
|
<div class="form-row">
|
|
<span class="form-label">备注:</span>
|
|
<input type="text" class="form-input" placeholder="请输入备注">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #6+#7 按钮(对应 u7376/u7378) -->
|
|
<div class="form-actions">
|
|
<button type="button" class="btn btn-primary" onclick="save()">保存</button>
|
|
<button type="button" class="btn btn-default" onclick="goBack()">取消</button>
|
|
</div>
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
function save() {
|
|
alert('会议创建成功');
|
|
goBack();
|
|
}
|
|
function goBack() {
|
|
try {
|
|
if (window.parent && window.parent.document.getElementById('contentFrame')) {
|
|
window.parent.document.getElementById('contentFrame').src = 'projects.html';
|
|
} else {
|
|
history.back();
|
|
}
|
|
} catch (e) {
|
|
history.back();
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |