forked from wangziqi/gongxue-base
feat: 更新系统名称为学生管理系统,修改相关页面标题和生成的账单信息
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>`;
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user