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:
@@ -0,0 +1,321 @@
|
||||
<!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;
|
||||
}
|
||||
|
||||
/* ============= 页头 ============= */
|
||||
.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;
|
||||
}
|
||||
|
||||
/* ============= 卡片 ============= */
|
||||
.card {
|
||||
background: #fff;
|
||||
border-radius: 8px;
|
||||
padding: 20px 24px;
|
||||
margin-bottom: 16px;
|
||||
border: 1px solid #f0f0f0;
|
||||
}
|
||||
|
||||
/* ============= 筛选区 ============= */
|
||||
.filter-row {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr 1fr auto 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;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.filter-input {
|
||||
flex: 1;
|
||||
height: 32px;
|
||||
padding: 0 10px;
|
||||
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);
|
||||
}
|
||||
|
||||
.filter-btn {
|
||||
height: 32px;
|
||||
padding: 0 20px;
|
||||
background: #1890ff;
|
||||
color: #fff;
|
||||
border: none;
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
cursor: pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.filter-btn:hover { background: #096dd9; }
|
||||
|
||||
.filter-btn.export {
|
||||
background: #fff;
|
||||
color: #595959;
|
||||
border: 1px solid #d9d9d9;
|
||||
}
|
||||
|
||||
.filter-btn.export:hover {
|
||||
border-color: #1890ff;
|
||||
color: #1890ff;
|
||||
}
|
||||
|
||||
/* ============= 红色提示双栏 ============= */
|
||||
.hint-bar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
margin-bottom: 16px;
|
||||
font-size: 12px;
|
||||
color: #ff4d4f;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
/* ============= 表格 ============= */
|
||||
.table-wrap {
|
||||
background: #fff;
|
||||
border: 1px solid #f0f0f0;
|
||||
border-radius: 8px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.data-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 13px;
|
||||
table-layout: auto;
|
||||
min-width: 1200px;
|
||||
}
|
||||
|
||||
.data-table thead th {
|
||||
background: #fafafa;
|
||||
padding: 12px 12px;
|
||||
text-align: left;
|
||||
color: #1a1a1a;
|
||||
font-weight: 600;
|
||||
border-bottom: 1px solid #f0f0f0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.data-table tbody td {
|
||||
padding: 12px 12px;
|
||||
border-bottom: 1px solid #f5f5f5;
|
||||
color: #595959;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.data-table tbody tr:hover { background: #fafcff; }
|
||||
|
||||
.col-code {
|
||||
color: #1890ff;
|
||||
font-family: ui-monospace, "Courier New", monospace;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.col-name { color: #1a1a1a; font-weight: 500; }
|
||||
|
||||
.col-narrow { width: 60px; }
|
||||
|
||||
.status-tag {
|
||||
display: inline-block;
|
||||
padding: 2px 10px;
|
||||
border-radius: 10px;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.status-active { background: #e6f7ff; color: #1890ff; }
|
||||
.status-disabled { background: #fff1f0; color: #ff4d4f; }
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.filter-row { grid-template-columns: 1fr; }
|
||||
.content { padding: 16px; }
|
||||
.data-table { font-size: 12px; }
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<main class="content">
|
||||
|
||||
<!-- ============= 页头 ============= -->
|
||||
<div class="page-header">
|
||||
<h1 class="page-title">执行意向</h1>
|
||||
<p class="page-subtitle">查看已申请执行意向的人员及所属项目</p>
|
||||
</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>
|
||||
<input type="text" class="filter-input" placeholder="输入工作单位">
|
||||
</div>
|
||||
<button class="filter-btn">查找</button>
|
||||
<button class="filter-btn export">导出</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- ============= 双栏红色提示 ============= -->
|
||||
<div class="hint-bar">
|
||||
<span>*项目公示中点击执行意向后,显示在此</span>
|
||||
<span>*执行意向为在供应商系统已注册账号,并点击了执行申请的账号</span>
|
||||
</div>
|
||||
|
||||
<!-- ============= 表格 ============= -->
|
||||
<div class="table-wrap">
|
||||
<table class="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>执行意向项目编号</th>
|
||||
<th>执行意向项目名称</th>
|
||||
<th class="col-narrow">姓名</th>
|
||||
<th>工作单位名称</th>
|
||||
<th class="col-narrow">部门</th>
|
||||
<th>职务</th>
|
||||
<th>手机号</th>
|
||||
<th>是否入库</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>张三</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>李四</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-disabled">未入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>张三</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>李四</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>张三</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>李四</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>张三</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="col-code op-link" href="javascript:void(0)" style="margin:0;">ZH-2026-658</a></td>
|
||||
<td><a class="col-name op-link" href="javascript:void(0)" style="margin:0;">小牛血清创新应用研讨会</a></td>
|
||||
<td>李四</td>
|
||||
<td>北京XXXXXX公司</td>
|
||||
<td>华北大区</td>
|
||||
<td>项目负责人</td>
|
||||
<td>13512321597</td>
|
||||
<td><span class="status-tag status-active">已入库</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user