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
97832bde
Commit
97832bde
authored
May 20, 2021
by
xiexingan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tj
parent
753111d5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
74 deletions
+78
-74
cardWarp.vue
src/pages/components/cardWarp.vue
+6
-2
index.vue
src/pages/ol/kanban/index.vue
+72
-72
No files found.
src/pages/components/cardWarp.vue
View file @
97832bde
...
...
@@ -3,7 +3,7 @@
.card-header(
:style="{ height, 'line-height': height, background: bgcolor }"
)
span.card-title
{{
title
}}
span.card-title
(:style="{'font-size':size+'px'}")
{{
title
}}
div(style="margin-left: 20px;color:#3A648A;")
slot(name="left")
span(style='font-size:12px;')
...
...
@@ -27,6 +27,10 @@ export default {
bgcolor
:
{
type
:
String
,
default
:
'#f2faff'
},
size
:
{
type
:
String
,
default
:
'15'
}
}
}
...
...
@@ -51,7 +55,7 @@ export default {
}
}
.card-content
{
margin
:
2
0px
;
margin
:
1
0px
;
}
}
</
style
>
src/pages/ol/kanban/index.vue
View file @
97832bde
...
...
@@ -9,17 +9,17 @@ el-container(style="padding: 0px; height: 77.6vh")
el-main.box_main
div( style="margin-bottom: 20px")
el-row(v-if="this.mapId==''" )
el-row(v-if="this.mapId==''"
:gutter='20'
)
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='
start'
)
el-row(type='flex' justify='
center' :gutter='20'
)
el-col(:span='3' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName",
height="35
px")
card-warp(:title="item.resourceName",
size='13' height="30
px")
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
justify='center'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",
height="35px"
)
card-warp(:title="children.rightName",
size='12' height="25px" style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -28,13 +28,13 @@ 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='
start
' )
el-row(type='flex' justify='
center' :gutter='20
' )
el-col(:span='12' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
justify='center'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",
height="35px"
)
card-warp(:title="children.rightName",
size='12' height="25px" style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -43,74 +43,74 @@ 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='
start
' )
el-row(type='flex' justify='
center' :gutter='20
' )
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName",
height="35px"
)
card-warp(:title="children.rightName",
size='12' height="25px" style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-col(:span='
9
' v-if='dataList[3]' style="margin-bottom: 20px")
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='
start'
)
el-row(type='flex' justify='
center' :gutter='20'
)
el-col(:span='24' v-for="item in dataList[3].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-col(:span='
3
' v-if='dataList[4]' style="margin-bottom: 20px")
el-col(:span='
4
' v-if='dataList[4]' style="margin-bottom: 20px")
card-warp(:title="dataList[4].name", height="35px")
div(slot="content")
el-row(type='flex' justify='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[4].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex'
)
el-row(type='flex')
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-col(:span='
3
' v-if='dataList[5]' style="margin-bottom: 20px")
el-col(:span='
4
' v-if='dataList[5]' style="margin-bottom: 20px")
card-warp(:title="dataList[5].name", height="35px")
div(slot="content")
el-row(type='flex' justify='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[5].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='a417aed5969149eab43e56d18f75fd23'"
:gutter='1
0')
el-row(v-if="mapId=='a417aed5969149eab43e56d18f75fd23'"
:gutter='2
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='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -119,13 +119,13 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='4' v-if='dataList[1]' style="margin-bottom: 20px")
card-warp(:title="dataList[1].name", height="35px")
div(slot="content")
el-row(type='flex' justify='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
:gutter='20'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -136,107 +136,107 @@ el-container(style="padding: 0px; height: 77.6vh")
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='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
:gutter='20'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='1cfdb9eaaeda4204a40b072406f07b19'" :gutter='
1
0')
el-row(v-if="mapId=='1cfdb9eaaeda4204a40b072406f07b19'" :gutter='
2
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='
start' :gutter='1
0')
el-col(:span='24' v-for="item in dataList[0].list"
)
card-warp(:title="item.resourceName", height="3
5px"
)
el-row(type='flex' justify='
center' :gutter='2
0')
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
:gutter='20'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-col(:span='
8
' v-if='dataList[1]' style="margin-bottom: 20px")
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='
start' :gutter='1
0')
el-row(type='flex' justify='
center' :gutter='2
0')
el-col(:span='24' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex'
:gutter='10'
)
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-col(:span='
8
' v-if='dataList[2]' style="margin-bottom: 20px")
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='
start' :gutter='1
0')
el-row(type='flex' justify='
center' :gutter='2
0')
el-col(:span='12' v-for="item in dataList[2].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='019826466e324c64a8e34d575c709883'" )
el-row(v-if="mapId=='019826466e324c64a8e34d575c709883'"
:gutter='20'
)
el-col(:span='12' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
card-warp(:title="dataList[0].name", height="35px"
:gutter='20'
)
div(slot="content")
el-row(type='flex' justify='
start' :gutter='10'
)
el-row(type='flex' justify='
center'
)
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13' :gutter='20'
)
div(slot="content")
el-row(type='flex'
:gutter='10'
)
el-row(type='flex'
:gutter='20'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='a3324eec06b14e889a7f1aa429bedf21'" )
el-col(:span='1
2
' v-if='dataList[0]' style="margin-bottom: 20px")
el-row(v-if="mapId=='a3324eec06b14e889a7f1aa429bedf21'"
:gutter='20'
)
el-col(:span='1
6
' v-if='dataList[0]' style="margin-bottom: 20px")
card-warp(:title="dataList[0].name", height="35px")
div(slot="content")
el-row(type='flex' justify='
start' :gutter='10'
)
el-row(type='flex' justify='
center'
)
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' :gutter='
1
0' )
el-row(type='flex' :gutter='
2
0' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
div.value(:style="{color:children.over?'red':'#10cc2e'}")
{{
children
.
value
}}
.scope
{{
children
.
scope
}}
el-row(v-if="mapId=='1ba71eca3bbf499c98380d240f28f9eb'"
:gutter='1
0')
el-row(v-if="mapId=='1ba71eca3bbf499c98380d240f28f9eb'"
:gutter='2
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='
start'
)
el-row(type='flex' justify='
center' :gutter='20'
)
el-col(:span='24' v-for="item in dataList[0].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-row(type='flex'
:gutter='20'
)
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
@@ -245,13 +245,13 @@ el-container(style="padding: 0px; height: 77.6vh")
el-col(:span='4' v-if='dataList[1]' style="margin-bottom: 20px")
card-warp(:title="dataList[1].name", height="35px")
div(slot="content")
el-row(type='flex' justify='
start
' )
el-row(type='flex' justify='
center
' )
el-col(:span='24' v-for="item in dataList[1].list")
card-warp(:title="item.resourceName", height="3
5px"
)
card-warp(:title="item.resourceName", height="3
0px" size='13'
)
div(slot="content")
el-row(type='flex' )
el-col(:span='24' v-for="children in item.children")
card-warp(:title="children.rightName", height="
35px"
)
card-warp(:title="children.rightName", height="
25px" size='12' style='width:185px;margin:0 auto;'
)
div(slot="content")
.content_warp
div(:class="children.type")
...
...
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