修改
This commit is contained in:
@@ -106,6 +106,7 @@ import {
|
||||
import { pushWebviewVC } from '@/utils/dsbridge.js'
|
||||
|
||||
import { Notify } from 'vant'
|
||||
import {debounce} from '@/utils/common.js'
|
||||
|
||||
// import * as echarts from 'echarts'
|
||||
import { mapMutations } from 'vuex'
|
||||
@@ -415,7 +416,10 @@ export default {
|
||||
this.$router.push({path: '/energyReport'})
|
||||
},
|
||||
// 重新生成
|
||||
async generateReport() {
|
||||
generateReport:debounce(function () {
|
||||
this.getGenerateReport()
|
||||
}, 5000, true),
|
||||
async getGenerateReport() {
|
||||
let data = {
|
||||
customerId: this.energyData.customerId,
|
||||
taskId: this.energyData.taskId
|
||||
|
||||
Reference in New Issue
Block a user