Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
潘自豪 Rambo Pan
shld-databoard-ui
Commits
ed735071
Commit
ed735071
authored
Aug 07, 2024
by
xuzhuo
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/240806_pro_release' into 240806_pro_release
parents
9aeec0ea
ad07b1d4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
0 deletions
+126
-0
index.css
src/module/databoard/assets/index.css
+6
-0
safe-quality.vue
src/module/databoard/databoard/safe-quality.vue
+114
-0
index_router.js
src/module/index/router/index_router.js
+6
-0
No files found.
src/module/databoard/assets/index.css
View file @
ed735071
...
...
@@ -65,6 +65,12 @@
display
:
flex
;
padding
:
1rem
;
}
.full_page
{
height
:
100%
;
justify-content
:
space-around
;
display
:
flex
;
padding
:
1rem
;
}
.content
{
float
:
left
;
...
...
src/module/databoard/databoard/safe-quality.vue
0 → 100644
View file @
ed735071
<
template
>
<div
class=
"main"
>
<div
class=
"full_page"
>
<!-- 左-->
<div
class=
"trade_left"
>
<div
style=
"height: 37%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"安全"
>
<winners-list
style=
"height: 96%;overflow: auto;"
:mouseHand=
"true"
@
click
.
native=
"goArBar"
id=
"safe_list"
:rows=
"arSafeList"
/>
</display-board>
</div>
<div
style=
"height: 37%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"质量"
>
<winners-list
style=
"height: 96%;overflow: auto;"
:mouseHand=
"true"
@
click
.
native=
"goArBar"
id=
"quality_list"
:rows=
"arQualityList"
/>
</display-board>
</div>
<div
style=
"height: 26%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"人员情况表"
>
<div
class=
"bar"
>
<div
ref=
"bar"
></div>
</div>
</display-board>
</div>
</div>
<!--中-->
<display-board
class=
"trade_middle"
>
<div
class=
"trade_middle"
style=
"border: none;box-shadow: none;"
>
<div
style=
"display: flex; justify-content: space-between; height: 80%;"
>
</div>
<div
style=
"display: flex; justify-content: space-between; height: 20%;"
>
</div>
</div>
</display-board>
<!-- 右-->
<div
class=
"trade_right"
>
<div
style=
"height: 33%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"汽运"
>
</display-board>
</div>
<div
style=
"height: 33%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"水运"
>
</display-board>
</div>
<div
style=
"height: 34%;"
>
<display-board
style=
"display: flex; justify-content: space-between; height: 98%;"
title=
"铁运"
>
</display-board>
</div>
</div>
</div>
</div>
</
template
>
<
script
>
import
DisplayBoard
from
"../components/container/display-board.vue"
;
import
WinnersList
from
"../components/card/winners-list.vue"
;
import
TitleContentMark
from
"../components/layout/title-content-mark.vue"
;
export
default
{
name
:
"SafeQuality"
,
components
:
{
TitleContentMark
,
DisplayBoard
,
WinnersList
},
data
()
{
return
{}
},
methods
:
{
refreshData
()
{
this
.
getPeopleInfos
();
},
getPeopleInfos
(){
// var seriesBar = [];
// seriesBar.push(adapterSeriesDataBar(null, "在编", [10,20]));
// seriesBar.push(adapterSeriesDataBar(null, "出勤", [15]));
// seriesBar.push(adapterSeriesDataBar(null, "请假", [8]));
//
// this.peopleInfoOption.series = seriesBar;
// let barDom = this.$refs.bar;
// let chart=echarts.init(barDom);
// chart.setOption(this.peopleInfoOption);
}
},
mounted
()
{
this
.
refreshData
();
},
beforeDestroy
()
{
},
watch
:{
countDown
(
n
,
o
){
if
(
n
===
1
){
this
.
refreshData
();
}
},
},
props
:{
countDown
:{
type
:
Number
}
}
};
</
script
>
<
style
scoped
>
#ar_company_list
:hover
{
background-color
:
#19EBFF10
;
transform
:
scale
(
101%
);
}
</
style
>
src/module/index/router/index_router.js
View file @
ed735071
...
...
@@ -13,6 +13,7 @@ import TargetAchievement from "../../databoard/databoard/target-achievement.vue"
import
DepartmentShipment
from
"../../databoard/databoard/department-shipment.vue"
;
import
ElementUI
from
'element-ui'
;
import
'element-ui/lib/theme-chalk/index.css'
;
import
SafeQuality
from
"../../databoard/databoard/safe-quality"
;
Vue
.
use
(
Router
)
...
...
@@ -84,6 +85,11 @@ export default new Router({
path
:
'/department-shipment'
,
name
:
'DepartmentShipment'
,
component
:
DepartmentShipment
},
{
path
:
'/safe-quality'
,
name
:
'safeQuality'
,
component
:
SafeQuality
}
]
})
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