This commit is contained in:
Vectorune
2025-10-29 14:56:40 +08:00
parent 86b97db885
commit 8f526240f9
2 changed files with 25 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import {Button, Divider, Drawer, Form, Input, message, Radio, Space, Upload} fro
import {UploadOutlined} from "@ant-design/icons";
import creatMessageCommonAxios from "../../../http/CreatMessageCommonAxios";
import ImportHistoryTable from "./ImportHistoryTable";
import { Content } from 'antd/es/layout/layout';
const ImportDataDrawer = props => {
@ -119,7 +120,31 @@ const ImportDataDrawer = props => {
>
<Button icon={<UploadOutlined/>}>点击此处上传</Button>
</Upload>
</Form.Item>
<div style={{
textAlign: 'center',
marginTop: '8px',
color: 'red',
fontSize: '12px',
lineHeight: '1.5',
paddingLeft: '2px' // 与按钮左对齐
}}>
<p>文件名格式要求2023-2024-1xxxx.xlsx 支持.xlsx/.xls</p>
<p>教师信息数据不要有合并单元格</p>
</div>
{/* 提示性图片(示例图) */}
<div style={{ marginTop: '8px', border: '1px solid #eee', borderRadius: '4px', display: 'inline-block' }}>
<img
src="/data-print/image.png" // 替换为你的提示图片路径
alt="文件名格式示例"
style={{
maxWidth: '700px', // 控制图片宽度
height: 'auto',
padding: '8px'
}}
/>
</div>
</Form>
</div>
<Divider/>