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
@@ -118,6 +118,7 @@ import { pushWebviewVC } from '@/utils/dsbridge.js'
import { genReport } from '@/api/api.js'
import { Notify } from 'vant'
import Loading from '@/components/loading'
import {debounce} from '@/utils/common.js'
// import {
// getEnergyReportInfoAPI,
@@ -428,7 +429,10 @@ export default {
this.option1 = arr
},
// 重新生成
async generateReport() {
generateReport:debounce(function () {
this.getGenerateReport()
}, 5000, true),
async getGenerateReport() {
let data = {
customerId:
this.$route.params.customerId || JSON.parse(sessionStorage.getItem('tidCid')).customerId,