Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
video-monitoring
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
video-monitoring
Commits
3be24a92
Commit
3be24a92
authored
Aug 21, 2024
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改日志信息界面
parent
2e2ff926
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
27 deletions
+34
-27
index.vue
src/views/monitor/operlog/index.vue
+34
-27
No files found.
src/views/monitor/operlog/index.vue
View file @
3be24a92
<
template
>
<
template
>
<div
class=
"app-container"
>
<div
class=
"app-container"
>
<div
style=
"background-color: white;margin-bottom:20px; padding-left: 30px;padding-right: 30px"
>
<div>
<span
style=
"display: flex;justify-content: flex-start;align-items: center;"
>
<div
style=
"border: 1px solid #116FBB;width: 2px;height: 20px;margin-right: 5px"
></div>
<h5
style=
"color: #116FBB"
>
日志管理
</h5></span>
</div>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form
:model=
"queryParams"
ref=
"queryForm"
size=
"small"
:inline=
"true"
v-show=
"showSearch"
label-width=
"68px"
>
<el-form-item
label=
"操作地址"
prop=
"operIp"
>
<el-form-item
prop=
"operIp"
>
<el-input
<el-input
v-model=
"queryParams.operIp"
v-model=
"queryParams.operIp"
placeholder=
"请输入操作地址"
placeholder=
"请输入操作地址"
...
@@ -10,7 +16,7 @@
...
@@ -10,7 +16,7 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"系统模块"
prop=
"title"
>
<el-form-item
prop=
"title"
>
<el-input
<el-input
v-model=
"queryParams.title"
v-model=
"queryParams.title"
placeholder=
"请输入系统模块"
placeholder=
"请输入系统模块"
...
@@ -19,7 +25,7 @@
...
@@ -19,7 +25,7 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作人员"
prop=
"operName"
>
<el-form-item
prop=
"operName"
>
<el-input
<el-input
v-model=
"queryParams.operName"
v-model=
"queryParams.operName"
placeholder=
"请输入操作人员"
placeholder=
"请输入操作人员"
...
@@ -28,7 +34,7 @@
...
@@ -28,7 +34,7 @@
@
keyup
.
enter
.
native=
"handleQuery"
@
keyup
.
enter
.
native=
"handleQuery"
/>
/>
</el-form-item>
</el-form-item>
<el-form-item
label=
"类型"
prop=
"businessType"
>
<el-form-item
prop=
"businessType"
>
<el-select
<el-select
v-model=
"queryParams.businessType"
v-model=
"queryParams.businessType"
placeholder=
"操作类型"
placeholder=
"操作类型"
...
@@ -43,7 +49,7 @@
...
@@ -43,7 +49,7 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
prop=
"status"
>
<el-select
<el-select
v-model=
"queryParams.status"
v-model=
"queryParams.status"
placeholder=
"操作状态"
placeholder=
"操作状态"
...
@@ -58,7 +64,7 @@
...
@@ -58,7 +64,7 @@
/>
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"操作时间"
>
<el-form-item>
<el-date-picker
<el-date-picker
v-model=
"dateRange"
v-model=
"dateRange"
style=
"width: 240px"
style=
"width: 240px"
...
@@ -70,16 +76,11 @@
...
@@ -70,16 +76,11 @@
:default-time=
"['00:00:00', '23:59:59']"
:default-time=
"['00:00:00', '23:59:59']"
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-form-item>
</el-form>
</el-form>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-row
:gutter=
"10"
class=
"mb8"
>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"danger"
plain
plain
icon=
"el-icon-delete"
icon=
"el-icon-delete"
size=
"mini"
size=
"mini"
...
@@ -90,7 +91,6 @@
...
@@ -90,7 +91,6 @@
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
<el-button
type=
"danger"
plain
plain
icon=
"el-icon-delete"
icon=
"el-icon-delete"
size=
"mini"
size=
"mini"
...
@@ -98,9 +98,8 @@
...
@@ -98,9 +98,8 @@
v-hasPermi=
"['monitor:operlog:remove']"
v-hasPermi=
"['monitor:operlog:remove']"
>
清空
</el-button>
>
清空
</el-button>
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1
9
.5"
>
<el-button
<el-button
type=
"warning"
plain
plain
icon=
"el-icon-download"
icon=
"el-icon-download"
size=
"mini"
size=
"mini"
...
@@ -108,7 +107,14 @@
...
@@ -108,7 +107,14 @@
v-hasPermi=
"['monitor:operlog:export']"
v-hasPermi=
"['monitor:operlog:export']"
>
导出
</el-button>
>
导出
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch
.
sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<div
style=
"margin-left: 90%"
>
<el-col
:span=
"19.5"
class=
"text-right"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
size=
"mini"
@
click=
"handleQuery"
>
搜索
</el-button>
</el-col>
<el-col
:span=
"1"
class=
"text-right"
>
<el-button
icon=
"el-icon-refresh"
size=
"mini"
@
click=
"resetQuery"
>
重置
</el-button>
</el-col>
</div>
</el-row>
</el-row>
<el-table
ref=
"tables"
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
:default-sort=
"defaultSort"
@
sort-change=
"handleSortChange"
>
<el-table
ref=
"tables"
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
:default-sort=
"defaultSort"
@
sort-change=
"handleSortChange"
>
...
@@ -125,7 +131,7 @@
...
@@ -125,7 +131,7 @@
<el-table-column
label=
"操作地点"
align=
"center"
prop=
"operLocation"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"操作地点"
align=
"center"
prop=
"operLocation"
:show-overflow-tooltip=
"true"
/>
<el-table-column
label=
"操作状态"
align=
"center"
prop=
"status"
>
<el-table-column
label=
"操作状态"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<dict-tag
:options=
"dict.type.sys_common_status"
:value=
"scope.row.status"
/
>
<span
:style=
"
{ color: scope.row.status === 0 ? 'green' : 'red' }">
{{
scope
.
row
.
status
===
0
?
'成功'
:
'失败'
}}
</span
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"操作日期"
align=
"center"
prop=
"operTime"
width=
"160"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
>
<el-table-column
label=
"操作日期"
align=
"center"
prop=
"operTime"
width=
"160"
sortable=
"custom"
:sort-orders=
"['descending', 'ascending']"
>
...
@@ -141,23 +147,24 @@
...
@@ -141,23 +147,24 @@
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
size=
"m
ini
"
size=
"m
edium
"
type=
"text
"
style=
"border: transparent
"
icon=
"el-icon-view"
icon=
"el-icon-view"
@
click=
"handleView(scope.row,scope.index)"
@
click=
"handleView(scope.row,scope.index)"
v-hasPermi=
"['monitor:operlog:query']"
v-hasPermi=
"['monitor:operlog:query']"
>
详细
</el-button>
></el-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
<pagination
<pagination
v-show=
"total>0"
style=
"display: flex;align-items: center;justify-content: center;"
:total=
"total"
v-show=
"total>0"
:page
.
sync=
"queryParams.pageNum"
:total=
"total"
:limit
.
sync=
"queryParams.pageSize"
:page
.
sync=
"queryParams.pageNum"
@
pagination=
"getList"
:limit
.
sync=
"queryParams.pageSize"
/>
@
pagination=
"getList"
/>
<!-- 操作日志详细 -->
<!-- 操作日志详细 -->
<el-dialog
title=
"操作日志详细"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
<el-dialog
title=
"操作日志详细"
:visible
.
sync=
"open"
width=
"800px"
append-to-body
>
...
@@ -204,6 +211,7 @@
...
@@ -204,6 +211,7 @@
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -320,4 +328,3 @@ export default {
...
@@ -320,4 +328,3 @@ export default {
}
}
};
};
</
script
>
</
script
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment