diff --git a/src/layouts/LayoutClassic/index.vue b/src/layouts/LayoutClassic/index.vue index fb120d0..75892b5 100644 --- a/src/layouts/LayoutClassic/index.vue +++ b/src/layouts/LayoutClassic/index.vue @@ -1,13 +1,13 @@ diff --git a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue index ec0bfc0..dab1ffe 100644 --- a/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue +++ b/src/views/goverment/huizhou/progressManagement/GanttchartChart/index.vue @@ -90,7 +90,7 @@ @mouseleave="handleLeave" > -
+
{{ child.name }}
{{ child.planStartTime }}
@@ -404,7 +404,6 @@ const getGanttStyle = (project: any) => { } } } - const startLeft = startRef.offsetLeft; const endWidth = endRef.offsetWidth; @@ -492,6 +491,9 @@ const handleOpen = (index: any) => { } else { openedIndex.value = index; } + setTimeout(function () { + setGantts(); + }, 300); }; const handleScroll = (e: any) => { diff --git a/src/views/hz-project/progressManagement/ganttChart/index.vue b/src/views/hz-project/progressManagement/ganttChart/index.vue index 4b64779..96c5eda 100644 --- a/src/views/hz-project/progressManagement/ganttChart/index.vue +++ b/src/views/hz-project/progressManagement/ganttChart/index.vue @@ -59,7 +59,7 @@ @mouseleave="handleLeave" >
-
+
{{ child.name }}
{{ child.planStartTime }}