Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张浩
/
br-client
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
Commit
41ae6c79
...
41ae6c7999cafa17a2d356f1647f1a216d02143b
authored
2022-02-22 10:33:40 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
460c53e7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
src/page/bizDataCount.vue
src/page/methodCount.vue
src/page/bizDataCount.vue
View file @
41ae6c7
...
...
@@ -5,6 +5,7 @@
<el-table
:data=
"bizDataCounts"
border
@
row-click=
"myRowClick"
style=
"width: 100%"
:header-cell-style=
"
{background: 'deepskyblue', color: 'snow'}">
<el-table-column
...
...
@@ -71,6 +72,15 @@
type
:
'error'
});
})
},
myRowClick
(
row
,
column
,
event
)
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'bizDataResponse'
,
query
:
{
name
:
this
.
name
,
bizdata
:
row
.
bizData
,
beginDate
:
this
.
beginDate
,
endDate
:
this
.
endDate
,
type
:
this
.
type
}})
window
.
open
(
href
,
'_blank'
)
}
}
}
...
...
src/page/methodCount.vue
View file @
41ae6c7
...
...
@@ -5,6 +5,7 @@
<el-table
:data=
"methodCounts"
border
@
row-click=
"myRowClick"
style=
"width: 100%"
:header-cell-style=
"
{background: 'deepskyblue', color: 'snow'}">
<el-table-column
...
...
@@ -69,6 +70,14 @@
type
:
'error'
});
})
},
myRowClick
(
row
,
column
,
event
)
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'bizDataCount'
,
query
:
{
name
:
row
.
method
,
beginDate
:
this
.
beginDate
,
endDate
:
this
.
endDate
,
type
:
this
.
type
}})
window
.
open
(
href
,
'_blank'
)
}
}
}
...
...
Please
register
or
sign in
to post a comment