Commit dab48e4a authored by “yiyousong”'s avatar “yiyousong”

fix: 修复日志列表翻页错误

parent df63ace5
...@@ -129,18 +129,16 @@ export default { ...@@ -129,18 +129,16 @@ export default {
// 获取日志列表 // 获取日志列表
async getOperLogList() { async getOperLogList() {
this.tableLoading = true; this.tableLoading = true;
let res = await getOperLogList({ let query = {
pageInfo: { size: this.size,
prePageResult: this.size, page: this.current,
currPage: this.size, logDateStart: this.BegindAndEndTime[0],
}, logDateEnd: this.BegindAndEndTime[1],
query: { };
logDateStart: this.BegindAndEndTime[0], if (this.searchName != "") {
logDateEnd: this.BegindAndEndTime[1], query.content = `%${this.searchName}%`;
// siteId: this.siteId, }
content: `%${this.searchName}%`, let res = await getOperLogList(query);
},
});
this.tableLoading = false; this.tableLoading = false;
this.dict = res.data.dict; this.dict = res.data.dict;
if (res.code === 1) { if (res.code === 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment