Commit c9217317 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 2e75ece3 c1a916f0
...@@ -316,6 +316,22 @@ img { ...@@ -316,6 +316,22 @@ img {
background-color: rgba(5, 149, 253, 1); background-color: rgba(5, 149, 253, 1);
} }
.ant-table-fixed-header .ant-table-scroll .ant-table-header {
overflow: hidden !important;
margin-bottom: 0 !important;
padding-right: 6px;
tr:only-child > th:last-child {
border-right-color: #f0f0f0 !important;
}
}
.ant-table-placeholder {
width: calc(100% - 6px);
}
// .ant-table-header {
// background: #fff;
// }
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 6px; width: 6px;
height: 6px; height: 6px;
......
...@@ -11,7 +11,9 @@ ...@@ -11,7 +11,9 @@
v-model="BegindAndEndTime" v-model="BegindAndEndTime"
> >
</a-range-picker> </a-range-picker>
<a-button type="primary" class="addclass" @click="handleSearch">搜索</a-button> <a-button type="primary" class="addclass" @click="handleSearch"
>搜索</a-button
>
<a-button @click="resetSearch">重置</a-button> <a-button @click="resetSearch">重置</a-button>
</a-space> </a-space>
</div> </div>
...@@ -110,7 +112,10 @@ export default { ...@@ -110,7 +112,10 @@ export default {
tableHeaders, tableHeaders,
searchName: "", searchName: "",
tableLoading: false, tableLoading: false,
BegindAndEndTime: [], BegindAndEndTime: [
this.$moment().format("YYYY-MM-DD"),
this.$moment().format("YYYY-MM-DD"),
],
tableSourceData: [], tableSourceData: [],
pageSizeOptions: ["10", "30", "50", "100"], pageSizeOptions: ["10", "30", "50", "100"],
current: 1, current: 1,
...@@ -127,17 +132,19 @@ export default { ...@@ -127,17 +132,19 @@ export default {
// 获取日志列表 // 获取日志列表
async getOperLogList() { async getOperLogList() {
this.tableLoading = true; this.tableLoading = true;
let query = {
logDateStart: this.BegindAndEndTime[0],
logDateEnd: this.BegindAndEndTime[1],
};
if (this.searchName != "") {
query.content = `%${this.searchName}%`;
}
let res = await getOperLogList({ let res = await getOperLogList({
pageInfo: { pageInfo: {
prePageResult: this.size, prePageResult: this.size,
currPage: this.size, currPage: this.current,
},
query: {
logDateStart: this.BegindAndEndTime[0],
logDateEnd: this.BegindAndEndTime[1],
// siteId: this.siteId,
content: `%${this.searchName}%`,
}, },
query,
}); });
this.tableLoading = false; this.tableLoading = false;
this.dict = res.data.dict; this.dict = res.data.dict;
...@@ -162,7 +169,10 @@ export default { ...@@ -162,7 +169,10 @@ export default {
}, },
resetSearch() { resetSearch() {
this.current = 1; this.current = 1;
this.BegindAndEndTime = []; this.BegindAndEndTime = [
this.$moment().format("YYYY-MM-DD"),
this.$moment().format("YYYY-MM-DD"),
];
this.searchName = ""; this.searchName = "";
this.getOperLogList(); this.getOperLogList();
}, },
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
} }
} }
html{ html {
font-size: var(--base-font-size); font-size: var(--base-font-size);
} }
...@@ -25,8 +25,8 @@ html{ ...@@ -25,8 +25,8 @@ html{
.effect-box { .effect-box {
position: sticky; position: sticky;
top: 0; top: 0;
/* height: 100vh; */ height: 100vh;
min-height: 930rem; /* min-height: 930rem; */
background-color: #031233; background-color: #031233;
perspective: 800px; perspective: 800px;
overflow: hidden; overflow: hidden;
......
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