Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
csbr-daop
/
fe-data-trusted-space
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
ac427b23
authored
2025-12-09 14:40:53 +0800
by
lihua
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
日志添加节点名称的搜索
1 parent
7c2997d6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
4 deletions
src/views/data_smart_contract/actionLogManage.vue
src/views/data_smart_contract/actionLogManage.vue
View file @
ac427b2
...
...
@@ -35,7 +35,15 @@ const processTableSearchItemList = ref([{
placeholder
:
"业务名称"
,
maxlength
:
50
,
clearable
:
true
,
},]);
},
{
type
:
"input"
,
label
:
""
,
field
:
"nodeName"
,
default
:
""
,
placeholder
:
"节点名称"
,
maxlength
:
50
,
clearable
:
true
,
}]);
const
currTableData
:
any
=
ref
({});
...
...
@@ -43,7 +51,8 @@ const currTableData: any = ref({});
const
processPage
=
ref
({
...
commonPageConfig
,
bizName
:
''
,
operatorTime
:
[]
operatorTime
:
[],
nodeName
:
''
});
const
processTableInfo
=
ref
({
...
...
@@ -53,6 +62,7 @@ const processTableInfo = ref({
{
label
:
"序号"
,
type
:
"index"
,
width
:
TableColumnWidth
.
INDEX
,
align
:
"center"
},
{
label
:
"业务Guid"
,
field
:
"bizGuid"
,
width
:
262
},
{
label
:
"业务名称"
,
field
:
"bizName"
,
width
:
220
},
{
label
:
"节点名称"
,
field
:
"nodeName"
,
width
:
220
},
{
label
:
"操作时间"
,
field
:
"operatingTime"
,
width
:
170
},
{
label
:
"操作类型"
,
field
:
"operatingType"
,
width
:
110
,
getName
:
(
scope
)
=>
{
let
typeMap
=
{
...
...
@@ -62,7 +72,6 @@ const processTableInfo = ref({
}
return
!
scope
.
row
.
operatingType
?
'--'
:
typeMap
[
scope
.
row
.
operatingType
];
}
},
{
label
:
"节点名称"
,
field
:
"nodeName"
,
width
:
220
},
{
label
:
"操作人"
,
field
:
"operator"
,
width
:
160
}
],
data
:
[],
...
...
@@ -103,9 +112,11 @@ const toProcessTableSearch = (val: any, clear: boolean = false) => {
processTableSearchItemList
.
value
.
map
((
item
)
=>
(
item
.
default
=
""
));
processPage
.
value
.
bizName
=
''
;
processPage
.
value
.
operatorTime
=
[];
processPage
.
value
.
nodeName
=
''
;
}
else
{
processPage
.
value
.
bizName
=
val
.
bizName
;
processPage
.
value
.
operatorTime
=
val
.
operatorTime
;
processPage
.
value
.
nodeName
=
val
.
nodeName
;
}
getProcessTableData
();
};
...
...
@@ -117,7 +128,8 @@ const getProcessTableData = () => {
pageSize
:
processPage
.
value
.
limit
,
bizName
:
processPage
.
value
.
bizName
,
operationTimeStart
:
processPage
.
value
.
operatorTime
?.[
0
],
operationTimeEnd
:
processPage
.
value
.
operatorTime
?.[
1
]
operationTimeEnd
:
processPage
.
value
.
operatorTime
?.[
1
],
nodeName
:
processPage
.
value
.
nodeName
}).
then
((
res
:
any
)
=>
{
processTableInfo
.
value
.
data
=
[];
if
(
res
?.
code
==
proxy
.
$passCode
)
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment