This commit is contained in:
jiangyinzhi
2024-11-14 11:27:16 +08:00
parent da36f860ca
commit 455c8b58da
19 changed files with 182 additions and 43 deletions
+8 -4
View File
@@ -200,7 +200,8 @@ export default {
customerId: '',
// year: ''
},
toast:null
toast:null,
doDebounce: null,
}
},
components:{
@@ -248,6 +249,9 @@ export default {
// },
created() {
this.userLevel()
this.doDebounce = debounce(function () {
this.getGenerateReport()
}, 5000, true)
},
mounted() {
},
@@ -429,9 +433,9 @@ export default {
this.option1 = arr
},
// 重新生成
generateReport:debounce(function () {
this.getGenerateReport()
}, 5000, true),
generateReport(){
this.doDebounce()
},
async getGenerateReport() {
let data = {
customerId: