xujing 5 年之前
父節點
當前提交
8f5c56ba17
共有 1 個文件被更改,包括 24 次插入8 次删除
  1. 24
    8
      src/pages/statistical/activity/detail.jsx

+ 24
- 8
src/pages/statistical/activity/detail.jsx 查看文件

@@ -134,7 +134,11 @@ function record(props) {
134 134
                 pathname: '/statistical/activity/sharePersonNum',
135 135
                 query: {
136 136
                     queryDate: rowData.statisDate,
137
-                    activityName:props.location.query.targetName,
137
+                    activityName: props.location.query.targetName,
138
+                    buildingId: props.location.query.buildingId,
139
+                    activityId: props.location.query.targetId,
140
+                    activityType: props.location.query.targetType,
141
+
138 142
                 },
139 143
             });
140 144
             return
@@ -148,7 +152,10 @@ function record(props) {
148 152
                 pathname: '/statistical/activity/shareNum',
149 153
                 query: {
150 154
                     queryDate: rowData.statisDate,
151
-                    activityName:props.location.query.targetName,
155
+                    activityName: props.location.query.targetName,
156
+                    buildingId: props.location.query.buildingId,
157
+                    activityId: props.location.query.targetId,
158
+                    activityType: props.location.query.targetType,
152 159
                 },
153 160
             });
154 161
             return
@@ -162,7 +169,10 @@ function record(props) {
162 169
                 pathname: '/statistical/activity/visitNum',
163 170
                 query: {
164 171
                     queryDate: rowData.date,
165
-                    activityName:props.location.query.targetName,
172
+                    activityName: props.location.query.targetName,
173
+                    buildingId: props.location.query.buildingId,
174
+                    activityId: props.location.query.targetId,
175
+                    activityType: props.location.query.targetType,
166 176
                 },
167 177
             });
168 178
             return
@@ -176,7 +186,10 @@ function record(props) {
176 186
                 pathname: '/statistical/activity/visitPersonNum',
177 187
                 query: {
178 188
                     queryDate: rowData.statisDate,
179
-                    activityName:props.location.query.targetName,
189
+                    activityName: props.location.query.targetName,
190
+                    buildingId: props.location.query.buildingId,
191
+                    activityId: props.location.query.targetId,
192
+                    activityType: props.location.query.targetType,
180 193
                 },
181 194
             });
182 195
             return
@@ -190,7 +203,10 @@ function record(props) {
190 203
                 pathname: '/statistical/activity/addRegistNum',
191 204
                 query: {
192 205
                     queryDate: rowData.statisDate,
193
-                    activityName:props.location.query.targetName,
206
+                    activityName: props.location.query.targetName,
207
+                    buildingId: props.location.query.buildingId,
208
+                    activityId: props.location.query.targetId,
209
+                    activityType: props.location.query.targetType,
194 210
                 },
195 211
             });
196 212
             return
@@ -395,9 +411,9 @@ function record(props) {
395 411
                 <Pagination size={2} showQuickJumper defaultCurrent={1}  total={data.total} onChange={changePageNum} current={data.current} />
396 412
             </div> */}
397 413
             <Prompt message={location =>
398
-        location.pathname.startsWith("/statistical/activity")
399
-          ? true
400
-          : localStorage.removeItem("tabState")} />
414
+                location.pathname.startsWith("/statistical/activity")
415
+                    ? true
416
+                    : localStorage.removeItem("tabState")} />
401 417
         </>
402 418
     )
403 419
 }