feat: 更新系统名称为学生管理系统,修改相关页面标题和生成的账单信息

This commit is contained in:
2026-07-21 10:32:21 +08:00
parent 29c55ebff1
commit a9961d1a99
5 changed files with 8 additions and 8 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>恭学教育基地管理系统</title>
<title>学生管理系统</title>
</head>
<body>
<div id="root"></div>

View File

@@ -217,7 +217,7 @@ const MainLayout: React.FC = () => {
borderBottom: '1px solid #e5e5e7',
}}
>
{collapsed ? '' : '恭学教育基地'}
{collapsed ? '' : '学生管理系统'}
</div>
{menuContent}
</Sider>
@@ -230,7 +230,7 @@ const MainLayout: React.FC = () => {
size={240}
styles={{ body: { padding: 0 } }}
className="app-navigation-drawer"
title="恭学教育基地"
title="学生管理系统"
>
{menuContent}
</Drawer>

View File

@@ -103,7 +103,7 @@ export const buildBillPrintHtml = (bill: BillPrintData) => {
<thead><tr><th>费用类型</th><th>说明</th><th>天数</th><th>总人天</th><th>金额(元)</th></tr></thead>
<tbody>${rows || '<tr><td class="empty" colspan="5">暂无费用明细</td></tr>'}</tbody>
</table>
<div class="footer">本账单由恭学教育基地管理系统自动生成</div>
<div class="footer">本账单由学生管理系统自动生成</div>
<script>window.addEventListener('load', function () { setTimeout(function () { window.print(); }, 100); });</script>
</body>
</html>`;

View File

@@ -56,9 +56,9 @@ const LoginPage: React.FC = () => {
>
<div style={{ textAlign: 'center', marginBottom: 32 }}>
<Title level={3} style={{ margin: 0, fontWeight: 600, color: '#1d1d1f' }}>
</Title>
<p style={{ color: '#86868b', marginTop: 8 }}></p>
<p style={{ color: '#86868b', marginTop: 8 }}></p>
</div>
<Form name="login" onFinish={onFinish} size="large">
<Form.Item

View File

@@ -35,7 +35,7 @@ export class BillsExportService {
const bills = await qb.getMany();
const workbook = new ExcelJS.Workbook();
workbook.creator = '恭学教育基地管理系统';
workbook.creator = '学生管理系统';
// Sheet 1: 账单汇总
const ws = workbook.addWorksheet('账单汇总');
@@ -244,7 +244,7 @@ export class BillsExportService {
doc
.fontSize(8)
.fillColor('#999')
.text('本账单由恭学教育基地管理系统自动生成', { align: 'center' });
.text('本账单由学生管理系统自动生成', { align: 'center' });
doc.end();
}