Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
ETL-admin
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
ETL-admin
Commits
25e6c48f
Commit
25e6c48f
authored
Jan 26, 2021
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
方芳芳
parent
de50768e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
13 deletions
+40
-13
src/views/home.vue
+18
-7
src/views/watch/homework.vue
+11
-3
src/views/watch/transform.vue
+11
-3
No files found.
src/views/home.vue
View file @
25e6c48f
<
template
>
<div
class=
"dashboard-container"
>
<div
class=
"dashboard-editor-container"
>
<!--
<panelGroupETL
/>
-->
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
...
...
@@ -8,7 +10,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总监控任务数
</div>
<span
class=
"show-num"
>
{{
allRunningMonitorNum
}}
<!--
{{
allRunningMonitorNum
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allRunningMonitorNum"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -19,7 +22,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
监控作业数
</div>
<span
class=
"show-num"
>
{{
allRunningJobNum
}}
<!--
{{
allRunningJobNum
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allRunningJobNum"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -30,12 +34,15 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
监控转换数
</div>
<span
class=
"show-num"
>
{{
alRunningTransNum
}}
<!--
{{
alRunningTransNum
}}
-->
<count-to
:start-val=
"0"
:end-val=
"alRunningTransNum"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
</el-col>
</el-row>
</el-row>
...
...
@@ -150,13 +157,15 @@
import
GithubCorner
from
"@/components/GithubCorner"
;
import
PanelGroup
from
"./dashboard/PanelGroup"
;
import
LineChart
from
"./dashboard/LineChart"
;
// import panelGroupETL from "./dashboard/panelGroupETL";
// import RadarChart from "@/components/Echarts/RadarChart";
// import PieChart from "@/components/Echarts/PieChart";
// import BarChart from "@/components/Echarts/BarChart";
import
CountTo
from
'vue-count-to'
import
{
getArticleData
,
getCardData
,
getIncomeData
,
//
getArticleData,
//
getCardData,
//
getIncomeData,
// getRegData,
allRuningMonitor
,
//被监控中的总数
getKettleLine
,
//获取7天内作业和转换的折线图
...
...
@@ -173,6 +182,8 @@ export default {
GithubCorner
,
PanelGroup
,
LineChart
,
// panelGroupETL
CountTo
},
data
()
{
...
...
src/views/watch/homework.vue
View file @
25e6c48f
...
...
@@ -7,7 +7,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总作业任务数
</div>
<span
class=
"show-num"
>
{{
allRunningJobNum
}}
<!--
{{
allRunningJobNum
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allRunningJobNum"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -18,7 +19,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总成功次数
</div>
<span
class=
"show-num"
>
{{
allSuccessCount
}}
<!--
{{
allSuccessCount
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allSuccessCount"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -29,7 +31,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总失败次数
</div>
<span
class=
"show-num"
>
{{
allFailCount
}}
<!--
{{
allFailCount
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allFailCount"
:duration=
"3000"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -220,6 +223,8 @@ import {
getAllMonitorJob
,
//获取所有的监控作业数
}
from
"@/api/Statistics"
;
import
CountTo
from
'vue-count-to'
export
default
{
filters
:
{
dateFormat
(
val
)
{
...
...
@@ -237,6 +242,9 @@ export default {
}
}
},
components
:
{
CountTo
},
data
()
{
return
{
tableTest
:[],
...
...
src/views/watch/transform.vue
View file @
25e6c48f
...
...
@@ -7,7 +7,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总转换任务数
</div>
<span
class=
"show-num"
>
{{
alRunningTransNum
}}
<!--
{{
alRunningTransNum
}}
-->
<count-to
:start-val=
"0"
:end-val=
"alRunningTransNum"
:duration=
"3200"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -18,7 +19,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总成功次数
</div>
<span
class=
"show-num"
>
{{
allSuccessCount
}}
<!--
{{
allSuccessCount
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allSuccessCount"
:duration=
"3200"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -29,7 +31,8 @@
<div
class=
"num-content"
>
<div
class=
"num-title"
>
总失败次数
</div>
<span
class=
"show-num"
>
{{
allFailCount
}}
<!--
{{
allFailCount
}}
-->
<count-to
:start-val=
"0"
:end-val=
"allFailCount"
:duration=
"3200"
class=
"card-panel-num"
/>
</span>
</div>
</div>
...
...
@@ -211,6 +214,7 @@ import {
getList
,
//获取日志下拉列表
}
from
"@/api/watch/transform"
;
import
CountTo
from
'vue-count-to'
import
{
getAllMonitorTrans
,
//获取所有的监控作业数
...
...
@@ -234,6 +238,10 @@ export default {
}
},
components
:
{
CountTo
},
data
()
{
return
{
transStatusList
:[
''
,
'成功'
,
'失败'
],
...
...
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