Compare commits
No commits in common. "17106eec15633e67df17ea5003a191125157c2fb" and "0819789efc8f774e2d67f70218c71156dc60f372" have entirely different histories.
17106eec15
...
0819789efc
|
|
@ -13,6 +13,7 @@ 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";
|
||||||
|
|
@ -352,10 +353,13 @@ 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="离职通知报告">
|
||||||
{info.reportFileUrl ? (
|
|
||||||
<a href={info.reportFileUrl} target="_blank" rel="noopener noreferrer">
|
<a href={info.reportFileUrl} target="_blank" rel="noopener noreferrer">
|
||||||
查看文件
|
查看
|
||||||
</a>
|
</a>
|
||||||
|
{info.reportFileUrl ? (
|
||||||
|
<PreviewUrlButton url={info.reportFileUrl}>
|
||||||
|
查看文件
|
||||||
|
</PreviewUrlButton>
|
||||||
) : (
|
) : (
|
||||||
"-"
|
"-"
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue