<script name="implementationPlan" setup>
import NoData from '@/components/noData/index.vue'

defineProps({
  detailData: Object
})

</script>

<template>
  <el-descriptions v-if="detailData.operation" :column="2" border>
    <el-descriptions-item label="项目开工时间">
      {{ detailData.operation?.projectStartDate?.split(' ')[0]||'-' }}
    </el-descriptions-item>
    <el-descriptions-item label="初验时间">
      {{ detailData.operation?.initialInspectionDate?.split(' ')[0]||'-' }}
    </el-descriptions-item>
    <el-descriptions-item label="试运行开始时间">
      {{ detailData.operation?.startTrialOperationDate?.split(' ')[0]||'-' }}
    </el-descriptions-item>
    <el-descriptions-item label="终验时间">
      {{ detailData.operation?.finalInspectionDate?.split(' ')[0]||'-' }}
    </el-descriptions-item>
  </el-descriptions>
  <no-data v-else />
</template>
