日期搜索无效bug修复

pull/44/MERGE
dvadmin 2021-08-17 03:28:12 +00:00 committed by Gitee
parent a4f7f7a1c4
commit e670403b57
1 changed files with 5 additions and 5 deletions

View File

@ -588,7 +588,7 @@ export default {
tableLoading: false, tableLoading: false,
tableData: [], tableData: [],
rowKey: "", rowKey: "",
dateRange: [], dateRange: {},
multipleSelection: [], multipleSelection: [],
pagination: { pagination: {
page: 1, page: 1,
@ -838,7 +838,7 @@ export default {
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
resetQuery() { resetQuery() {
this.dateRange = []; this.dateRange = {};
this.queryParams = {}; this.queryParams = {};
this.resetForm("queryForm"); this.resetForm("queryForm");
this.handleQuery(); this.handleQuery();
@ -920,7 +920,7 @@ export default {
}, },
/** 新增按钮*/ /** 新增按钮*/
handleAdd(func) { handleAdd(func) {
this.dateRange = []; this.dateRange = {};
this.queryParams = {}; this.queryParams = {};
this.resetForm("queryForm"); this.resetForm("queryForm");
this.open = true; this.open = true;
@ -929,7 +929,7 @@ export default {
}, },
/** 修改按钮*/ /** 修改按钮*/
handleUpdate(func, row) { handleUpdate(func, row) {
this.dateRange = []; this.dateRange = {};
this.queryParams = {}; this.queryParams = {};
this.resetForm("queryForm"); this.resetForm("queryForm");
this.submitFormApi = func.api; this.submitFormApi = func.api;
@ -949,7 +949,7 @@ export default {
}, },
/** 详情按钮*/ /** 详情按钮*/
handleSelect(func, row) { handleSelect(func, row) {
this.dateRange = []; this.dateRange = {};
this.queryParams = {}; this.queryParams = {};
this.resetForm("queryForm"); this.resetForm("queryForm");
this.submitFormApi = func.api; this.submitFormApi = func.api;