<template>
  <Card title="进度管理">
    <div class="container">
      <Steps :items="items" :activeIndex="index" />
    </div>
  </Card>
</template>

<script>

import Steps from './Steps'
import Card from '../../components/Card'

export default {
  components: { Card, Steps },
  data() {
    return {
      items: [
        {
          label: '2022-01-01',
          value: '基础工程'
        },
        {
          label: '2022-02-14',
          value: '主题结构施工'
        },
        {
          label: '2022-03-25',
          value: '屋面工程'
        },
        {
          label: '2022-07-31',
          value: '机械设备安拆工程'
        },
        {
          label: '2022-21-31',
          value: '室内装饰装修工程'
        },
      ],
      index: 0
    }
  }
}
</script>

<style lang="less" scoped>
.container {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: auto;
}
</style>
