index.vue 545 B

12345678910111213141516171819202122
  1. <template>
  2. <div class="app-performance-rule">
  3. <div class="block" v-for="(step, j) in item?.LstStep" :key="j">
  4. <el-tag :type="j % 2 ? 'warning' : ''" disable-transitions>{{ step.steptypename }}</el-tag>
  5. <span class="block-label">{{ step.stepdate }}</span>
  6. </div>
  7. </div>
  8. </template>
  9. <script lang="ts" setup>
  10. import { PropType } from 'vue'
  11. defineProps({
  12. item: {
  13. type: Object as PropType<Ermcp.PermancePlanTmpRsp>,
  14. }
  15. })
  16. </script>
  17. <style lang="less">
  18. @import './index.less';
  19. </style>