<template>
  <div class="app-container">

  </div>
</template>
<script>
export default {
  name: 'DhtmlxGantt',
  data() {
    return {
      tasks: {
        data: [
          {
            id: 1,
            text: 'Task #1',
            start_date: '15-04-2017',
            personName: '张总',
            duration: 3,
            progress: 0.6
          },
          {
            id: 2,
            text: 'Task #2',
            start_date: '18-04-2017',
            personName: '李总',
            duration: 3,
            progress: 0.4
          },
          {
            id: 3,
            text: 'Task #2-1',
            start_date: '20-04-2017',
            personName: '赵总',
            duration: 3,
            progress: 0.4,
            parent: 2
          }
        ],
        links: [{ id: 1, source: 1, target: 2, type: '0' }]
      }
    }
  },
  mounted() {
    // 初始化
  }
}
</script>
