|
@@ -260,7 +260,7 @@ class InviteTable extends React.Component {
|
260
|
260
|
* @returns
|
261
|
261
|
*/
|
262
|
262
|
function body (props) {
|
263
|
|
- const { getFieldDecorator } = props.form
|
|
263
|
+ const { getFieldDecorator, getFieldsValue } = props.form
|
264
|
264
|
|
265
|
265
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
266
|
266
|
const [dataSource, setDataSource] = useState({ records: [] })
|
|
@@ -341,7 +341,9 @@ function body (props) {
|
341
|
341
|
}
|
342
|
342
|
|
343
|
343
|
function exportIndependen () {
|
344
|
|
- request({ ...apis.customer.customerRecommendAgentsExport, responseType: 'blob' })
|
|
344
|
+ const fieldsValue = getFieldsValue()
|
|
345
|
+ console.log('fieldsValue', fieldsValue)
|
|
346
|
+ request({ ...apis.customer.customerRecommendAgentsExport, responseType: 'blob', params: { ...fieldsValue } })
|
345
|
347
|
.then(response => {
|
346
|
348
|
download(response)
|
347
|
349
|
}).catch(error => {
|