|
@@ -86,7 +86,7 @@ function body(props) {
|
86
|
86
|
...apis.customer.customerRecommendRecommenderExport,
|
87
|
87
|
responseType: 'blob',
|
88
|
88
|
}).then(response => {
|
89
|
|
- // console.log('response: ', response)
|
|
89
|
+ console.log('exportRecommendCustomer: ', response.body())
|
90
|
90
|
download(response)
|
91
|
91
|
}).catch(error => {
|
92
|
92
|
|
|
@@ -213,7 +213,7 @@ function body(props) {
|
213
|
213
|
</Button>
|
214
|
214
|
</Form.Item>
|
215
|
215
|
</Form>
|
216
|
|
- <Button type="primary" onClick={() => exportRecommendCustomer()} className={Styles.SubmitButton} style={{ marginTop: '5px', marginBottom: '5px', display: 'none' }}>
|
|
216
|
+ <Button type="primary" onClick={() => exportRecommendCustomer()} className={Styles.SubmitButton} style={{ marginTop: '5px', marginBottom: '5px' }}>
|
217
|
217
|
导出数据
|
218
|
218
|
</Button>
|
219
|
219
|
<Table dataSource={dataSource.records} columns={columns} pagination={{ total: dataSource.total, onChange }} />
|