Commit e101f825 authored by 涂伟's avatar 涂伟

feat: '流程中心新增说明文档链接'

parent e2f903f2
Pipeline #67863 passed with stages
This diff was suppressed by a .gitattributes entry.
import React, { useEffect, useState, useRef } from 'react';
import { useHistory } from 'react-router-dom';
import classnames from 'classnames';
import { Tabs, Input, message, Modal, Button, Anchor } from 'antd';
import { Tabs, Input, message, Modal, Button, Anchor, Tooltip } from 'antd';
import {
PlusOutlined,
EditOutlined,
......@@ -9,6 +9,7 @@ import {
ExclamationCircleOutlined,
HighlightOutlined,
UnorderedListOutlined,
FilePdfOutlined,
} from '@ant-design/icons';
import gsap, { TweenMax, TimelineMax, ScrollToPlugin } from 'gsap/all';
......@@ -21,6 +22,7 @@ const plugins = [ScrollToPlugin];
const { Search } = Input;
const { Link } = Anchor;
const { confirm } = Modal;
const path = require('path');
const WorkflowHomePage = () => {
const history = useHistory();
......@@ -356,6 +358,18 @@ const WorkflowHomePage = () => {
}}
/>
</div>
<div className={styles.showPDF}>
<Tooltip title="点击查看对接文档">
<a
style={{ display: 'inline-block', marginTop: '5px', marginRight: '20px' }}
target="_blank"
href={path.join(__dirname, '/civmanage/第三方工单对接说明文档.pdf')}
rel="noopener noreferer"
>
<FilePdfOutlined style={{ fontSize: '24px' }} />
</a>
</Tooltip>
</div>
</div>
<div className={styles.flowTable}>
{currentList.map((item, index) => (
......
......@@ -99,6 +99,7 @@
display: flex;
align-items: center;
font-size: 14px;
position: relative;
.left {
margin-right: 490px;
......@@ -168,6 +169,12 @@
}
}
}
.showPDF {
position: absolute;
right: 100px;
top: 50%;
transform: translateY(-50%);
}
}
.flowTable {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment