主要改动: - 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)
375 lines
14 KiB
HTML
375 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
<!-- 角色:合规 父级:manager.html 原型:原型/执行单位管理.html
|
|
按 top 升序的字段映射(共 6 列 + 5 筛选):
|
|
表格列(6):公司名称 / 公司地址 / 税号/统一社会信用代码 / 合作状态 / 创建日期 / 操作
|
|
筛选(2 行,按原型 top 升序):
|
|
Row 1 (top:174):公司名称 / 查找
|
|
Row 2 (top:216-221):合作状态 / 税号/统一社会信用代码 / 公司地址
|
|
操作列(每行 2 链接):查看 + 禁用(状态正常时) / 查看 + 启用(状态禁用时) -->
|
|
<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: flex;
|
|
flex-wrap: wrap;
|
|
gap: 12px 16px;
|
|
align-items: center;
|
|
}
|
|
|
|
.filter-field {
|
|
flex: 0 0 240px;
|
|
}
|
|
|
|
.filter-field {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
|
|
.filter-label {
|
|
font-size: 14px;
|
|
color: #595959;
|
|
white-space: nowrap;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.filter-input,
|
|
.filter-select {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 32px;
|
|
padding: 0 10px;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
color: #333;
|
|
background: #fff;
|
|
outline: none;
|
|
}
|
|
|
|
.filter-date-range {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.filter-date-range .filter-input {
|
|
width: 90px;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.filter-input:focus,
|
|
.filter-select:focus {
|
|
border-color: #1890ff;
|
|
box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
|
|
}
|
|
|
|
.filter-btn {
|
|
height: 32px;
|
|
padding: 0 24px;
|
|
background: #1890ff;
|
|
color: #fff;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 13px;
|
|
cursor: pointer;
|
|
flex: 0 0 auto;
|
|
}
|
|
|
|
.filter-btn:hover { background: #096dd9; }
|
|
|
|
/* ============= 备注 ============= */
|
|
.hint-text {
|
|
font-size: 12px;
|
|
color: #ff4d4f;
|
|
margin: 8px 0;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ============= 表格 ============= */
|
|
.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: fixed;
|
|
min-width: 1100px;
|
|
}
|
|
|
|
.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-name { width: 18%; }
|
|
.col-addr { width: 24%; }
|
|
.col-tax { width: 22%; font-family: ui-monospace, "Courier New", monospace; font-size: 12px; }
|
|
.col-status { width: 10%; text-align: center; }
|
|
.col-date { width: 12%; }
|
|
.col-op { width: 14%; }
|
|
|
|
.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;
|
|
text-decoration: none;
|
|
margin-right: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.op-link:last-child { margin-right: 0; }
|
|
.op-link:hover { text-decoration: underline; }
|
|
|
|
.op-link.danger { color: #ff4d4f; }
|
|
|
|
@media (max-width: 768px) {
|
|
.filter-row { gap: 12px; }
|
|
.filter-field { flex: 0 0 100%; }
|
|
.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>
|
|
|
|
<!-- 筛选区(按原型 top 升序,4 字段 + 查找按钮单行布局) -->
|
|
<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>
|
|
<div class="filter-field">
|
|
<span class="filter-label">创建日期:</span>
|
|
<div class="filter-date-range">
|
|
<input type="text" class="filter-input" placeholder="开始日期">
|
|
<span class="filter-date-sep">至</span>
|
|
<input type="text" class="filter-input" placeholder="结束日期">
|
|
</div>
|
|
</div>
|
|
<button class="filter-btn">查找</button>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 表格 -->
|
|
<div class="table-wrap">
|
|
<table class="data-table">
|
|
<colgroup>
|
|
<col class="col-name">
|
|
<col class="col-addr">
|
|
<col class="col-tax">
|
|
<col class="col-status">
|
|
<col class="col-date">
|
|
<col class="col-op">
|
|
</colgroup>
|
|
<thead>
|
|
<tr>
|
|
<th>单位名称</th>
|
|
<th>单位地址</th>
|
|
<th>税号/统一社会信用代码</th>
|
|
<th class="col-status">合作状态</th>
|
|
<th class="col-date">创建日期</th>
|
|
<th>操作</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-disabled">已禁用</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">启用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>北京XXXXXXX公司</td>
|
|
<td>北京市海淀区XXX路XXXX号</td>
|
|
<td>91330101MA2GPR961K</td>
|
|
<td class="col-status"><span class="status-tag status-normal">正常</span></td>
|
|
<td>2026.05.22</td>
|
|
<td>
|
|
<a class="op-link" href="javascript:void(0)" onclick="navigateTo('execution-unit-view.html')">查看</a>
|
|
<a class="op-link" href="javascript:void(0)">人员管理</a>
|
|
<a class="op-link danger" href="javascript:void(0)">禁用</a>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
</main>
|
|
<script>
|
|
// 子页面跳转走 iframe 路由(父级 manager.html#contentFrame), 避免整页刷新丢失侧边栏
|
|
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; }
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |