浏览代码

2022.3.22gantt修改

17613754660 3 年之前
父节点
当前提交
0e886e0db2

+ 3 - 2
fhKeeper/formulahousekeeper/timesheet/src/views/project/gantt.vue

@@ -26,13 +26,14 @@ export default {
   },
   created:function(){
     // gantt.clearAll()
-    console.log("tasks",this.$props.tasks.data);
+    console.log("tasks",this.$props.tasks);
   },
  
   methods: {
       
   },
   mounted: function () {
+    gantt.clearAll()
     gantt.locale={
     date: {
         month_full: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
@@ -118,7 +119,7 @@ export default {
     //     group_id: "key",
     //     group_text: "label"
     // });
-    console.log("props",this.stafforpro);
+    console.log("props",this.$props.tasks);
   }
 }
 </script>

文件差异内容过多而无法显示
+ 26 - 22
fhKeeper/formulahousekeeper/timesheet/src/views/project/project_gantt.vue