wyh 1 год назад
Родитель
Сommit
ee9832e439
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      itdmWeb/src/components/Gantt.vue

+ 3 - 3
itdmWeb/src/components/Gantt.vue

@@ -253,7 +253,7 @@ export default {
       ];
       // 改变任务颜色
       gantt.templates.task_class=function(start, end, task){
-        console.log("变颜色",start, end, task)
+        // console.log("变颜色",start, end, task)
             switch (task.izShiji){
               case "实绩":
                   return "high";
@@ -334,7 +334,7 @@ export default {
         // 左侧列表任务垂直移动
       gantt.attachEvent("onBeforeTaskMove", function(id, parent, tindex){
           const task = gantt.getTask(id);
-          console.log("yidoong",task)
+          // console.log("yidoong",task)
           if(task.izShiji == "实绩"){
             return false;
           }else{
@@ -343,7 +343,7 @@ export default {
       });
       // 右侧网格任务水平移动+改变长度
       gantt.attachEvent("onBeforeTaskDrag", function(id, mode, e){
-          console.log("右侧",id, mode, e)
+          // console.log("右侧",id, mode, e)
           const task = gantt.getTask(id);
           console.log("yidoong",task)
           if(task.izShiji == "实绩"){