dingxin 5 年之前
父節點
當前提交
7ab9b851d9
共有 1 個檔案被更改,包括 25 行新增18 行删除
  1. 25
    18
      src/services/apis.js

+ 25
- 18
src/services/apis.js 查看文件

26
     signout: {
26
     signout: {
27
       method: 'POST',
27
       method: 'POST',
28
       url: `${prefix}/taUser/signout`,
28
       url: `${prefix}/taUser/signout`,
29
-      logout: true
29
+      logout: true,
30
     },
30
     },
31
   },
31
   },
32
   building: {
32
   building: {
190
   indexEcharts: {
190
   indexEcharts: {
191
     userResource: {
191
     userResource: {
192
       method: 'GET',
192
       method: 'GET',
193
-      url: `${prefix}/selectUserResource`
193
+      url: `${prefix}/selectUserResource`,
194
+      action: 'userStatistics',
194
     },
195
     },
195
     userBehavior: {
196
     userBehavior: {
196
       summary: {
197
       summary: {
197
         method: 'GET',
198
         method: 'GET',
198
-        url: `${prefix}/selectUserBehavior`
199
+        url: `${prefix}/selectUserBehavior`,
200
+        action: 'userBehaviorStatistics',
199
       },
201
       },
200
       profile: {
202
       profile: {
201
         method: 'GET',
203
         method: 'GET',
202
-        url: `${prefix}/selectEventAll`
204
+        url: `${prefix}/selectEventAll`,
205
+        action: 'behaviorIncident',
203
       },
206
       },
204
     },
207
     },
205
     userActive: {
208
     userActive: {
206
       method: 'GET',
209
       method: 'GET',
207
-      url: `${prefix}/selectActiveUserCount`
210
+      url: `${prefix}/selectActiveUserCount`,
211
+      action: 'selectActiveUserCount',
208
     },
212
     },
209
     userSex: {
213
     userSex: {
210
       method: 'GET',
214
       method: 'GET',
211
-      url: `${prefix}/selectSexUser`
215
+      url: `${prefix}/selectSexUser`,
216
+      action: 'selectSexUser',
212
     },
217
     },
213
     newUser: {
218
     newUser: {
214
       method: 'GET',
219
       method: 'GET',
215
-      url: `${prefix}/selectNewsUserCount`
220
+      url: `${prefix}/selectNewsUserCount`,
221
+      action: 'selectNewsUserCount',
216
     },
222
     },
217
     userConversion: {
223
     userConversion: {
218
       method: 'GET',
224
       method: 'GET',
219
-      url: `${prefix}/selectConversion`
225
+      url: `${prefix}/selectConversion`,
226
+      action: 'selectConversion',
220
     },
227
     },
221
     intentionUsers: {
228
     intentionUsers: {
222
       method: 'GET',
229
       method: 'GET',
223
-      url: `${prefix}/selectIntentionUser`
230
+      url: `${prefix}/selectIntentionUser`,
231
+      action: 'selectIntentionUser',
224
     },
232
     },
225
-
226
     userCity: {
233
     userCity: {
227
-      method:'get',
234
+      method: 'get',
228
       url: `${prefix}/selectCityUser`,
235
       url: `${prefix}/selectCityUser`,
229
-      action: 'admin.selectCityUser.get'
236
+      action: 'admin.selectCityUser.get',
230
     },
237
     },
231
 
238
 
232
   },
239
   },
244
       cancel: {
251
       cancel: {
245
         method: 'PUT',
252
         method: 'PUT',
246
         url: `${prefix}/buildingDynamic/cancel/:id`,
253
         url: `${prefix}/buildingDynamic/cancel/:id`,
247
-        action: 'admin.buildingDynamic.cancel.dynamicId.put'
254
+        action: 'admin.buildingDynamic.cancel.dynamicId.put',
248
       },
255
       },
249
       send: {
256
       send: {
250
         url: `${prefix}/buildingDynamic/send/:id`,
257
         url: `${prefix}/buildingDynamic/send/:id`,
251
         method: 'PUT',
258
         method: 'PUT',
252
-        action: 'admin.buildingDynamic.send.dynamicId.put'
259
+        action: 'admin.buildingDynamic.send.dynamicId.put',
253
       },
260
       },
254
       finish: {
261
       finish: {
255
         url: `${prefix}/buildingDynamic/finish`,
262
         url: `${prefix}/buildingDynamic/finish`,
256
         method: 'PUT',
263
         method: 'PUT',
257
-        action: 'admin.buildingDynamic.finish.put'
264
+        action: 'admin.buildingDynamic.finish.put',
258
       },
265
       },
259
       details: {
266
       details: {
260
         url: `${prefix}/buildingDynamic/Details`,
267
         url: `${prefix}/buildingDynamic/Details`,
352
       url: `${prefix}/taPointsExchange/change`,
359
       url: `${prefix}/taPointsExchange/change`,
353
       method: 'PUT',
360
       method: 'PUT',
354
       action: 'admin.taPointsExchange.change.put',
361
       action: 'admin.taPointsExchange.change.put',
355
-    }
362
+    },
356
   },
363
   },
357
   carsuseFigure: {
364
   carsuseFigure: {
358
     extendContent: {
365
     extendContent: {
379
       url: `${prefix}/extendContent`,
386
       url: `${prefix}/extendContent`,
380
       method: 'POST',
387
       method: 'POST',
381
       action: 'admin.extendContent.post',
388
       action: 'admin.extendContent.post',
382
-    }
389
+    },
383
   },
390
   },
384
   system: {
391
   system: {
385
     taPolicy: {
392
     taPolicy: {
436
       url: `${prefix}/taBuildingReport/add`,
443
       url: `${prefix}/taBuildingReport/add`,
437
       method: 'POST',
444
       method: 'POST',
438
       action: 'admin.taBuildingReport.add.post',
445
       action: 'admin.taBuildingReport.add.post',
439
-    }
446
+    },
440
   },
447
   },
441
   staff: {
448
   staff: {
442
     taUser: {
449
     taUser: {