Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gantt
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨子
vue-gantt
Commits
1a471992
Commit
1a471992
authored
Jun 07, 2022
by
杨子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
甘特图优化
parent
2f445113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
GGanttBar.vue
src/components/GGanttBar.vue
+4
-3
HelloWorld.vue
src/components/HelloWorld.vue
+2
-2
No files found.
src/components/GGanttBar.vue
View file @
1a471992
...
@@ -25,12 +25,13 @@
...
@@ -25,12 +25,13 @@
</div>
</div>
</
template
>
</
template
>
<
template
#
default
>
<
template
#
default
>
<
!--
<template
v-if=
"bar.equipmentResourceList && bar.equipmentResourceList.length
"
>
<
template
v-if=
"bar.dataResource
"
>
<div
class=
"card-header"
>
<div
class=
"card-header"
>
<span>
保障设备:
</span><el-link
type=
"primary"
v-for=
"item in bar.equipmentResourceList"
:key=
"item.id"
>
{{
item
.
name
}}
</el-link>
<!--
<span>
保障设备:
</span><el-link
type=
"primary"
v-for=
"item in bar.equipmentResourceList"
:key=
"item.id"
>
{{
item
.
name
}}
</el-link>
-->
<el-link
type=
"primary"
>
{{
bar
.
dataResource
.
name
}}
</el-link>
</div>
</div>
</
template
>
</
template
>
<
template
v-if=
"bar.manpowerResourceList && bar.manpowerResourceList.length"
>
<
!-- <
template v-if="bar.manpowerResourceList && bar.manpowerResourceList.length">
<div class="card-header">
<div class="card-header">
<span>人力资源:</span><el-link type="primary" v-for="item in bar.manpowerResourceList" :key="item.id">{{item.name}}</el-link>
<span>人力资源:</span><el-link type="primary" v-for="item in bar.manpowerResourceList" :key="item.id">{{item.name}}</el-link>
</div>
</div>
...
...
src/components/HelloWorld.vue
View file @
1a471992
...
@@ -7,8 +7,8 @@
...
@@ -7,8 +7,8 @@
:row-height=
"40"
:row-height=
"40"
grid
grid
width=
"100%"
width=
"100%"
bar-start=
"beginDate"
bar-start=
"begin
Process
Date"
bar-end=
"endDate"
bar-end=
"end
Process
Date"
:date-format=
"format"
:date-format=
"format"
>
>
<template
v-for=
"item in contree"
<template
v-for=
"item in contree"
...
...
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