Commit 23d36a3f authored by arvin's avatar arvin

fixbug costHours

parent bd7169e7
...@@ -361,8 +361,10 @@ export default { ...@@ -361,8 +361,10 @@ export default {
const links = this.gantt.getTableData().data.links const links = this.gantt.getTableData().data.links
links.forEach(l => { links.forEach(l => {
l.isCritical = this.gantt.isCriticalLink(l) l.isCritical = this.gantt.isCriticalLink(l)
l.costHours = 0
}) })
this.calcCosthours(links, tasks) this.calcCosthours(links, tasks)
console.log(links)
const params = this.ganttData.map(item => { const params = this.ganttData.map(item => {
const routes = item.extProcessExecutorRoutes ? item.extProcessExecutorRoutes.map(r => { const routes = item.extProcessExecutorRoutes ? item.extProcessExecutorRoutes.map(r => {
return { return {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment