主要改动: - 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)
86 lines
5.4 KiB
HTML
86 lines
5.4 KiB
HTML
<!DOCTYPE html>
|
|
<!-- 角色:合规 父级:manager.html 原型:原型/查看_2.html
|
|
原型归属:查看人员(read-only 人员详情)
|
|
字段(按 top 排):
|
|
#u10675/u10687 姓名 top:270
|
|
#u10677/u10689 手机号 top:316
|
|
#u10679/u10691 工作单位 top:366
|
|
#u10681/u10693 部门 top:407
|
|
#u10683/u10695 职务 top:458
|
|
#u10685/u10697 角色 top:511
|
|
#u10699/u10701 状态 top:563
|
|
面包屑:首页 / 人员管理 / 查看人员 (u10671 top:183)
|
|
返回按钮 (u10673 top:632)
|
|
说明:此前版本被误实现为「查看材料」,现修正为「查看人员」 -->
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0"><title>查看人员 v2</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:16px}
|
|
.breadcrumb a{color:#1890ff;text-decoration:none;cursor:pointer}.breadcrumb a:hover{text-decoration:underline}
|
|
.breadcrumb .sep{margin:0 6px;color:#bfbfbf}
|
|
.breadcrumb .current{color:#595959}
|
|
.page-title{font-size:22px;font-weight:600;color:#1a1a1a;margin-bottom:20px}
|
|
.card{background:#fff;border-radius:8px;padding:24px 32px;margin-bottom:16px;border:1px solid #f0f0f0}
|
|
.section-title{font-size:16px;font-weight:600;color:#1a1a1a;margin-bottom:20px;padding-left:10px;border-left:3px solid #1890ff}
|
|
.info-row{display:flex;align-items:center;margin-bottom:14px}
|
|
.info-label{flex:0 0 110px;font-size:14px;color:#595959;text-align:right;padding-right:16px}
|
|
.info-value{font-size:14px;color:#1a1a1a;font-weight:500}
|
|
.role-tag{display:inline-block;padding:3px 10px;border-radius:4px;font-size:13px;font-weight:500}
|
|
.role-tag.admin{background:#fff1f0;color:#f5222d;border:1px solid #ffa39e}
|
|
.role-tag.monitor{background:#e6f4ff;color:#1890ff;border:1px solid #91d5ff}
|
|
.status-tag{display:inline-block;padding:3px 10px;border-radius:4px;font-size:13px;font-weight:500}
|
|
.status-tag.active{background:#f6ffed;color:#52c41a;border:1px solid #b7eb8f}
|
|
.status-tag.disabled{background:#fff1f0;color:#f5222d;border:1px solid #ffa39e}
|
|
.form-actions{display:flex;justify-content:flex-start;padding:16px 0 0;margin-top:8px}
|
|
.btn-default{height:36px;padding:0 32px;background:#fff;color:#333;border:1px solid #d9d9d9;border-radius:4px;font-size:14px;cursor:pointer;transition:all .2s}
|
|
.btn-default:hover{border-color:#1890ff;color:#1890ff}
|
|
.btn-primary{height:36px;padding:0 32px;background:#1890ff;color:#fff;border:1px solid #1890ff;border-radius:4px;font-size:14px;cursor:pointer;margin-left:12px}
|
|
.btn-primary:hover{background:#096dd9;border-color:#096dd9}
|
|
@media(max-width:768px){.content{padding:16px}.card{padding:16px}.info-row{flex-direction:column;align-items:stretch}.info-label{text-align:left;padding-right:0;margin-bottom:4px}.form-actions{flex-direction:column}.btn-default,.btn-primary{width:100%;margin-left:0}}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="content">
|
|
<div class="breadcrumb">
|
|
<a href="javascript:void(0)" onclick="goBack('sponsor-people.html')">首页</a>
|
|
<span class="sep">/</span>
|
|
<a href="javascript:void(0)" onclick="goBack('sponsor-people.html')">人员管理</a>
|
|
<span class="sep">/</span>
|
|
<span class="current">查看人员</span>
|
|
</div>
|
|
<h1 class="page-title">查看人员</h1>
|
|
<div class="card">
|
|
<div class="section-title">人员详情</div>
|
|
<div class="info-row"><span class="info-label">姓名:</span><span class="info-value" id="vName">张三</span></div>
|
|
<div class="info-row"><span class="info-label">手机号:</span><span class="info-value" id="vPhone">13534621147</span></div>
|
|
<div class="info-row"><span class="info-label">工作单位:</span><span class="info-value" id="vCompany">北京XXXXXXX公司</span></div>
|
|
<div class="info-row"><span class="info-label">部门:</span><span class="info-value" id="vDept">华北大区</span></div>
|
|
<div class="info-row"><span class="info-label">职务:</span><span class="info-value" id="vTitle">项目负责人</span></div>
|
|
<div class="info-row"><span class="info-label">角色:</span><span class="info-value"><span class="role-tag monitor" id="vRole">监察员</span></span></div>
|
|
<div class="info-row"><span class="info-label">状态:</span><span class="info-value"><span class="status-tag active" id="vStatus">正常</span></span></div>
|
|
</div>
|
|
<div class="form-actions">
|
|
<button type="button" class="btn-default" onclick="goBack('sponsor-people.html')">返回</button>
|
|
<button type="button" class="btn-primary" onclick="goEdit()">编辑</button>
|
|
</div>
|
|
</main>
|
|
<script>
|
|
function goBack(target){
|
|
try{
|
|
if(window.parent&&window.parent.document.getElementById('contentFrame')){
|
|
window.parent.document.getElementById('contentFrame').src=target;
|
|
}else{
|
|
history.back();
|
|
}
|
|
}catch(e){history.back()}
|
|
}
|
|
function goEdit(){
|
|
// 跳到新建/编辑表单页,业务上由后端根据 ?id=xxx 判断新建还是编辑
|
|
goBack('sponsor-new-person.html');
|
|
}
|
|
</script>
|
|
</body>
|
|
</html> |