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.
75 lines
4.1 KiB
75 lines
4.1 KiB
<!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>
|
|
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); }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="page-header">
|
|
<h1 class="page-title"><i class="bi bi-tools"></i> 安装维修</h1>
|
|
</div>
|
|
<div class="main-content">
|
|
<form id="installationForm">
|
|
<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>
|
|
<select class="form-select" required>
|
|
<option value="">请选择</option>
|
|
<option value="installation">安装</option>
|
|
<option value="repair">维修</option>
|
|
</select>
|
|
</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-6">
|
|
<label class="form-label">预计费用<span class="required">*</span></label>
|
|
<input type="number" class="form-control" step="0.01" required>
|
|
</div>
|
|
<div class="col-md-6">
|
|
<label class="form-label">申请时间<span class="required">*</span></label>
|
|
<input type="date" class="form-control" required>
|
|
</div>
|
|
<div class="col-md-12">
|
|
<label class="form-label">申请内容<span class="required">*</span></label>
|
|
<textarea class="form-control" rows="4" required></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex justify-content-end gap-3">
|
|
<button type="button" class="btn btn-secondary" onclick="cancelForm()">取消</button>
|
|
<button type="submit" class="btn btn-primary">提交申请</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<script src="https://cdn.staticfile.org/bootstrap/5.3.0/js/bootstrap.bundle.min.js"></script>
|
|
<script>
|
|
document.getElementById('installationForm').addEventListener('submit', function(e) {
|
|
e.preventDefault();
|
|
if (confirm('确定要提交申请吗?')) alert('提交成功!');
|
|
});
|
|
function cancelForm() { if (confirm('确定要取消吗?')) window.history.back(); }
|
|
</script>
|
|
</body>
|
|
</html>
|
|
|