This commit is contained in:
jiangyinzhi
2024-09-24 23:10:36 +08:00
parent be8a167fd0
commit da36f860ca
9 changed files with 82 additions and 16 deletions
+5 -1
View File
@@ -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