|
|
@@ -3,6 +3,7 @@ |
|
|
|
<div class="log"> |
|
|
|
<basic-container> |
|
|
|
<avue-crud |
|
|
|
height="100px" |
|
|
|
ref="crud" |
|
|
|
:page.sync="page" |
|
|
|
:data="tableData" |
|
|
@@ -25,7 +26,7 @@ |
|
|
|
import { delObj, fetchList1 } from "@/api/admin/log"; |
|
|
|
import { tableOption } from "@/const/crud/admin/log"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import { exportMethodPost} from "@/util/util"; |
|
|
|
import { exportMethodPost } from "@/util/util"; |
|
|
|
|
|
|
|
export default { |
|
|
|
name: "Log", |
|
|
@@ -41,7 +42,7 @@ export default { |
|
|
|
flag: "1", |
|
|
|
name: "", |
|
|
|
params: "", |
|
|
|
title:'' |
|
|
|
title: "", |
|
|
|
}, |
|
|
|
page: { |
|
|
|
total: 0, // 总页数 |
|
|
@@ -60,22 +61,23 @@ export default { |
|
|
|
}; |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|
this.admin_log_downLoad = this.permissions["admin_log_downLoad"]; |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
downLoad(){ |
|
|
|
let obj=Object.assign( |
|
|
|
{ |
|
|
|
descs: "create_time", |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
|
agentId: localStorage.getItem("agentId"), |
|
|
|
houseId: localStorage.getItem("houseId"), |
|
|
|
}, |
|
|
|
this.searchForm) |
|
|
|
downLoad() { |
|
|
|
let obj = Object.assign( |
|
|
|
{ |
|
|
|
descs: "create_time", |
|
|
|
orgType: localStorage.getItem("orgType"), |
|
|
|
orgCode: localStorage.getItem("orgCode"), |
|
|
|
agentId: localStorage.getItem("agentId"), |
|
|
|
houseId: localStorage.getItem("houseId"), |
|
|
|
}, |
|
|
|
this.searchForm |
|
|
|
); |
|
|
|
// exportMethodPost() |
|
|
|
exportMethodPost('/admin/log/operateLogPageExport','操作日志',obj) |
|
|
|
exportMethodPost("/admin/log/operateLogPageExport", "操作日志", obj); |
|
|
|
}, |
|
|
|
selChange(e) { |
|
|
|
this.value = ""; |
|
|
@@ -117,10 +119,10 @@ export default { |
|
|
|
remoteAddr: "", |
|
|
|
name: "", |
|
|
|
params: "", |
|
|
|
title:'' |
|
|
|
title: "", |
|
|
|
}; |
|
|
|
this.value = ""; |
|
|
|
this.time=[] |
|
|
|
this.time = []; |
|
|
|
this.getList(this.page); |
|
|
|
}, |
|
|
|
timeChange(e) { |
|
|
@@ -227,8 +229,8 @@ export default { |
|
|
|
.div-inp { |
|
|
|
width: 250px; |
|
|
|
} |
|
|
|
/deep/ .el-button--primary{ |
|
|
|
background: #2671E2 !important; |
|
|
|
border: 1px solid #2671E2 !important; |
|
|
|
/deep/ .el-button--primary { |
|
|
|
background: #2671e2 !important; |
|
|
|
border: 1px solid #2671e2 !important; |
|
|
|
} |
|
|
|
</style> |