Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
85d1f84d
authored
2020-12-25 17:31:45 +0800
by
zhaoqian
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日志数据格式
1 parent
5e481272
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
src/views/manage/log/index.vue
src/views/manage/log/index.vue
View file @
85d1f84
...
...
@@ -40,12 +40,23 @@
</div>
</el-dialog>
<el-dialog
v-dialogDrag
title=
"操作数据"
width=
"69%"
:visible
.
sync=
"operationDataVisible"
>
<div
style=
"min-height: 300px;width: 100%"
>
{{
currentOperationData
}}
</div>
</el-dialog>
<div
class=
"log-table"
>
<el-table
:data=
"tableData"
>
<el-table-column
type=
"index"
width=
"80"
align=
"center"
label=
"序号"
>
</el-table-column>
<el-table-column
prop=
"operationtype"
align=
"center"
label=
"操作类型"
>
</el-table-column>
<el-table-column
align=
"center"
label=
"操作数据"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
class=
"operatorBtn"
@
click=
"openDetail(scope.row)"
>
打开
</el-button>
</
template
>
</el-table-column>
<el-table-column
prop=
"username"
align=
"center"
width=
"100"
label=
"操作人"
>
</el-table-column>
<el-table-column
prop=
"addtime"
align=
"center"
label=
"操作时间"
>
...
...
@@ -69,6 +80,7 @@
tableData
:[],
errorLog
:[],
concreteLog
:
''
,
currentOperationData
:
''
,
total
:
0
,
pageNo
:
1
,
...
...
@@ -76,6 +88,7 @@
outerVisible
:
false
,
innerVisible
:
false
,
operationDataVisible
:
false
,
pickerOptions
:
{
shortcuts
:
[{
...
...
@@ -150,6 +163,10 @@
reset
(){
this
.
startValue
=
""
;
this
.
endValue
=
""
;
},
openDetail
(
data
){
this
.
operationDataVisible
=
true
;
this
.
currentOperationData
=
data
.
operationJson
;
}
},
mounted
()
{
...
...
Please
register
or
sign in
to post a comment