|
@@ -1001,9 +1001,12 @@ export default {
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
|
- this.queryParams.pageNum = 1;
|
|
|
- this.queryParams.startDate = this.chooseDate[0];
|
|
|
- this.queryParams.endDate = this.chooseDate[1];
|
|
|
+ this.queryParams.pageNum = 1
|
|
|
+ if (this.chooseDate == null) {
|
|
|
+ this.chooseDate = []
|
|
|
+ }
|
|
|
+ this.queryParams.startDate = this.chooseDate[0]
|
|
|
+ this.queryParams.endDate = this.chooseDate[1]
|
|
|
this.getList();
|
|
|
},
|
|
|
/** 重置按钮操作 */
|