修改
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user