bug fix
parent
7352e0ee9c
commit
a347a89ba6
|
|
@ -13,7 +13,6 @@ import {
|
||||||
} from "antd";
|
} from "antd";
|
||||||
import TableAction from "@cqsjjb/jjb-react-admin-component/TableAction";
|
import TableAction from "@cqsjjb/jjb-react-admin-component/TableAction";
|
||||||
import AttachmentUpload from "~/components/AttachmentUpload";
|
import AttachmentUpload from "~/components/AttachmentUpload";
|
||||||
import PreviewUrlButton from "~/components/PreviewUrlButton";
|
|
||||||
import { useEffect, useState } from "react";
|
import { useEffect, useState } from "react";
|
||||||
import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout";
|
import PageLayout from "@cqsjjb/jjb-react-admin-component/PageLayout";
|
||||||
import SearchForm from "@cqsjjb/jjb-react-admin-component/SearchForm";
|
import SearchForm from "@cqsjjb/jjb-react-admin-component/SearchForm";
|
||||||
|
|
@ -353,13 +352,10 @@ function ViewModal({ open, currentId, requestDetail, onCancel }) {
|
||||||
</Descriptions.Item>
|
</Descriptions.Item>
|
||||||
<Descriptions.Item label="备注">{info.remark}</Descriptions.Item>
|
<Descriptions.Item label="备注">{info.remark}</Descriptions.Item>
|
||||||
<Descriptions.Item label="离职通知报告">
|
<Descriptions.Item label="离职通知报告">
|
||||||
<a href={info.reportFileUrl} target="_blank" rel="noopener noreferrer">
|
|
||||||
查看
|
|
||||||
</a>
|
|
||||||
{info.reportFileUrl ? (
|
{info.reportFileUrl ? (
|
||||||
<PreviewUrlButton url={info.reportFileUrl}>
|
<a href={info.reportFileUrl} target="_blank" rel="noopener noreferrer">
|
||||||
查看文件
|
查看文件
|
||||||
</PreviewUrlButton>
|
</a>
|
||||||
) : (
|
) : (
|
||||||
"-"
|
"-"
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue