This commit is contained in:
xiaofajia 2024-12-17 14:29:58 +08:00
parent 3ca0bad453
commit cd7502f958
2 changed files with 4 additions and 3 deletions

View File

@ -149,13 +149,14 @@ export default {
this.getTableData(); this.getTableData();
}, },
handleSearch() { handleSearch() {
this.tableData = []
this.queryParams.pageNum = 1 this.queryParams.pageNum = 1
if (this.queryParams.queryTime) { if (this.queryParams.queryTime) {
this.queryParams.startTime = this.queryParams.queryTime[0]; this.queryParams.startTime = this.queryParams.queryTime[0];
this.queryParams.endTime = this.queryParams.queryTime[1]; this.queryParams.endTime = this.queryParams.queryTime[1];
this.getCountMap()
this.getTableData();
} }
this.getCountMap()
this.getTableData();
}, },
getTableData(isLoadMore = false) { getTableData(isLoadMore = false) {
this.loading = true; // this.loading = true; //

View File

@ -202,7 +202,7 @@
}, },
methods: { methods: {
goPresent(){ goPresent(){
if (!this.present){ if (!this.present?.filePath){
uni.showToast({ uni.showToast({
title: '暂无使用说明', title: '暂无使用说明',
icon: 'none' icon: 'none'