主要改动: - 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)
229 lines
6.4 KiB
HTML
229 lines
6.4 KiB
HTML
<!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: 24px 32px;
|
|
margin-bottom: 16px;
|
|
border: 1px solid #f0f0f0;
|
|
}
|
|
|
|
/* ============= 表单 ============= */
|
|
.form-row {
|
|
display: grid;
|
|
grid-template-columns: 110px 1fr;
|
|
gap: 16px;
|
|
align-items: center;
|
|
margin-bottom: 18px;
|
|
max-width: 560px;
|
|
}
|
|
|
|
.form-label {
|
|
text-align: right;
|
|
font-size: 14px;
|
|
color: #1a1a1a;
|
|
}
|
|
|
|
.form-label.required::before {
|
|
content: '*';
|
|
color: #ff4d4f;
|
|
margin-right: 4px;
|
|
}
|
|
|
|
.form-input {
|
|
height: 36px;
|
|
padding: 0 12px;
|
|
border: 1px solid #d9d9d9;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
color: #333;
|
|
background: #fff;
|
|
outline: none;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.form-input:focus {
|
|
border-color: #1890ff;
|
|
box-shadow: 0 0 0 3px rgba(24,144,255,0.1);
|
|
}
|
|
|
|
.form-input:disabled {
|
|
background: #f5f5f5;
|
|
color: #8c8c8c;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
/* ============= 按钮 ============= */
|
|
.form-actions {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
gap: 16px;
|
|
margin-top: 28px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #f0f0f0;
|
|
}
|
|
|
|
.form-btn {
|
|
height: 36px;
|
|
padding: 0 32px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
font-size: 14px;
|
|
cursor: pointer;
|
|
min-width: 120px;
|
|
}
|
|
|
|
.form-btn.primary {
|
|
background: #1890ff;
|
|
color: #fff;
|
|
}
|
|
|
|
.form-btn.primary:hover { background: #096dd9; }
|
|
|
|
.form-btn.default {
|
|
background: #fff;
|
|
color: #595959;
|
|
border: 1px solid #d9d9d9;
|
|
}
|
|
|
|
.form-btn.default:hover {
|
|
border-color: #1890ff;
|
|
color: #1890ff;
|
|
}
|
|
|
|
/* ============= 备注 ============= */
|
|
.hint-text {
|
|
font-size: 12px;
|
|
color: #8c8c8c;
|
|
margin-top: 8px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* ============= 分组 ============= */
|
|
.form-section {
|
|
margin-bottom: 24px;
|
|
}
|
|
|
|
.form-section:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.form-section-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #595959;
|
|
margin-bottom: 14px;
|
|
padding-left: 8px;
|
|
border-left: 3px solid #1890ff;
|
|
line-height: 1;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.content { padding: 16px; }
|
|
.form-row { grid-template-columns: 1fr; gap: 6px; }
|
|
.form-label { text-align: left; }
|
|
.card { padding: 20px; }
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<main class="content">
|
|
|
|
<div class="page-header">
|
|
<h1 class="page-title">账号管理</h1>
|
|
<p class="page-subtitle">修改个人信息、修改密码</p>
|
|
</div>
|
|
|
|
<div class="card">
|
|
|
|
<form id="accountForm" onsubmit="return false;">
|
|
<!-- 基本信息 -->
|
|
<div class="form-section">
|
|
<div class="form-section-title">基本信息</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label required">姓名</label>
|
|
<input type="text" class="form-input" value="张三" placeholder="请输入姓名">
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label required">手机号</label>
|
|
<input type="text" class="form-input" value="13800138000" placeholder="请输入手机号">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 修改密码 -->
|
|
<div class="form-section">
|
|
<div class="form-section-title">修改密码</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">原密码</label>
|
|
<input type="password" class="form-input" placeholder="请输入原密码">
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">新密码</label>
|
|
<input type="password" class="form-input" placeholder="请输入新密码">
|
|
</div>
|
|
|
|
<div class="form-row">
|
|
<label class="form-label">确认密码</label>
|
|
<input type="password" class="form-input" placeholder="请再次输入新密码">
|
|
</div>
|
|
|
|
<p class="hint-text">*密码长度 6-20 位,支持数字、字母、特殊字符;留空表示不修改密码</p>
|
|
</div>
|
|
|
|
<!-- 操作按钮 -->
|
|
<div class="form-actions">
|
|
<button type="button" class="form-btn primary" onclick="alert('保存成功')">保存</button>
|
|
<button type="reset" class="form-btn default">取消</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</main>
|
|
<script>
|
|
// 表单提交处理
|
|
document.getElementById('accountForm').addEventListener('submit', function(e) {
|
|
e.preventDefault();
|
|
alert('保存成功');
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |