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
>
<
template
>
<div
class=
"TfMomWebStep-model"
>
<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>
</div>
</
template
>
</
template
>
...
@@ -61,6 +61,11 @@ export default {
...
@@ -61,6 +61,11 @@ export default {
},
},
methods
:
{
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
configLayout
()
{
configLayout
()
{
const
ganttAg
=
this
.
gantt
const
ganttAg
=
this
.
gantt
this
.
setColumnsConfig
()
this
.
setColumnsConfig
()
...
@@ -120,7 +125,6 @@ export default {
...
@@ -120,7 +125,6 @@ export default {
return
ganttAg
.
$root
.
querySelector
(
'.gantt_task'
)
return
ganttAg
.
$root
.
querySelector
(
'.gantt_task'
)
}
}
}
}
ganttAg
.
config
.
date_format
=
'%Y-%m-%d'
ganttAg
.
config
.
date_format
=
'%Y-%m-%d'
// ganttAg.config.duration_unit = 'minute'
// ganttAg.config.duration_unit = 'minute'
ganttAg
.
config
.
branch_loading
=
true
ganttAg
.
config
.
branch_loading
=
true
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/unit.vue
View file @
e1a3419f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</el-input>
</el-input>
</div>
</div>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
/>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
@
mouseleave=
"hideTooltip"
/>
<sortUnit
<sortUnit
:dialog-flag=
"dialogFlag"
:dialog-flag=
"dialogFlag"
:unit-list=
"unitList"
:unit-list=
"unitList"
...
@@ -65,6 +65,11 @@ export default {
...
@@ -65,6 +65,11 @@ export default {
},
},
methods
:
{
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
refreshGantt
(
val
)
{
refreshGantt
(
val
)
{
if
(
!
val
||
!
val
.
length
)
{
if
(
!
val
||
!
val
.
length
)
{
return
return
...
...
applications/dee-mes/src/privateComponents/components/MBOMConfig/view.vue
View file @
e1a3419f
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
</el-input>
</el-input>
</div>
</div>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
/>
<div
:id=
"ganttElId"
:ref=
"ganttElId"
class=
"gatt"
@
mouseleave=
"hideTooltip"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -51,6 +51,11 @@ export default {
...
@@ -51,6 +51,11 @@ export default {
},
},
methods
:
{
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
refreshGantt
(
val
)
{
refreshGantt
(
val
)
{
if
(
!
val
||
!
val
.
length
)
{
if
(
!
val
||
!
val
.
length
)
{
return
return
...
...
applications/dee-mes/src/views/assemblyPlanManagement/assemblyPlanMaintenance/content.vue
View file @
e1a3419f
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
<i
class=
"el-icon-loading"
/>
<i
class=
"el-icon-loading"
/>
<span>
数据加载中···
</span>
<span>
数据加载中···
</span>
</div>
</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>
</main>
</div>
</div>
</
template
>
</
template
>
...
@@ -70,6 +70,11 @@ export default {
...
@@ -70,6 +70,11 @@ export default {
},
},
methods
:
{
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
// 初始化甘特图
// 初始化甘特图
initGantt
()
{
initGantt
()
{
const
that
=
this
const
that
=
this
...
...
applications/dee-mes/src/views/assemblyPlanManagement/stationPlanMaintenance/gantt.vue
View file @
e1a3419f
<
template
>
<
template
>
<div>
<div>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt-station-plan"
/>
<div
:id=
"onlyUuid"
:ref=
"onlyUuid"
class=
"gantt-station-plan"
@
mouseleave=
"hideTooltip"
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -55,6 +55,11 @@ export default {
...
@@ -55,6 +55,11 @@ export default {
},
},
methods
:
{
methods
:
{
hideTooltip
()
{
setTimeout
(()
=>
{
this
.
gantt
.
ext
.
tooltips
.
tooltip
.
hide
()
},
100
)
},
initGantt
()
{
initGantt
()
{
const
that
=
this
const
that
=
this
const
ganttStm
=
this
.
gantt
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