优化
This commit is contained in:
BIN
public/data-print/image.png
Normal file
BIN
public/data-print/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 91 KiB |
@ -4,6 +4,7 @@ import {Button, Divider, Drawer, Form, Input, message, Radio, Space, Upload} fro
|
|||||||
import {UploadOutlined} from "@ant-design/icons";
|
import {UploadOutlined} from "@ant-design/icons";
|
||||||
import creatMessageCommonAxios from "../../../http/CreatMessageCommonAxios";
|
import creatMessageCommonAxios from "../../../http/CreatMessageCommonAxios";
|
||||||
import ImportHistoryTable from "./ImportHistoryTable";
|
import ImportHistoryTable from "./ImportHistoryTable";
|
||||||
|
import { Content } from 'antd/es/layout/layout';
|
||||||
|
|
||||||
const ImportDataDrawer = props => {
|
const ImportDataDrawer = props => {
|
||||||
|
|
||||||
@ -119,7 +120,31 @@ const ImportDataDrawer = props => {
|
|||||||
>
|
>
|
||||||
<Button icon={<UploadOutlined/>}>点击此处上传</Button>
|
<Button icon={<UploadOutlined/>}>点击此处上传</Button>
|
||||||
</Upload>
|
</Upload>
|
||||||
|
|
||||||
</Form.Item>
|
</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>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
<Divider/>
|
<Divider/>
|
||||||
|
|||||||
Reference in New Issue
Block a user