fix(系统设置): 操作日志增加默认查询条件

--bug=1008235 --user=王孝刚 【系统设置】操作日志建议增加一个默认查询条件
https://www.tapd.cn/55049933/s/1072735
This commit is contained in:
wxg0103 2021-11-23 10:57:24 +08:00 committed by 刘瑞斌
parent 630f1d5ed3
commit e27184955f
1 changed files with 3 additions and 2 deletions

View File

@ -145,7 +145,9 @@ export default {
pageSize: 10,
total: 0,
items: [],
condition: {},
condition: {
times: [new Date().getTime() - 3600 * 1000 * 24 * 7, new Date().getTime()],
},
tableData: [],
userList: [],
screenHeight: 'calc(100vh - 270px)',
@ -275,7 +277,6 @@ export default {
this.initTableData();
},
initProject(url) {
this.condition = {};
this.result = this.$get(url, response => {
let projects = response.data;
let projectIds = [];