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
e1a3419f
Commit
e1a3419f
authored
Dec 04, 2023
by
“lixuyan”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改甘特图提示的问题
parent
ccb5818f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
6 deletions
+30
-6
step.vue
...-mes/src/privateComponents/components/MBOMConfig/step.vue
+6
-2
unit.vue
...-mes/src/privateComponents/components/MBOMConfig/unit.vue
+6
-1
view.vue
...-mes/src/privateComponents/components/MBOMConfig/view.vue
+6
-1
content.vue
...ssemblyPlanManagement/assemblyPlanMaintenance/content.vue
+6
-1
gantt.vue
...s/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
+6
-1
No files found.
applications/dee-mes/src/privateComponents/components/MBOMConfig/step.vue
View file @
e1a3419f
<
template
>
<div
class=
"TfMomWebStep-model"
>
<div
:id=
"ganttElId"
style=
"height: 100%;width: 100%;position: relative;"
/>
<div
:id=
"ganttElId"
style=
"height: 100%;width: 100%;position: relative;"
@
mouseleave=
"hideTooltip"
/>
</div>
</
template
>
...
...
@@ -61,6 +61,11 @@ export default {
},
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
configLayout
()
{
const
ganttAg
=
this
.
gantt
this
.
setColumnsConfig
()
...
...
@@ -120,7 +125,6 @@ export default {
return
ganttAg
.
$root
.
querySelector
(
'.gantt_task'
)
}
}
ganttAg
.
config
.
date_format
=
'%Y-%m-%d'
// ganttAg.config.duration_unit = 'minute'
ganttAg
.
config
.
branch_loading
=
true
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/unit.vue
View file @
e1a3419f
...
...
@@ -6,7 +6,7 @@
</el-input>
</div>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
/>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
@
mouseleave=
"hideTooltip"
/>
<sortUnit
:dialog-flag=
"dialogFlag"
:unit-list=
"unitList"
...
...
@@ -65,6 +65,11 @@ export default {
},
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
refreshGantt
(
val
)
{
if
(
!
val
||
!
val
.
length
)
{
return
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/view.vue
View file @
e1a3419f
...
...
@@ -6,7 +6,7 @@
</el-input>
</div>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
/>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
@
mouseleave=
"hideTooltip"
/>
</div>
</
template
>
...
...
@@ -51,6 +51,11 @@ export default {
},
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
refreshGantt
(
val
)
{
if
(
!
val
||
!
val
.
length
)
{
return
...
...
applications/dee-mes/src/views/assemblyPlanManagement/assemblyPlanMaintenance/content.vue
View file @
e1a3419f
...
...
@@ -24,7 +24,7 @@
<i
class=
"el-icon-loading"
/>
<span>
数据加载中···
</span>
</div>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gannt"
style=
"height: calc(100vh - 100px)"
/>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gannt"
style=
"height: calc(100vh - 100px)"
@
mouseleave=
"hideTooltip"
/>
</main>
</div>
</
template
>
...
...
@@ -70,6 +70,11 @@ export default {
},
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
// 初始化甘特图
initGantt
()
{
const
that
=
this
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
View file @
e1a3419f
<
template
>
<div>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt-station-plan"
/>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt-station-plan"
@
mouseleave=
"hideTooltip"
/>
</div>
</
template
>
...
...
@@ -55,6 +55,11 @@ export default {
},
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
initGantt
()
{
const
that
=
this
const
ganttStm
=
this
.
gantt
...
...
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