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
972c85cd
...
972c85cdb5ff656f0206e2cf48d6ddf5afd92659
authored
2022-02-10 11:39:05 +0800
by
zhanghao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
a08127ab
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
10 deletions
src/page/bizDataCount.vue
src/page/bizDataResponse.vue
src/page/methodCount.vue
src/page/toolData.vue
src/page/bizDataCount.vue
View file @
972c85c
...
...
@@ -33,6 +33,7 @@
name
:
this
.
$route
.
query
.
name
,
beginDate
:
this
.
$route
.
query
.
beginDate
,
endDate
:
this
.
$route
.
query
.
endDate
,
type
:
this
.
$route
.
query
.
type
,
bizDataCounts
:
[]
}
},
...
...
@@ -55,7 +56,8 @@
this
.
$http
.
get
(
'/bigdata/bizDataCount?'
+
this
.
$qs
.
stringify
({
method
:
this
.
name
,
beginDate
:
this
.
beginDate
,
endDate
:
this
.
endDate
endDate
:
this
.
endDate
,
type
:
this
.
type
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
bizDataCounts
=
res
.
data
.
bizDataCounts
...
...
src/page/bizDataResponse.vue
View file @
972c85c
...
...
@@ -34,6 +34,7 @@
bizdata
:
this
.
$route
.
query
.
bizdata
,
beginDate
:
this
.
$route
.
query
.
beginDate
,
endDate
:
this
.
$route
.
query
.
endDate
,
type
:
this
.
$route
.
query
.
type
,
bizDataResponses
:
[]
}
},
...
...
@@ -57,7 +58,8 @@
method
:
this
.
name
,
biz_data
:
this
.
bizdata
,
beginDate
:
this
.
beginDate
,
endDate
:
this
.
endDate
endDate
:
this
.
endDate
,
type
:
this
.
type
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
bizDataResponses
=
res
.
data
.
bizDataResponses
...
...
src/page/methodCount.vue
View file @
972c85c
...
...
@@ -32,6 +32,7 @@
return
{
beginDate
:
this
.
$route
.
query
.
beginDate
,
endDate
:
this
.
$route
.
query
.
endDate
,
type
:
this
.
$route
.
query
.
type
,
methodCounts
:
[]
}
},
...
...
@@ -53,7 +54,8 @@
}
this
.
$http
.
get
(
'/bigdata/methodCount?'
+
this
.
$qs
.
stringify
({
beginDate
:
this
.
beginDate
,
endDate
:
this
.
endDate
endDate
:
this
.
endDate
,
type
:
this
.
type
}),
config
).
then
((
res
)
=>
{
console
.
log
(
res
.
data
)
this
.
methodCounts
=
res
.
data
.
methodCounts
...
...
src/page/toolData.vue
View file @
972c85c
...
...
@@ -18,6 +18,16 @@
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-select
v-model=
"methodCount.huanjing"
placeholder=
"请选择执行环境"
>
<el-option
v-for=
"item in methodCountOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"methodCountSubmit"
>
查询概况
</el-button>
...
...
@@ -46,6 +56,16 @@
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-select
v-model=
"bizDataCount.huanjing"
placeholder=
"请选择执行环境"
>
<el-option
v-for=
"item in bizDataCountOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"bizDataCountSubmit"
>
查询参数
</el-button>
...
...
@@ -77,6 +97,16 @@
end-placeholder=
"结束日期"
>
</el-date-picker>
</el-form-item>
<el-form-item>
<el-select
v-model=
"bizDataResponse.huanjing"
placeholder=
"请选择执行环境"
>
<el-option
v-for=
"item in bizDataResponseOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
<div
style=
"margin: 15px 0;"
></div>
<el-form-item>
<el-button
round
@
click=
"bizDataResponseSubmit"
>
查询Response
</el-button>
...
...
@@ -158,17 +188,41 @@
data
()
{
return
{
methodCount
:
{
showdate
:
''
showdate
:
''
,
huanjing
:
[]
},
methodCountOptions
:
[{
value
:
'0'
,
label
:
'测试环境'
},
{
value
:
'1'
,
label
:
'线上环境'
}],
bizDataCount
:
{
name
:
''
,
showdate
:
''
showdate
:
''
,
huanjing
:
[]
},
bizDataCountOptions
:
[{
value
:
'0'
,
label
:
'测试环境'
},
{
value
:
'1'
,
label
:
'线上环境'
}],
bizDataResponse
:
{
name
:
''
,
bizdata
:
''
,
showdate
:
''
}
showdate
:
''
,
huanjing
:
[]
},
bizDataResponseOptions
:
[{
value
:
'0'
,
label
:
'测试环境'
},
{
value
:
'1'
,
label
:
'线上环境'
}],
}
},
mounted
()
{
...
...
@@ -196,14 +250,17 @@
},
methodCountSubmit
()
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'methodCount'
,
query
:
{
beginDate
:
this
.
methodCount
.
showdate
[
0
],
endDate
:
this
.
methodCount
.
showdate
[
1
]}})
{
beginDate
:
this
.
methodCount
.
showdate
[
0
],
endDate
:
this
.
methodCount
.
showdate
[
1
],
type
:
this
.
methodCount
.
huanjing
.
toString
()}})
window
.
open
(
href
,
'_blank'
)
},
bizDataCountSubmit
()
{
const
{
href
}
=
this
.
$router
.
resolve
({
name
:
'bizDataCount'
,
query
:
{
name
:
this
.
bizDataCount
.
name
,
beginDate
:
this
.
bizDataCount
.
showdate
[
0
],
endDate
:
this
.
bizDataCount
.
showdate
[
1
]}})
endDate
:
this
.
bizDataCount
.
showdate
[
1
],
type
:
this
.
bizDataCount
.
huanjing
.
toString
()}})
window
.
open
(
href
,
'_blank'
)
},
bizDataResponseSubmit
()
{
...
...
@@ -211,7 +268,8 @@
{
name
:
this
.
bizDataResponse
.
name
,
bizdata
:
this
.
bizDataResponse
.
bizdata
,
beginDate
:
this
.
bizDataResponse
.
showdate
[
0
],
endDate
:
this
.
bizDataResponse
.
showdate
[
1
]}})
endDate
:
this
.
bizDataResponse
.
showdate
[
1
],
type
:
this
.
bizDataResponse
.
huanjing
.
toString
()}})
window
.
open
(
href
,
'_blank'
)
}
}
...
...
Please
register
or
sign in
to post a comment