dingxin 5 years ago
parent
commit
52e22d55df
2 changed files with 8 additions and 1 deletions
  1. 3
    1
      src/pages/activity/helpActivity/helpRecord.jsx
  2. 5
    0
      src/services/apis.js

+ 3
- 1
src/pages/activity/helpActivity/helpRecord.jsx View File

@@ -309,7 +309,9 @@ function body(props) {
309 309
 
310 310
   function exportCustomer () {
311 311
     const fieldsValue = getFieldsValue()
312
-    request({ ...apis.customer.customerRecommendExport, responseType: 'blob', params: { ...fieldsValue, customerType } })
312
+    // request({ ...apis.helpActivity.HelpInitiateRecordSucceed, responseType: 'blob', params: { ...fieldsValue, customerType } })
313
+    request({ ...apis.helpActivity.HelpInitiateRecordSucceed, responseType: 'blob', params: { helpActivityId: 6 } })
314
+
313 315
       .then(response => {
314 316
         download(response)
315 317
       }).catch(error => {

+ 5
- 0
src/services/apis.js View File

@@ -719,6 +719,11 @@ export default {
719 719
     method: 'post',
720 720
     action: 'admin.taRole.get',
721 721
   },
722
+  HelpInitiateRecordSucceed: {
723
+    url: `${prefix}/HelpInitiateRecordSucceed/export`,
724
+    method: 'get',
725
+    action: 'admin.taRole.get',
726
+  },
722 727
  },
723 728
  groupActivity: {
724 729
   list: {