临时外出查询添加默认数据

This commit is contained in:
fl 2025-03-19 13:08:41 +08:00
parent 4d6eb914c2
commit c45c60d720
1 changed files with 3 additions and 0 deletions

View File

@ -368,6 +368,7 @@ export default {
pageSize: 10, pageSize: 10,
userName: undefined, userName: undefined,
attStatus: undefined, attStatus: undefined,
leaveType: "临时外出",
isTrain: undefined isTrain: undefined
}, },
personOptions: [], personOptions: [],
@ -559,6 +560,7 @@ export default {
/** 搜索按钮操作 */ /** 搜索按钮操作 */
handleQuery() { handleQuery() {
this.queryParams.pageNum = 1; this.queryParams.pageNum = 1;
this.queryParams.leaveType = "临时外出";
this.getList(); this.getList();
}, },
/** 重置按钮操作 */ /** 重置按钮操作 */
@ -567,6 +569,7 @@ export default {
this.resetForm("queryForm"); this.resetForm("queryForm");
this.queryParams.isTrain = undefined; this.queryParams.isTrain = undefined;
this.queryParams.leaveDate = undefined; this.queryParams.leaveDate = undefined;
this.queryParams.leaveType = "临时外出";
this.handleQuery(); this.handleQuery();
}, },
/** 新增按钮操作 */ /** 新增按钮操作 */