Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
N
nse-ui
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
nse-ui
Commits
9474c36f
Commit
9474c36f
authored
Sep 25, 2025
by
wanglizhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统日志管理
parent
da4bea7d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
80 行增加
和
43 行删除
+80
-43
src/views/systemConfig/SystemLogManage/index.vue
+80
-43
没有找到文件。
src/views/systemConfig/SystemLogManage/index.vue
View file @
9474c36f
...
@@ -83,38 +83,40 @@ onMounted(() => {
...
@@ -83,38 +83,40 @@ onMounted(() => {
<
template
>
<
template
>
<div
class=
"app-container scroller"
>
<div
class=
"app-container scroller"
>
<PageTitle>
<template
#
title
>
系统控制台
</
template
>
</PageTitle>
<div
class=
"app-container__body"
>
<div
class=
"app-container__body"
>
<div
class=
"formBox"
>
<div
class=
"pageTitle"
>
<el-form-item
label=
"保留月份:"
prop=
""
>
<img
class=
"icon"
src=
"@/assets/images/systemConfig/systemParamPage.png"
alt=
""
>
<div
style=
"display: flex;"
>
<span>
系统日志管理
</span>
<el-select
v-model=
"keepMonth"
placeholder=
"请选择"
>
</div>
<el-option
v-for=
"item in monthOptions"
:key=
"item"
:label=
"item"
:value=
"item"
>
<div
class=
"box"
>
</el-option>
<div
class=
"line"
></div>
</el-select>
<div
class=
"content"
>
<el-button
type=
"primary"
style=
"width: 120px; margin-left: 10px;"
@
click=
"handelSave()"
>
保存
</el-button>
<el-form-item
label=
"保留月份:"
prop=
""
>
</div>
<div
style=
"display: flex;width: 100%;"
>
</el-form-item>
<el-select
v-model=
"keepMonth"
placeholder=
"请选择"
style=
"flex: 1;"
>
<el-form-item
label=
"日志日期:"
prop=
""
>
<el-option
v-for=
"item in monthOptions"
:key=
"item"
:label=
"item"
:value=
"item"
>
<div
style=
"width: 100%;justify-content: space-between;display: flex;"
>
</el-option>
<div
style=
"display: flex;"
>
</el-select>
<el-date-picker
v-model=
"queryData.date"
type=
"date"
placeholder=
"请选择日志日期"
<el-button
type=
"primary"
style=
"width: 60px; margin-left: 10px;border-radius: 0;"
@
click=
"handelSave()"
>
保存
</el-button>
value-format=
"YYYY-MM-DD"
></el-date-picker>
<div
style=
"display: flex;align-items: center;margin-left: 30px;"
>
<span>
近
</span>
<el-input
v-model=
"queryData.count"
style=
"width: 80px;margin: 0px 6px;"
></el-input>
<span>
条
</span>
</div>
</div>
</div>
<div>
</el-form-item>
<el-button
type=
"primary"
@
click=
"querylogFunc()"
>
查询
</el-button>
<el-form-item
label=
"日志日期:"
prop=
""
>
<el-button
type=
"primary"
style=
"margin-left: 10px;"
@
click=
"downloadFunc()"
>
下载
</el-button>
<div
style=
"width: 100%;justify-content: space-between;display: flex;"
>
<div
style=
"display: flex;width: 100%;"
>
<el-date-picker
style=
"flex: 1;"
v-model=
"queryData.date"
type=
"date"
placeholder=
"请选择日志日期"
value-format=
"YYYY-MM-DD"
></el-date-picker>
<div
style=
"display: flex;align-items: center;margin-left: 30px;"
>
<span>
近
</span>
<el-input
v-model=
"queryData.count"
style=
"width: 80px;margin: 0px 6px;"
></el-input>
<span>
条
</span>
</div>
<el-button
type=
"primary"
style=
"width: 60px;border-radius: 0;margin-left: 24px;"
@
click=
"querylogFunc()"
>
查询
</el-button>
<el-button
type=
"primary"
style=
"width: 60px; margin-left: 10px;border-radius: 0;background: rgba(11, 136, 251, 1);border-color: rgba(11, 136, 251, 1);"
@
click=
"downloadFunc()"
>
下载
</el-button>
</div>
</div>
</div>
</
div
>
</
el-form-item
>
</el-form-item
>
<el-input
type=
"textarea"
v-model=
"resultStr"
rows=
"20"
placeholder=
""
readonly
></el-input
>
<
el-input
type=
"textarea"
v-model=
"resultStr"
rows=
"20"
placeholder=
""
readonly
></el-input
>
<
/div
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -122,21 +124,55 @@ onMounted(() => {
...
@@ -122,21 +124,55 @@ onMounted(() => {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.app-container__body
{
.app-container__body
{
:deep(.el-form-item__label){
.pageTitle
{
font-weight
:
400
;
margin-bottom
:
20px
;
}
display
:
flex
;
:deep
(
.el-input__wrapper
)
{
align-items
:
center
;
background
:
#f3f5fa
;
font-size
:
16px
;
}
font-weight
:
500
;
:deep
(
.el-select__wrapper
)
{
letter-spacing
:
0px
;
background
:
#f3f5fa
;
line-height
:
22px
;
}
color
:
rgba
(
53
,
64
,
79
,
1
);
:deep
(
.el-textarea__inner
)
{
background
:
#f3f5fa
;
.icon
{
margin-right
:
6px
;
width
:
16px
;
height
:
16px
;
}
}
}
.formBox
{
.box
{
width
:
800px
;
display
:
flex
;
margin
:
0px
auto
;
flex-direction
:
column
;
flex
:
1
;
overflow
:
hidden
;
background
:
#fff
;
.line
{
width
:
100%
;
height
:
2px
;
border-radius
:
5px
5px
0px
0px
;
background
:
linear-gradient
(
90deg
,
rgba
(
33
,
103
,
217
,
1
)
0%
,
rgba
(
17
,
200
,
250
,
1
)
34.03%
,
rgba
(
33
,
103
,
217
,
1
)
64.58%
,
rgba
(
48
,
128
,
255
,
1
)
100%
);
}
.content
{
padding
:
52px
280px
;
flex
:
1
;
overflow
:
hidden
;
display
:
flex
;
flex-direction
:
column
;
:deep(.el-form-item__label){
font-weight
:
400
;
font-size
:
12px
;
color
:
rgba
(
148
,
148
,
148
,
1
);
}
:deep
(
.el-textarea__inner
)
{
background
:
#f3f5fa
;
}
}
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论