zhoulisen 5 years ago
parent
commit
75008f40d5
1 changed files with 16 additions and 16 deletions
  1. 16
    16
      src/pages/channel/newCustomer/index.jsx

+ 16
- 16
src/pages/channel/newCustomer/index.jsx View File

@@ -90,21 +90,21 @@ const qrcodelist = props => {
90 90
     const exportExcel = () => {
91 91
         // console.log('fieldsValue', ...props.form.getFieldsValue())
92 92
         request({ ...apis.channelList.getIntroductionListExport, params: { channelId: id } })
93
-          .then(data => {
94
-            if (!data) {
95
-              return
96
-            }
97
-            const url = window.URL.createObjectURL(new Blob([data]))
98
-            const link = document.createElement('a')
99
-            link.style.display = 'none'
100
-            link.href = url
101
-            link.setAttribute('download', '引进注册用户.xlsx')
102
-            document.body.append(link)
103
-            link.click()
104
-          }).catch(() => {
105
-    
106
-          })
107
-      }
93
+            .then(data => {
94
+                if (!data) {
95
+                    return
96
+                }
97
+                const url = window.URL.createObjectURL(new Blob([data]))
98
+                const link = document.createElement('a')
99
+                link.style.display = 'none'
100
+                link.href = url
101
+                link.setAttribute('download', '引进注册用户.xlsx')
102
+                document.body.append(link)
103
+                link.click()
104
+            }).catch(() => {
105
+
106
+            })
107
+    }
108 108
 
109 109
     /**
110 110
      *
@@ -207,7 +207,7 @@ const qrcodelist = props => {
207 207
     return (
208 208
 
209 209
         <>
210
-            <div>
210
+            <div style={{ marginBottom: '20px' }}>
211 211
                 <span> 渠道{name}总计引进{customerNum}个注册用户</span>
212 212
                 <Icon type="question-circle" theme="filled" style={{ fontSize: '25px', color: '#F00', marginLeft: '30px' }} onClick={() => setShowHelp(true)} />
213 213
                 <Button style={{ float: 'right', zIndex: 1 }} onClick={() => router.go(-1)}>