Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
Z
zhxf_vue
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
葛齐林
zhxf_vue
Commits
fff7f13f
Commit
fff7f13f
authored
May 21, 2021
by
co_dengxiongwen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of gitlab.suntrayoa.com:geqilin/zhxf_vue into dev
parents
7bd7876a
7176c9a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
36 deletions
+35
-36
cardWarp.vue
src/pages/components/cardWarp.vue
+9
-11
index.vue
src/pages/ol/kanban/index.vue
+26
-25
No files found.
src/pages/components/cardWarp.vue
View file @
fff7f13f
...
...
@@ -3,11 +3,10 @@
.card-header(
:style="{ height, 'line-height': height, background: bgcolor }"
)
span.card-title(:style="{'font-size':size+'px','font-weight':weight}")
{{
title
}}
div(style="margin-left: 20px;color:#3A648A;")
div.card-title(:style="{'font-size':size+'px','font-weight':weight}")
div
{{
title
}}
slot(name="left")
span(style='font-size:12px;')
slot(name="right")
slot(name="right" style='font-size:12px;position:absolute;right:0;')
.card-content
slot(name="content")
</
template
>
...
...
@@ -26,7 +25,7 @@ export default {
},
bgcolor
:
{
type
:
String
,
default
:
'#
f2fa
ff'
default
:
'#
b7e4
ff'
},
size
:
{
type
:
String
,
...
...
@@ -47,18 +46,17 @@ export default {
.card-header
{
display
:
flex
;
justify-content
:
space-between
;
padding
:
0
10
px
;
//
justify-content: space-between;
padding
:
0
5
px
;
border-bottom
:
1px
solid
#ececec
;
.card-title
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
font-size
:
15px
;
width
:
100%
;
position
:
relative
;
}
}
.card-content
{
margin
:
10
px
;
margin
:
8
px
;
}
}
</
style
>
src/pages/ol/kanban/index.vue
View file @
fff7f13f
...
...
@@ -5,21 +5,22 @@ el-container(style="padding: 0px; height: 77.6vh")
)
span.title-bold
el-select(v-model="mapId" size="mini" @change="handleChange")
el-option(v-for="(item,index) in mapList" :key="index" :label="item.stationName=='全部'?item.stationName:item.stationName +'
-
'+item.name" :value="item.id")
el-option(v-for="(item,index) in mapList" :key="index" :label="item.stationName=='全部'?item.stationName:item.stationName +'
-
'+item.name" :value="item.id")
el-main.box_main
div( style="margin-bottom: 20px")
el-row(v-if="this.mapId==''" :gutter='
2
0')
el-row(v-if="this.mapId==''" :gutter='
1
0')
el-col(:span='24' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0' )
el-row(type='flex' justify='center' :gutter='
1
0' )
el-col(:span='3' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName",size='13' height="30px" weight='550')
card-warp(:title="item.resourceName",size='12' height="30px" weight='550')
span( slot="right" style='transform:scale(.9)') B3栋-负一层加压送风机房
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",size='12' height="25px" weight='400' style='width:185px;margin:0 auto;')
card-warp(:title="children.rightName",size='12' height="25px" weight='400'
bgcolor=''
style='width:185px;margin:0 auto;')
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -28,7 +29,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='24' v-if='dataList[1]' style="margin-bottom: 20px")
card-warp(:title="dataList[1].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0' )
el-row(type='flex' justify='center' :gutter='
1
0' )
el-col(:span='12' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
...
...
@@ -43,7 +44,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='6' v-if='dataList[2]' style="margin-bottom: 20px")
card-warp(:title="dataList[2].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0' )
el-row(type='flex' justify='center' :gutter='
1
0' )
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
...
...
@@ -58,7 +59,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='10' v-if='dataList[3]' style="margin-bottom: 20px")
card-warp(:title="dataList[3].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0' )
el-row(type='flex' justify='center' :gutter='
1
0' )
el-col(:span='24' v-for="item in dataList[3].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
...
...
@@ -100,7 +101,7 @@ el-container(style="padding: 0px; height: 77.6vh")
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='a417aed5969149eab43e56d18f75fd23'" :gutter='
2
0')
el-row(v-if="mapId=='a417aed5969149eab43e56d18f75fd23'" :gutter='
1
0')
el-col(:span='4' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
...
...
@@ -123,7 +124,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0')
el-row(type='flex' :gutter='
1
0')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
@@ -140,7 +141,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0' )
el-row(type='flex' :gutter='
1
0' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
@@ -148,15 +149,15 @@ el-container(style="padding: 0px; height: 77.6vh")
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='1cfdb9eaaeda4204a40b072406f07b19'" :gutter='
2
0')
el-row(v-if="mapId=='1cfdb9eaaeda4204a40b072406f07b19'" :gutter='
1
0')
el-col(:span='16' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0')
el-row(type='flex' justify='center' :gutter='
1
0')
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0' )
el-row(type='flex' :gutter='
1
0' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
@@ -167,7 +168,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='6' v-if='dataList[1]' style="margin-bottom: 20px")
card-warp(:title="dataList[1].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0')
el-row(type='flex' justify='center' :gutter='
1
0')
el-col(:span='24' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
...
...
@@ -182,7 +183,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='6' v-if='dataList[2]' style="margin-bottom: 20px")
card-warp(:title="dataList[2].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0')
el-row(type='flex' justify='center' :gutter='
1
0')
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
...
...
@@ -194,15 +195,15 @@ el-container(style="padding: 0px; height: 77.6vh")
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='019826466e324c64a8e34d575c709883'" :gutter='
2
0')
el-row(v-if="mapId=='019826466e324c64a8e34d575c709883'" :gutter='
1
0')
el-col(:span='12' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px" :gutter='
2
0')
card-warp(:title="dataList[0].name", height="35px" :gutter='
1
0')
div(slot="content")
el-row(type='flex' justify='center' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' :gutter='
2
0' weight='550')
card-warp(:title="item.resourceName", height="30px" size='13' :gutter='
1
0' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0')
el-row(type='flex' :gutter='
1
0')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
@@ -210,7 +211,7 @@ el-container(style="padding: 0px; height: 77.6vh")
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='a3324eec06b14e889a7f1aa429bedf21'" :gutter='
2
0')
el-row(v-if="mapId=='a3324eec06b14e889a7f1aa429bedf21'" :gutter='
1
0')
el-col(:span='16' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
...
...
@@ -218,7 +219,7 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0' )
el-row(type='flex' :gutter='
1
0' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
@@ -226,15 +227,15 @@ el-container(style="padding: 0px; height: 77.6vh")
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='1ba71eca3bbf499c98380d240f28f9eb'" :gutter='
2
0')
el-row(v-if="mapId=='1ba71eca3bbf499c98380d240f28f9eb'" :gutter='
1
0')
el-col(:span='4' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
el-row(type='flex' justify='center' :gutter='
2
0')
el-row(type='flex' justify='center' :gutter='
1
0')
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="30px" size='13' weight='550')
div(slot="content")
el-row(type='flex' :gutter='
2
0' )
el-row(type='flex' :gutter='
1
0' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="25px" size='12' weight='400' style='width:185px;margin:0 auto;')
div(slot="content")
...
...
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