Browse Source

refactor: 数据看板console

zhengxy 2 years ago
parent
commit
7639781169

+ 0 - 5
project/src/components/dataBoard/accountTrends.vue

@@ -287,7 +287,6 @@ export default {
287 287
     },
288 288
     // 获取"数据更新时间"
289 289
     async handleGetUpdateTime() {
290
-      console.log('handleGetUpdateTime => ')
291 290
       try {
292 291
         const params = { type: '' }
293 292
         if (this.isMP) params.type = 'account_data_trend_mp'
@@ -306,7 +305,6 @@ export default {
306 305
     },
307 306
     // 获取汇总表数据
308 307
     async handleGetSummaryList() {
309
-      console.log('handleGetSummaryList => ',)
310 308
       try {
311 309
         this.summaryLoading = true
312 310
         const params = {
@@ -373,7 +371,6 @@ export default {
373 371
     },
374 372
     // 获取列表数据
375 373
     async handleGetList() {
376
-      console.log('handleGetList => ',)
377 374
       try {
378 375
         this.detailLoading = true
379 376
         const params = {
@@ -459,7 +456,6 @@ export default {
459 456
     },
460 457
     // 获取折线图数据
461 458
     async handleGetChart() {
462
-      console.log('handleGetChart => ')
463 459
       try {
464 460
         this.chartLoading = true
465 461
         const params = {
@@ -793,7 +789,6 @@ export default {
793 789
     },
794 790
     // 监听点击"导出"按钮
795 791
     async onClickExport() {
796
-      console.log('onClickExport => ')
797 792
       if (!this.pagination.total) return this.$message.warning('暂无数据可导出')
798 793
       try {
799 794
         this.pageLoading = true

+ 0 - 5
project/src/components/dataBoard/fansActiveTrends.vue

@@ -256,7 +256,6 @@ export default {
256 256
     },
257 257
     // 获取"数据更新时间"
258 258
     async handleGetUpdateTime() {
259
-      console.log('handleGetUpdateTime => ')
260 259
       try {
261 260
         const params = { type: '' }
262 261
         if (this.isMP) params.type = 'account_data_trend_mp'
@@ -274,7 +273,6 @@ export default {
274 273
     },
275 274
     // 获取汇总表数据
276 275
     async handleGetSummaryList() {
277
-      console.log('handleGetSummaryList => ',)
278 276
       try {
279 277
         this.summaryLoading = true
280 278
         const params = {
@@ -328,7 +326,6 @@ export default {
328 326
     },
329 327
     // 获取列表数据
330 328
     async handleGetList() {
331
-      console.log('handleGetList => ',)
332 329
       try {
333 330
         this.detailLoading = true
334 331
         const params = {
@@ -405,7 +402,6 @@ export default {
405 402
     },
406 403
     // 获取折线图数据
407 404
     async handleGetChart() {
408
-      console.log('handleGetChart => ')
409 405
       try {
410 406
         this.chartLoading = true
411 407
         const params = {
@@ -727,7 +723,6 @@ export default {
727 723
     },
728 724
     // 监听点击"导出"按钮
729 725
     async onClickExport() {
730
-      console.log('onClickExport => ')
731 726
       if (!this.pagination.total) return this.$message.warning('暂无数据可导出')
732 727
       try {
733 728
         this.pageLoading = true

+ 0 - 4
project/src/components/dataBoard/loseUserTrends.vue

@@ -199,7 +199,6 @@ export default {
199 199
     },
200 200
     // 获取汇总表数据
201 201
     async handleGetSummaryList() {
202
-      console.log('handleGetSummaryList => ',)
203 202
       try {
204 203
         this.summaryLoading = true
205 204
         const params = {
@@ -236,7 +235,6 @@ export default {
236 235
     },
237 236
     // 获取列表数据
238 237
     async handleGetList() {
239
-      console.log('handleGetList => ',)
240 238
       try {
241 239
         this.detailLoading = true
242 240
         const params = {
@@ -292,7 +290,6 @@ export default {
292 290
     },
293 291
     // 获取折线图数据
294 292
     async handleGetChart() {
295
-      console.log('handleGetChart => ')
296 293
       try {
297 294
         this.chartLoading = true
298 295
         const params = {
@@ -587,7 +584,6 @@ export default {
587 584
     },
588 585
     // 监听点击"导出"按钮
589 586
     async onClickExport() {
590
-      console.log('onClickExport => ')
591 587
       if (!this.pagination.total) return this.$message.warning('暂无数据可导出')
592 588
       try {
593 589
         this.pageLoading = true

+ 0 - 2
project/src/components/dataBoard/regRangeReport.vue

@@ -138,7 +138,6 @@ export default {
138 138
   methods: {
139 139
     // 获取"数据更新时间"
140 140
     async handleGetUpdateTime() {
141
-      console.log('handleGetUpdateTime => ')
142 141
       try {
143 142
         const params = { type: '' }
144 143
         if (this.isMP) params.type = 'data_cycle_mp'
@@ -181,7 +180,6 @@ export default {
181 180
       this.handleGetUpdateTime()
182 181
     },
183 182
     async init(page, type) {
184
-      console.log('init => ')
185 183
       try {
186 184
         if (type != 'export') {
187 185
           this.page = page ? page : this.page;

+ 0 - 2
project/src/components/dataBoard/regRangeReportHS.vue

@@ -155,7 +155,6 @@ export default {
155 155
     },
156 156
     // 获取"数据更新时间"
157 157
     async handleGetUpdateTime() {
158
-      console.log('handleGetUpdateTime => ')
159 158
       try {
160 159
         const params = { type: 'data_cycle_nur' }
161 160
         const { data: res = {} } = await this.$axios.get(`${this.URL.BASEURL}${this.URL.dataBoard_uptime}`, { params })
@@ -171,7 +170,6 @@ export default {
171 170
     },
172 171
     // 获取列表数据
173 172
     async init(page, type) {
174
-      console.log('init => ')
175 173
       try {
176 174
         if (type != 'export') {
177 175
           this.page = page ? page : this.page;

+ 0 - 6
project/src/components/dataBoard/shortDramaTrends.vue

@@ -240,7 +240,6 @@ export default {
240 240
     },
241 241
     // 获取"数据更新时间"
242 242
     async handleGetUpdateTime() {
243
-      console.log('handleGetUpdateTime => ')
244 243
       try {
245 244
         const params = { type: '' }
246 245
         if (this.isMP) params.type = 'playlet_data_trend_mp'
@@ -259,7 +258,6 @@ export default {
259 258
     },
260 259
     // 获取汇总表数据
261 260
     async handleGetSummaryList() {
262
-      console.log('handleGetSummaryList => ',)
263 261
       try {
264 262
         this.summaryLoading = true
265 263
         const params = {
@@ -314,7 +312,6 @@ export default {
314 312
     },
315 313
     // 获取列表数据
316 314
     async handleGetList() {
317
-      console.log('handleGetList => ',)
318 315
       try {
319 316
         this.detailLoading = true
320 317
         const params = {
@@ -388,7 +385,6 @@ export default {
388 385
     },
389 386
     // 获取折线图数据
390 387
     async handleGetChart() {
391
-      console.log('handleGetChart => ')
392 388
       try {
393 389
         this.chartLoading = true
394 390
         const params = {
@@ -686,7 +682,6 @@ export default {
686 682
     },
687 683
     // 监听点击"导出"按钮
688 684
     async onClickExport() {
689
-      console.log('onClickExport => ')
690 685
       if (!this.pagination.total) return this.$message.warning('暂无数据可导出')
691 686
       try {
692 687
         this.pageLoading = true
@@ -781,7 +776,6 @@ export default {
781 776
         ...daysData.map(d => d.column),
782 777
       ]
783 778
 
784
-      console.log('summaryData.data => ', summaryData)
785 779
       tableDatas = [
786 780
         summaryData.data,
787 781
         ...detailData.data,