|
@@ -68,8 +68,6 @@
|
|
|
<div class="u-gantt-task-resize resize-right" ref="uGanttResizeR"></div>
|
|
|
</div>
|
|
|
<!-- 实际 -->
|
|
|
- <!-- <div class="u-gantt-reality" ref="uGanttRealityItem" v-for="(item, index) in ganttLists" :key="index">
|
|
|
- </div> -->
|
|
|
<div v-if="hasReality" class="u-gantt-reality" :style="setRealityStyle(item)"></div>
|
|
|
|
|
|
</div>
|
|
@@ -317,7 +315,6 @@
|
|
|
var endIndex = this.uGanttColumns.findIndex(res => res.name === item.end_date)
|
|
|
var trIndex = this.ganttLists.findIndex(res => res.id === item.id)
|
|
|
// console.log(trIndex, this.ganttLists)
|
|
|
- console.log(this.uStyle)
|
|
|
var style = {
|
|
|
left: 70 * startIndex + 'px',
|
|
|
width: 70 * (endIndex - startIndex + 1) + 'px',
|
|
@@ -325,7 +322,6 @@
|
|
|
height: this.uStyle.planHeight,
|
|
|
background: this.uStyle.planBg
|
|
|
}
|
|
|
- console.log(style)
|
|
|
return style
|
|
|
},
|
|
|
// 绘制实际的甘特条
|