主要改动: - 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)
434 lines
18 KiB
HTML
434 lines
18 KiB
HTML
<!DOCTYPE html>
|
|
<!--
|
|
角色: 执行方
|
|
父级: executor.html
|
|
链: <li data-page="components/people.html">
|
|
原型: 原型/人员管理.html
|
|
============================================================
|
|
按 top 排序的内容区模块:
|
|
#1 u8414 姓名 (258, 142) → 筛选 label
|
|
#2 u8416 姓名 (297, 137) → 筛选 input
|
|
#3 u8417 手机号(478, 142) → 筛选 label
|
|
#4 u8419 手机号(531, 137) → 筛选 input
|
|
#5 u8426 工作单位(?, 137) → 筛选 input
|
|
#6 u8427 工作单位(?, 142) → 筛选 label
|
|
#7 u8429 部门 (693, 142) → 筛选 label
|
|
#8 u8431 职务 (803, 142) → 筛选 label
|
|
#9 u8420 "新建人员" button (270, 195)
|
|
#10 u8424 "批量导入" button (436, 195)
|
|
#11 u8404/u8406/u8410/u8429/u8431/u8516 表头 6 列 (top:265)
|
|
姓名(313) / 手机号(410) / 工作单位(546) / 部门(693) / 职务(803) / 操作(995)
|
|
#12 u8408 水平线 (264, 298)
|
|
#13 u8422 复选框(270, 321) 8 行
|
|
#14 数据行:8 行 × 8 列(复选框+6 字段+角色/状态) top:574-616
|
|
#15 u8386 红字 *角色:执行方管理员新建人员时,默认只有会议执行的角色
|
|
============================================================
|
|
框架元素(由父级 executor.html 渲染):
|
|
- u8332/u8334/u8336/u8338/u8340/u8342/u8344/u8346/u8348/u8350 侧边栏+顶栏
|
|
============================================================
|
|
新增项(非原型):
|
|
- 复选框列(原型行内 8 个独立 checkbox,没有列头,整合为整列)
|
|
- 角色/状态 状态 tag(原型只有"会务执行"占位,扩展为正式状态)
|
|
- 响应式 768px
|
|
待补(当前不做,等子页面时处理):
|
|
- 操作列链(项目编号/项目名称链 项目详情.html 等)
|
|
- 详细行内容(原型 u8400/u8402 姓名+手机号 字段,u8545/u8547/u8569/u8571/u8573 8 行)
|
|
-->
|
|
<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; }
|
|
|
|
.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);
|
|
}
|
|
.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; }
|
|
|
|
.action-bar {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
.primary-btn {
|
|
height: 32px;
|
|
padding: 0 20px;
|
|
background: #1890ff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
.primary-btn:hover { background: #096dd9; }
|
|
.default-btn {
|
|
height: 32px;
|
|
padding: 0 20px;
|
|
background: #fff;
|
|
color: #333;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
}
|
|
.default-btn:hover { border-color: #1890ff; color: #1890ff; }
|
|
|
|
.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-name { color: #1a1a1a; font-weight: 500; }
|
|
.role-tag {
|
|
display: inline-block;
|
|
padding: 2px 10px;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
background: #e6f7ff;
|
|
color: #1890ff;
|
|
}
|
|
.status-tag {
|
|
display: inline-block;
|
|
padding: 2px 10px;
|
|
border-radius: 10px;
|
|
font-size: 12px;
|
|
}
|
|
.status-normal { background: #f6ffed; color: #52c41a; }
|
|
.status-disabled { background: #fff1f0; color: #ff4d4f; }
|
|
.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 { gap: 8px; }
|
|
.data-table { font-size: 12px; }
|
|
.data-table { display: block; overflow-x: auto; white-space: nowrap; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="content">
|
|
|
|
<div class="breadcrumb">
|
|
<a href="javascript:void(0)" onclick="goHome()">首页</a> > 人员管理
|
|
</div>
|
|
|
|
<div class="page-header">
|
|
<div>
|
|
<h1 class="page-title">人员管理</h1>
|
|
<p class="page-subtitle">管理执行方人员,分配会务执行角色</p>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #1~#8 筛选区(对应原型 top:137-142) -->
|
|
<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="输入工作单位">
|
|
</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>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- #9 + #10 按钮(对应原型 u8420/u8424 top:195) -->
|
|
<div class="action-bar">
|
|
<button class="primary-btn" onclick="alert('新建人员:待原型 新建人员__1_.html 实现')">新建人员</button>
|
|
<button class="default-btn" onclick="alert('批量导入:待原型 实现')">批量导入</button>
|
|
</div>
|
|
|
|
<!-- #15 红字提示(对应原型 u8386) -->
|
|
<div class="hint-list">
|
|
<p>*角色:执行方管理员新建人员时,默认只有会议执行的角色</p>
|
|
</div>
|
|
|
|
<!-- #11 表头(对应原型 u8404/u8406/u8410/u8429/u8431/u8516 + 复选框列) -->
|
|
<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>工作单位</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-name" href="javascript:void(0)">张三</a></td>
|
|
<td>13534621147</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>经理</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">李四</a></td>
|
|
<td>13534621148</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>专员</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">王五</a></td>
|
|
<td>13534621149</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>主管</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">赵六</a></td>
|
|
<td>13534621150</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>专员</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">钱七</a></td>
|
|
<td>13534621151</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>经理</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">孙八</a></td>
|
|
<td>13534621152</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>专员</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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-name" href="javascript:void(0)">周九</a></td>
|
|
<td>13534621153</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>主管</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-disabled">禁用</span></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-name" href="javascript:void(0)">吴十</a></td>
|
|
<td>13534621154</td>
|
|
<td>北京XXXX有限公司</td>
|
|
<td>会务部</td>
|
|
<td>专员</td>
|
|
<td><span class="role-tag">会务执行</span></td>
|
|
<td><span class="status-tag status-normal">正常</span></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>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
document.getElementById('selectAll').addEventListener('change', function() {
|
|
document.querySelectorAll('.row-check').forEach(cb => cb.checked = this.checked);
|
|
});
|
|
function goHome() {
|
|
try {
|
|
if (window.parent && window.parent.document.getElementById('contentFrame')) {
|
|
window.parent.document.getElementById('contentFrame').src = 'overview.html';
|
|
}
|
|
} catch (e) {}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |