|
@@ -1,6 +1,7 @@
|
1
|
1
|
import { deleteGuaranteeTask, getGuaranteeTaskList } from '@/services/api/guaranteeTask';
|
2
|
2
|
import { queryTable } from '@/utils/request';
|
3
|
3
|
import { PageContainer, ProTable } from '@ant-design/pro-components';
|
|
4
|
+import { Link } from 'umi';
|
4
|
5
|
import { history } from '@umijs/max';
|
5
|
6
|
import { Button, message, Popconfirm } from 'antd';
|
6
|
7
|
import moment from 'moment';
|
|
@@ -99,11 +100,8 @@ const GuaranteeTaskList = (props) => {
|
99
|
100
|
key={4}
|
100
|
101
|
style={{ padding: 0 }}
|
101
|
102
|
type="link"
|
102
|
|
- onClick={() => {
|
103
|
|
- history.push(`/guaranteeTask/print?id=${record.id}`);
|
104
|
|
- }}
|
105
|
103
|
>
|
106
|
|
- 打印
|
|
104
|
+ <Link target="_blank" to={`/guaranteeTask/print?id=${record.id}`}>打印</Link>
|
107
|
105
|
</Button>,
|
108
|
106
|
],
|
109
|
107
|
},
|