weichaochao 5 лет назад
Родитель
Сommit
d24d699c1e

+ 7
- 1
config/routes.js Просмотреть файл

@@ -570,10 +570,16 @@ export default [
570 570
               },
571 571
               {
572 572
                 path: '/statistical/activity/visitNum',
573
-                name: '分享统计',
573
+                name: '访问统计',
574 574
                 hideInMenu: true,
575 575
                 component: './statistical/activity/visitNum',
576 576
               },
577
+              {
578
+                path: '/statistical/activity/visitPersonNum',
579
+                name: '访问统计',
580
+                hideInMenu: true,
581
+                component: './statistical/activity/visitPersonNum',
582
+              },
577 583
               {
578 584
                 path: '/statistical/building',
579 585
                 name: '项目统计',

+ 12
- 8
src/pages/statistical/activity/addRegistNum.jsx Просмотреть файл

@@ -42,11 +42,6 @@ let columns = [
42 42
     dataIndex: 'province',
43 43
     key: 'province',
44 44
   },
45
-  {
46
-    title: '归属地',
47
-    dataIndex: 'province',
48
-    key: 'province',
49
-  },
50 45
   {
51 46
     title: '来源渠道',
52 47
     dataIndex: 'personFrom',
@@ -78,8 +73,15 @@ class SharePersonNum extends React.Component {
78 73
 
79 74
   constructor(props) {
80 75
     super(props)
81
-    const startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
82
-    const endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
76
+    let startDate;
77
+    let endDate;
78
+    if (props.location.query.queryDate){
79
+      startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
80
+      endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
81
+    }else{
82
+      startDate = moment(props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
83
+      endDate = moment(props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
84
+    }
83 85
     console.log(startDate)
84 86
     this.state = {
85 87
       formData: {
@@ -87,7 +89,9 @@ class SharePersonNum extends React.Component {
87 89
         pageNum:'',
88 90
         pageSize:'',
89 91
         startDate: startDate,
90
-        endDate: endDate
92
+        endDate: endDate,
93
+        activityId: props.location.query.activityId,
94
+        activityType:props.location.query.activityType  
91 95
       },
92 96
       personData: [],  
93 97
       dataSoures: [],

+ 108
- 1
src/pages/statistical/activity/compenents/Content.jsx Просмотреть файл

@@ -21,6 +21,95 @@ const formItemLayout = {
21 21
   
22 22
 let daterange = []
23 23
 let tableTitle = ['类型']
24
+let dateType = ''
25
+
26
+const toSharePersonNum = rowData => () => {
27
+  const startDate = moment().subtract(dateType, 'day').toDate()
28
+  const endDate = new Date()
29
+
30
+  if(rowData) {
31
+    router.push({
32
+    pathname: '/statistical/activity/sharePersonNum',
33
+    query: {
34
+      startDate: startDate,
35
+      endDate: endDate,
36
+      activityId: rowData.activityId,
37
+      activityType: rowData.activityType,
38
+    },
39
+  });
40
+    return
41
+  }
42
+}
43
+
44
+const toShareNum = rowData => () => {
45
+  const startDate = moment().subtract(dateType, 'day').toDate()
46
+  const endDate = new Date()
47
+  if(rowData) {
48
+    router.push({
49
+    pathname: '/statistical/activity/shareNum',
50
+    query: {
51
+      startDate: startDate,
52
+      endDate: endDate,
53
+      activityId: rowData.activityId,
54
+      activityType: rowData.activityType,
55
+    },
56
+  });
57
+    return
58
+  }
59
+} 
60
+
61
+const toAddRegistNum = rowData => () => {
62
+  const startDate = moment().subtract(dateType, 'day').toDate()
63
+  const endDate = new Date()
64
+  console.log(rowData, 'rowData')
65
+  if(rowData) {
66
+    router.push({
67
+    pathname: '/statistical/activity/addRegistNum',
68
+    query: {
69
+      startDate: startDate,
70
+      endDate: endDate,
71
+      activityId: rowData.activityId,
72
+      activityType: rowData.activityType,
73
+    },
74
+  });
75
+    return
76
+  }
77
+} 
78
+
79
+const toAddVisitNum = rowData => () => {
80
+  const startDate = moment().subtract(dateType, 'day').toDate()
81
+  const endDate = new Date()
82
+  console.log(rowData, 'rowData')
83
+  if(rowData) {
84
+    router.push({
85
+    pathname: '/statistical/activity/visitNum',
86
+    query: {
87
+      startDate: startDate,
88
+      endDate: endDate,
89
+      activityId: rowData.activityId,
90
+      activityType: rowData.activityType,
91
+    },
92
+  });
93
+    return
94
+  }
95
+} 
96
+
97
+const toAddVisitPersonNum = rowData => () => {
98
+  const startDate = moment().subtract(dateType, 'day').toDate()
99
+  const endDate = new Date()
100
+  if(rowData) {
101
+    router.push({
102
+    pathname: '/statistical/activity/visitPersonNum',
103
+    query: {
104
+      startDate: startDate,
105
+      endDate: endDate,
106
+      activityId: rowData.activityId,
107
+      activityType: rowData.activityType,
108
+    },
109
+  });
110
+    return
111
+  }
112
+}
24 113
 
25 114
 let columns = [
26 115
   {
@@ -45,30 +134,45 @@ let columns = [
45 134
     dataIndex: 'sharePersonNum',
46 135
     key: 'sharePersonNum',
47 136
     sorter: true,
137
+    render: (text, record) => (
138
+      <a style={{ color: '#66B3FF' }} onClick={toSharePersonNum(record)}><span>{record.sharePersonNum}</span></a>
139
+    ),
48 140
   },
49 141
   {
50 142
     title: '分享次数',
51 143
     dataIndex: 'shareNum',
52 144
     key: 'shareNum',
53 145
     sorter: true,
146
+    render: (text, record) => (
147
+      <a style={{ color: '#66B3FF' }} onClick={toShareNum(record)}><span>{record.shareNum}</span></a>
148
+    ),
54 149
   },
55 150
   {
56 151
     title: '访问人数',
57 152
     dataIndex: 'visitPersonNum',
58 153
     key: 'visitPersonNum',
59 154
     sorter: true,
155
+    render: (text, record) => (
156
+      <a style={{ color: '#66B3FF' }} onClick={toAddVisitPersonNum(record)}><span>{record.visitPersonNum}</span></a>
157
+    ),
60 158
   },
61 159
   {
62 160
     title: '访问次数',
63 161
     dataIndex: 'visitNum',
64 162
     key: 'visitNum',
65 163
     sorter: true,
164
+    render: (text, record) => (
165
+      <a style={{ color: '#66B3FF' }} onClick={toAddVisitNum(record)}><span>{record.visitNum}</span></a>
166
+    ),
66 167
   },
67 168
   {
68 169
     title: '新增注册用户',
69 170
     dataIndex: 'addRegistNum',
70 171
     key: 'addRegistNum',
71 172
     sorter: true,
173
+    render: (text, record) => (
174
+      <a style={{ color: '#66B3FF' }} onClick={toAddRegistNum(record)}><span>{record.addRegistNum}</span></a>
175
+    ),
72 176
   },
73 177
   {
74 178
     title: '详情',
@@ -96,10 +200,12 @@ class OverView extends React.Component {
96 200
     super(props)
97 201
 
98 202
     const defaultDays = 7
99
-
203
+    dateType = defaultDays
204
+    console.log(dateType)
100 205
     this.state = {
101 206
       radioVal: defaultDays,
102 207
       formData: {
208
+        
103 209
         startDate: moment().subtract(7, 'day').toDate(),
104 210
         endDate: new Date,
105 211
         buildingId: '',
@@ -221,6 +327,7 @@ class OverView extends React.Component {
221 327
   handleRadioChange = (e) => {
222 328
     const { formData } = this.state
223 329
     const val = e.target.value;
330
+    dateType = val;
224 331
     this.setState({
225 332
       radioVal: val - 0,
226 333
       formData: {

+ 15
- 1
src/pages/statistical/activity/compenents/OverView.jsx Просмотреть файл

@@ -74,6 +74,20 @@ const toAddVisitNum = rowData => () => {
74 74
   }
75 75
 } 
76 76
 
77
+const toAddVisitPersonNum = rowData => () => {
78
+  console.log(rowData, 'rowData')
79
+  if(rowData) {
80
+    router.push({
81
+    pathname: '/statistical/activity/visitPersonNum',
82
+    query: {
83
+      queryDate: rowData.date,
84
+    },
85
+  });
86
+    return
87
+  }
88
+}
89
+
90
+
77 91
 let columns = [
78 92
   {
79 93
     title: '日期',
@@ -104,7 +118,7 @@ let columns = [
104 118
     key: 'visitPersonNum',
105 119
     sorter: true,
106 120
     render: (text, record) => (
107
-      <a style={{ color: '#66B3FF' }}><span>{record.visitPersonNum}</span></a>
121
+      <a style={{ color: '#66B3FF' }} onClick={toAddVisitPersonNum(record)}><span>{record.visitPersonNum}</span></a>
108 122
       ),
109 123
   },
110 124
   {

+ 13
- 4
src/pages/statistical/activity/shareNum.jsx Просмотреть файл

@@ -59,9 +59,16 @@ class SharePersonNum extends React.Component {
59 59
 
60 60
   constructor(props) {
61 61
     super(props)
62
-    const startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
63
-    const endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
64
-    console.log(startDate)
62
+    console.log(props)
63
+    let startDate;
64
+    let endDate;
65
+    if (props.location.query.queryDate){
66
+      startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
67
+      endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
68
+    }else{
69
+      startDate = moment(props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
70
+      endDate = moment(props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
71
+    }
65 72
     this.state = {
66 73
       formData: {
67 74
         sharePhone: '',
@@ -72,7 +79,9 @@ class SharePersonNum extends React.Component {
72 79
         sort:null,
73 80
         colKey:null,
74 81
         startDate: startDate,
75
-        endDate: endDate
82
+        endDate: endDate,
83
+        activityId: props.location.query.activityId,
84
+        activityType:props.location.query.activityType   
76 85
       },
77 86
       personData: [],  
78 87
       dataSoures: [],

+ 14
- 3
src/pages/statistical/activity/sharePersonNum.jsx Просмотреть файл

@@ -65,8 +65,17 @@ class SharePersonNum extends React.Component {
65 65
 
66 66
   constructor(props) {
67 67
     super(props)
68
-    const startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
69
-    const endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
68
+    let startDate;
69
+    let endDate;
70
+    console.log(props)
71
+    if (props.location.query.queryDate){
72
+      startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
73
+      endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
74
+    }else{
75
+      startDate = moment(props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
76
+      endDate = moment(props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
77
+    }
78
+    
70 79
     console.log(startDate)
71 80
     this.state = {
72 81
       formData: {
@@ -78,7 +87,9 @@ class SharePersonNum extends React.Component {
78 87
         sort:null,
79 88
         colKey:null,
80 89
         startDate: startDate,
81
-        endDate: endDate
90
+        endDate: endDate,
91
+        activityId: props.location.query.activityId,
92
+        activityType:props.location.query.activityType        
82 93
       },
83 94
       personData: [],  
84 95
       dataSoures: [],

+ 17
- 11
src/pages/statistical/activity/visitNum.jsx Просмотреть файл

@@ -42,11 +42,6 @@ let columns = [
42 42
     dataIndex: 'province',
43 43
     key: 'province',
44 44
   },
45
-  {
46
-    title: '归属地',
47
-    dataIndex: 'province',
48
-    key: 'province',
49
-  },
50 45
   {
51 46
     title: '来源渠道',
52 47
     dataIndex: 'personFrom',
@@ -84,8 +79,15 @@ class SharePersonNum extends React.Component {
84 79
 
85 80
   constructor(props) {
86 81
     super(props)
87
-    const startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
88
-    const endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
82
+    let startDate;
83
+    let endDate;
84
+    if (props.location.query.queryDate){
85
+      startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
86
+      endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
87
+    }else{
88
+      startDate = moment(props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
89
+      endDate = moment(props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
90
+    }
89 91
     console.log(startDate)
90 92
     this.state = {
91 93
       formData: {
@@ -96,7 +98,9 @@ class SharePersonNum extends React.Component {
96 98
         endDate: endDate,
97 99
         province:'',
98 100
         realtyConsultant:'',
99
-        realtyConsultantPhone:''
101
+        realtyConsultantPhone:'',
102
+        activityId: props.location.query.activityId,
103
+        activityType:props.location.query.activityType  
100 104
       },
101 105
       personData: [],  
102 106
       dataSoures: [],
@@ -124,6 +128,7 @@ class SharePersonNum extends React.Component {
124 128
     let startDate = null
125 129
     let endDate = null
126 130
     const province = this.props.form.getFieldValue("province");
131
+    const personFrom = this.props.form.getFieldValue("personFrom");
127 132
     const realtyConsultant = this.props.form.getFieldValue("realtyConsultant");
128 133
     const realtyConsultantPhone = this.props.form.getFieldValue("realtyConsultantPhone");
129 134
 
@@ -132,8 +137,9 @@ class SharePersonNum extends React.Component {
132 137
       formData: {
133 138
         ...formData,
134 139
         personFrom: personFrom,
140
+        province: province,
135 141
         realtyConsultant: realtyConsultant,
136
-        realtyConsultant: realtyConsultant
142
+        realtyConsultantPhone: realtyConsultantPhone
137 143
       }
138 144
     }, this.getTableList)
139 145
   }
@@ -145,7 +151,7 @@ class SharePersonNum extends React.Component {
145 151
 
146 152
   exportActivityStats = () => {
147 153
     const { formData } = this.state
148
-    request({ ...apis.activityDataStatis.activityAddRegistNumExport, params: formData }).then(data => {
154
+    request({ ...apis.activityDataStatis.activityVisitNumExport, params: formData }).then(data => {
149 155
       if (!data) {
150 156
         return
151 157
       }
@@ -153,7 +159,7 @@ class SharePersonNum extends React.Component {
153 159
         const link = document.createElement('a')
154 160
         link.style.display = 'none'
155 161
         link.href = url
156
-        link.setAttribute('download', '分享统计.xlsx')
162
+        link.setAttribute('download', '访问统计.xlsx')
157 163
         document.body.append(link)
158 164
         link.click()
159 165
     }).catch()

+ 223
- 0
src/pages/statistical/activity/visitPersonNum.jsx Просмотреть файл

@@ -0,0 +1,223 @@
1
+import React, { Component, useState, useEffect } from 'react';
2
+import { Form, Icon, Input, Button, DatePicker, Select, Card, Row, Col, Pagination, Alert, Table, Avatar, Radio, Modal, Descriptions } from 'antd';
3
+import moment from 'moment';
4
+import style from './compenents/style.less';
5
+import request from '../../../utils/request';
6
+import apis from '../../../services/apis';
7
+import router from 'umi/router';
8
+import AuthButton from '@/components/AuthButton';
9
+import BuildingSelect from '@/components/SelectButton/BuildSelect';
10
+import WxDictSelect from '@/components/SelectButton/WxDictSelect';
11
+
12
+
13
+const { RangePicker } = DatePicker;
14
+const { Option } = Select
15
+
16
+const formItemLayout = {
17
+    labelCol: { span: 10},
18
+    wrapperCol: { span: 14 },
19
+  };
20
+  
21
+let daterange = []
22
+let tableTitle = ['类型']
23
+
24
+let columns = [
25
+  {
26
+    title: '姓名',
27
+    dataIndex: 'nickName',
28
+    key: 'nickName',
29
+  },
30
+  {
31
+    title: '电话',
32
+    dataIndex: 'phone',
33
+    key: 'phone',
34
+  },
35
+  {
36
+    title: '性别',
37
+    dataIndex: 'gender',
38
+    key: 'gender',
39
+  },
40
+  {
41
+    title: '归属地',
42
+    dataIndex: 'province',
43
+    key: 'province',
44
+  },
45
+  {
46
+    title: '来源渠道',
47
+    dataIndex: 'personFrom',
48
+    key: 'personFrom',
49
+  },
50
+  {
51
+    title: '置业顾问',
52
+    dataIndex: 'realtyConsultant',
53
+    key: 'realtyConsultant',
54
+  },
55
+  {
56
+    title: '置业顾问电话',
57
+    dataIndex: 'realtyConsultantPhone',
58
+    key: 'realtyConsultantPhone',
59
+  },
60
+  {
61
+    title: '分享者',
62
+    dataIndex: 'sharePersonName',
63
+    key: 'sharePersonName',
64
+  },
65
+  {
66
+    title: '分享者电话',
67
+    dataIndex: 'sharePersonPhone',
68
+    key: 'sharePersonPhone',
69
+  },
70
+  {
71
+    title: '访问次数',
72
+    dataIndex: 'visitNum',
73
+    key: 'visitNum',
74
+  },
75
+]
76
+
77
+class SharePersonNum extends React.Component {
78
+
79
+  constructor(props) {
80
+    super(props)
81
+    let startDate;
82
+    let endDate;
83
+    if (props.location.query.queryDate){
84
+      startDate = moment(props.location.query.queryDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
85
+      endDate = moment(props.location.query.queryDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
86
+    }else{
87
+      startDate = moment(props.location.query.startDate).hours(0).minutes(0).seconds(0).milliseconds(0).toDate();
88
+      endDate = moment(props.location.query.endDate).hours(23).minutes(59).seconds(59).milliseconds(999).toDate();
89
+    }
90
+    console.log(startDate)
91
+    this.state = {
92
+      formData: {
93
+        personFrom: '',
94
+        pageNum:'',
95
+        pageSize:'',
96
+        startDate: startDate,
97
+        endDate: endDate,
98
+        province:'',
99
+        realtyConsultant:'',
100
+        realtyConsultantPhone:'',
101
+        activityId: props.location.query.activityId,
102
+        activityType:props.location.query.activityType  
103
+      },
104
+      personData: [],  
105
+      dataSoures: [],
106
+      tableData: [],
107
+      userType: 'all',
108
+      buildingId: [],
109
+      targetType: []
110
+    }
111
+  }
112
+
113
+  componentDidMount() {
114
+    this.getTableList()
115
+  }
116
+
117
+  getTableList () {
118
+    const { formData } = this.state
119
+    console.log(formData)
120
+    request({ ...apis.activityDataStatis.activityVisitPersonNum, params: formData }).then(data => {
121
+      console.log(data)
122
+      this.setState({ tableData: data.records, total: data.total})
123
+    }).catch()
124
+  }
125
+
126
+  handleSubmit = (e, props) => {
127
+    let startDate = null
128
+    let endDate = null
129
+    const province = this.props.form.getFieldValue("province");
130
+    const personFrom = this.props.form.getFieldValue("personFrom");
131
+    const realtyConsultant = this.props.form.getFieldValue("realtyConsultant");
132
+    const realtyConsultantPhone = this.props.form.getFieldValue("realtyConsultantPhone");
133
+
134
+    const { formData } = this.state
135
+    this.setState({
136
+      formData: {
137
+        ...formData,
138
+        personFrom: personFrom,
139
+        province: province,
140
+        realtyConsultant: realtyConsultant,
141
+        realtyConsultantPhone: realtyConsultantPhone
142
+      }
143
+    }, this.getTableList)
144
+  }
145
+
146
+  //重置搜索
147
+  handleReset = e => {
148
+    this.props.form.resetFields()
149
+  }
150
+
151
+  exportActivityStats = () => {
152
+    const { formData } = this.state
153
+    request({ ...apis.activityDataStatis.activityVisitPersonNumExport, params: formData }).then(data => {
154
+      if (!data) {
155
+        return
156
+      }
157
+      const url = window.URL.createObjectURL(new Blob([data]))
158
+        const link = document.createElement('a')
159
+        link.style.display = 'none'
160
+        link.href = url
161
+        link.setAttribute('download', '访问统计.xlsx')
162
+        document.body.append(link)
163
+        link.click()
164
+    }).catch()
165
+  }
166
+
167
+  //排序
168
+  handleTableChange = (pagination, filters, sorter) => {
169
+    console.log(pagination, filters, sorter)
170
+    const { formData } = this.state
171
+    this.setState({
172
+      formData: {
173
+        ...formData,
174
+        personFrom: formData.personFrom,
175
+        pageNum: pagination.current,
176
+        pageSize: pagination.pageSize
177
+      }
178
+    }, this.getTableList)
179
+  };
180
+
181
+  render() {
182
+    const { radioVal } = this.state
183
+    const { getFieldDecorator } = this.props.form;
184
+
185
+    return (
186
+    <>
187
+        <Form layout="inline" onSubmit={e => this.handleSubmit(e, this.props)}>
188
+        <Form.Item style={{marginTop:'20px', marginBottom:'20px'}}>
189
+          {getFieldDecorator('personFrom')(
190
+            <WxDictSelect />,
191
+          )}
192
+        </Form.Item>
193
+        <Form.Item style={{marginTop:'20px', marginBottom:'20px'}}>
194
+            {getFieldDecorator('province')(<Input placeholder="请输入归属地"/>)}
195
+        </Form.Item>
196
+        <Form.Item style={{marginTop:'20px', marginBottom:'20px'}}>
197
+            {getFieldDecorator('realtyConsultant')(<Input placeholder="置业顾问"/>)}
198
+        </Form.Item>
199
+        <Form.Item style={{marginTop:'20px', marginBottom:'20px'}}>
200
+            {getFieldDecorator('realtyConsultantPhone')(<Input placeholder="置业顾问电话"/>)}
201
+        </Form.Item>
202
+          <Form.Item style={{marginTop:'20px', marginBottom:'20px'}}>
203
+            <Button type="primary" htmlType="submit" style={{ marginLeft: '30px' }}>
204
+                查询
205
+            </Button>
206
+            <Button onClick={e => this.handleReset()} style={{ marginLeft: '30px' }}>重置</Button>
207
+          </Form.Item>
208
+          </Form>     
209
+        <div>
210
+        <AuthButton name="admin.customer.import" noRight={null}>
211
+            <Button type="primary" style={{ float: 'right', margin: '20px 0', zIndex: 1 }} onClick={this.exportActivityStats}>
212
+                导出
213
+            </Button>
214
+            </AuthButton>
215
+          <Table style={{marginTop:'20px'}} dataSource={this.state.tableData} columns={columns} pagination={{ total: this.state.total}} onChange={this.handleTableChange} scroll={{ y: 500 }}></Table>
216
+        </div>
217
+    </>
218
+    )
219
+    
220
+  }
221
+}
222
+const WrappedTypeForm = Form.create()(SharePersonNum);
223
+export default WrappedTypeForm

+ 11
- 1
src/services/apis.js Просмотреть файл

@@ -1662,7 +1662,17 @@ export default {
1662 1662
     },
1663 1663
     activityVisitNumExport: {
1664 1664
       method: 'GET',
1665
-      url: `${prefix}/activityStatistical/activityVisitNumExport`,
1665
+      url: `${prefix}/activityStatistical/selectActivityVisitNumExport`,
1666
+      action: 'admin.contract.list.get',
1667
+    },
1668
+    activityVisitPersonNum: {
1669
+      method: 'GET',
1670
+      url: `${prefix}/activityStatistical/selectActivityVisitPersonNum`,
1671
+      action: 'admin.contract.list.get',
1672
+    },
1673
+    activityVisitPersonNumExport: {
1674
+      method: 'GET',
1675
+      url: `${prefix}/activityStatistical/selectActivityVisitPersonNumExport`,
1666 1676
       action: 'admin.contract.list.get',
1667 1677
     },
1668 1678
   },