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
974a6be0
Commit
974a6be0
authored
Jun 17, 2022
by
杨子
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化甘特图
parent
9c7fbdcd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
GanttView.vue
src/components/GanttView.vue
+4
-1
No files found.
src/components/GanttView.vue
View file @
974a6be0
...
@@ -137,7 +137,10 @@ const formatter = (processesList: any[]) => {
...
@@ -137,7 +137,10 @@ const formatter = (processesList: any[]) => {
const
filterValues
=
processesList
.
filter
((
v
,
i
)
=>
i
!=
index
)
const
filterValues
=
processesList
.
filter
((
v
,
i
)
=>
i
!=
index
)
for
(
const
value
of
filterValues
)
{
for
(
const
value
of
filterValues
)
{
if
(
current
.
begin
>=
value
.
begin
&&
current
.
begin
<
value
.
end
)
{
if
(
current
.
begin
>=
value
.
begin
&&
current
.
begin
<
value
.
end
)
{
if
(
!
value
.
ganttBarConfig
.
isCover
){
top
=
0
}
top
++
top
++
current
.
ganttBarConfig
.
isCover
=
true
current
.
ganttBarConfig
.
isCover
=
true
current
.
ganttBarConfig
.
top
=
top
current
.
ganttBarConfig
.
top
=
top
...
...
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