Commit ea613da2 by baihong

操作日志

parent 85e6e325
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
placeholder="Select date" placeholder="Select date"
style="width: 200px" style="width: 200px"
></DatePicker> ></DatePicker>
<Button type="primary" @click="goDetail">查 询</Button> <Button type="primary" @click="search">查 询</Button>
<Button type="primary" ghost>重 置</Button> <Button type="primary" ghost>重 置</Button>
</div> </div>
</div> </div>
...@@ -93,11 +93,11 @@ export default { ...@@ -93,11 +93,11 @@ export default {
}, },
{ {
title: "姓名", title: "姓名",
slot: "admin_name" key: "admin_name"
}, },
{ {
title: "操作菜单", title: "操作菜单",
slot: "desc" key: "desc"
}, },
{ {
title: "操作", title: "操作",
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
}, },
{ {
title: "操作时间", title: "操作时间",
slot: "create_time" key: "create_time"
} }
] ]
}; };
...@@ -118,8 +118,8 @@ export default { ...@@ -118,8 +118,8 @@ export default {
objectType: 1, objectType: 1,
startDate: this.date[0], startDate: this.date[0],
endDate: this.date[1], endDate: this.date[1],
pageIndex: this.pageIndex, page_index: this.pageIndex,
pageSize: this.pageSize page_size: this.pageSize
}; };
adminLogs(params).then(res => { adminLogs(params).then(res => {
this.config.total = res.total; this.config.total = res.total;
...@@ -145,7 +145,9 @@ export default { ...@@ -145,7 +145,9 @@ export default {
this.search(); this.search();
} }
}, },
mounted() {} mounted() {
this.search()
}
}; };
</script> </script>
......
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