Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
T
TF-MOM-WEB
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
TFMOM
TF-MOM-WEB
Commits
34d9916c
Commit
34d9916c
authored
Nov 30, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改甘特图修改时间不生效的问题
parent
60f1f627
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
144 additions
and
2 deletions
+144
-2
gantt.vue
...s/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
+144
-2
No files found.
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
View file @
34d9916c
<
template
>
<div>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt"
/>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt
-station-plan
"
/>
</div>
</
template
>
...
...
@@ -345,6 +345,8 @@ export default {
]
ganttStm
.
config
.
date_format
=
'%Y-%m-%d %H:%i:%s'
ganttStm
.
config
.
duration_unit
=
'minute'
ganttStm
.
config
.
time_step
=
15
ganttStm
.
config
.
round_dnd_dates
=
false
ganttStm
.
config
.
scale_height
=
70
ganttStm
.
config
.
min_column_width
=
60
ganttStm
.
config
.
drag_progress
=
false
...
...
@@ -638,8 +640,148 @@ export default {
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.seepdf
{
cursor
:
pointer
;
}
.gantt-station-plan
{
margin-top
:
15px
;
flex-grow
:
1
;
height
:
calc
(
100vh
-
100px
);
position
:
relative
;
>
div
{
position
:
relative
;
height
:
100%
;
&
.load
{
position
:
absolute
;
z-index
:
1
;
width
:
100%
;
height
:
100%
;
display
:
flex
;
flex-direction
:
column
;
justify-content
:
center
;
align-items
:
center
;
z-index
:
99
;
background-color
:
#ffffff
c7
;
>
i
{
font-size
:
40px
;
color
:
#589ce3
;
}
>
span
{
display
:
block
;
}
}
}
.gantt_link_control
{
z-index
:
10
;
}
.gantt_task_link.critical_path
{
.gantt_line_wrapper
{
z-index
:
8
;
div
{
background-color
:
red
;
}
}
.gantt_link_arrow_right
{
border-left-color
:
red
;
}
}
.gantt_tooltip
{
font-size
:
14px
;
}
.gantt_bars_area
.gantt_task_line
{
z-index
:
15
;
}
.gantt_task_link.critical_path
{
>
.gantt_line_wrapper
>
div
{
background-color
:
#ff1111
;
}
>
.gantt_link_arrow_right
{
border-left-color
:
#ff1111
;
}
}
.gantt_task_cell.week_end
{
background-color
:
#eff5fd
;
}
.gantt_task
.gantt_task_scale
.gantt_scale_line
>
div
:first-child
.gantt_scale_cell
{
color
:
#f3f6f7
;
}
.gantt_grid_scale
,
.gantt_task_scale
,
.gantt_task_vscroll
{
background-color
:
#f3f6f7
;
}
.gantt_grid_scale
.gantt_grid_head_cell
,
.gantt_task
.gantt_task_scale
.gantt_scale_cell
{
color
:
#2e2e2e
;
font-weight
:
700
;
font-size
:
14px
;
border-right
:
1px
solid
rgb
(
206
,
206
,
206
);
}
.gantt_task_line
{
&
.Not
{
background-color
:
#cccccc
;
}
&
.levelNot
{
background-color
:
#cccccc
;
}
&
.Yes
{
background-color
:
#59c4e6
;
}
&
.levelYes
{
background-color
:
#59c4e6
;
}
&
.Delivery
{
background-color
:
#e87c25
;
}
&
.levelDelivery
{
background-color
:
#e87c25
;
}
&
.Run
{
background-color
:
#fcce10
;
}
&
.levelRun
{
background-color
:
#fcce10
;
}
&
.Finish
{
background-color
:
#97b552
;
}
&
.levelFinish
{
background-color
:
#97b552
;
}
&
.Paused
{
background-color
:
#8a7ca8
;
}
&
.levelPaused
{
background-color
:
#8a7ca8
;
}
&
.Reserved
{
background-color
:
#c1232b
;
}
&
.levelReserved
{
background-color
:
#c1232b
;
}
&
.Issued
{
background-color
:
#bd0b9f
;
}
&
.levelIssued
{
background-color
:
#bd0b9f
;
}
&
.TF_ZF
{
background-color
:
#666
;
}
&
.levelTF_ZF
{
background-color
:
#666
;
}
&
.New
{
background-color
:
#97b552
;
}
&
.levelNew
{
background-color
:
#97b552
;
}
}
}
</
style
>
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