You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

219 lines
8.0 KiB

5 months ago
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>上会流程 - 资金使用管理系统</title>
<link href="https://cdn.staticfile.org/bootstrap/5.3.0/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.staticfile.org/bootstrap-icons/1.11.0/font/bootstrap-icons.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
background-color: #f5f7fa;
padding: 20px;
}
.page-header {
background: white;
padding: 25px 30px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.page-title {
font-size: 24px;
font-weight: 600;
color: #333;
margin: 0;
}
.page-title i {
margin-right: 10px;
color: #667eea;
}
.main-content {
background: white;
border-radius: 10px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
padding: 30px;
}
.form-section {
margin-bottom: 30px;
}
.section-title {
font-size: 18px;
font-weight: 600;
color: #333;
margin-bottom: 20px;
padding-bottom: 10px;
border-bottom: 2px solid #e5e7eb;
}
.form-label {
font-weight: 500;
color: #333;
margin-bottom: 8px;
}
.form-label .required {
color: #ef4444;
margin-left: 3px;
}
.form-control, .form-select {
border: 1px solid #d1d5db;
border-radius: 6px;
padding: 10px 12px;
}
.form-control:focus, .form-select:focus {
border-color: #667eea;
box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}
.btn-submit {
padding: 12px 30px;
font-weight: 600;
}
.btn-cancel {
padding: 12px 30px;
}
</style>
</head>
<body>
<!-- 页面头部 -->
<div class="page-header">
<h1 class="page-title">
<i class="bi bi-people"></i> 上会流程
</h1>
</div>
<!-- 主要内容 -->
<div class="main-content">
<form id="meetingProcessForm">
<!-- 基本信息 -->
<div class="form-section">
<h3 class="section-title">基本信息</h3>
<div class="row g-3">
<div class="col-md-6">
<label class="form-label">会议名称<span class="required">*</span></label>
<input type="text" class="form-control" required>
</div>
<div class="col-md-6">
<label class="form-label">会议类型<span class="required">*</span></label>
<select class="form-select" required>
<option value="">请选择</option>
<option value="approval">审批会议</option>
<option value="discussion">讨论会议</option>
<option value="review">评审会议</option>
<option value="other">其他</option>
</select>
</div>
<div class="col-md-6">
<label class="form-label">会议时间<span class="required">*</span></label>
<input type="datetime-local" class="form-control" required>
</div>
<div class="col-md-6">
<label class="form-label">会议地点<span class="required">*</span></label>
<input type="text" class="form-control" required>
</div>
<div class="col-md-12">
<label class="form-label">会议议题<span class="required">*</span></label>
<textarea class="form-control" rows="3" required></textarea>
</div>
</div>
</div>
<!-- 参会人员 -->
<div class="form-section">
<h3 class="section-title">参会人员</h3>
<div class="row g-3">
<div class="col-md-6">
<label class="form-label">主持人<span class="required">*</span></label>
<input type="text" class="form-control" required>
</div>
<div class="col-md-6">
<label class="form-label">记录人</label>
<input type="text" class="form-control">
</div>
<div class="col-md-12">
<label class="form-label">参会人员<span class="required">*</span></label>
<textarea class="form-control" rows="3" placeholder="请输入参会人员姓名,多个人员用逗号分隔" required></textarea>
</div>
</div>
</div>
<!-- 上会议题 -->
<div class="form-section">
<h3 class="section-title">上会议题</h3>
<div class="row g-3">
<div class="col-md-12">
<label class="form-label">议题内容<span class="required">*</span></label>
<textarea class="form-control" rows="5" required></textarea>
</div>
<div class="col-md-6">
<label class="form-label">涉及金额</label>
<input type="number" class="form-control" placeholder="请输入金额">
</div>
<div class="col-md-6">
<label class="form-label">相关流程编号</label>
<input type="text" class="form-control" placeholder="如有相关流程,请输入流程编号">
</div>
</div>
</div>
<!-- 附件上传 -->
<div class="form-section">
<h3 class="section-title">附件上传</h3>
<div class="mb-3">
<label class="form-label">会议材料</label>
<input type="file" class="form-control" multiple accept=".pdf,.doc,.docx,.xls,.xlsx">
<small class="text-muted">支持PDF、Word、Excel格式可上传多个文件</small>
</div>
</div>
<!-- 操作按钮 -->
<div class="d-flex justify-content-end gap-3">
<button type="button" class="btn btn-secondary btn-cancel" onclick="cancelForm()">取消</button>
<button type="button" class="btn btn-outline-primary" onclick="saveDraft()">保存草稿</button>
<button type="submit" class="btn btn-primary btn-submit">提交申请</button>
</div>
</form>
</div>
<script src="https://cdn.staticfile.org/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
<script>
document.getElementById('meetingProcessForm').addEventListener('submit', function(e) {
e.preventDefault();
if (confirm('确定要提交上会流程申请吗?')) {
alert('提交成功!');
// 这里应该调用后端API提交数据
}
});
function cancelForm() {
if (confirm('确定要取消吗?未保存的数据将丢失。')) {
window.history.back();
}
}
function saveDraft() {
alert('草稿已保存');
// 这里应该调用后端API保存草稿
}
</script>
</body>
</html>