Commit ea613da2 by baihong

操作日志

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