EqCmmsSpotcheckLog.vue 747 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div>
  3. <a-table
  4. ref="table"
  5. size="middle"
  6. :scroll="{x:true}"
  7. bordered
  8. rowKey="id"
  9. :columns="columns"
  10. :dataSource="logData"
  11. class="equipment-cmms-table">
  12. <span slot="status" slot-scope="text, record">
  13. <a-tag v-if="record.status === '0'" color="orange">{{ text }}</a-tag>
  14. <a-tag v-if="record.status === '1' || record.priority === '2'" color="blue">{{ text }}</a-tag>
  15. <a-tag v-if="record.status === '3'">{{ text }}</a-tag>
  16. </span>
  17. </a-table>
  18. </div>
  19. </template>
  20. <script>
  21. export default {
  22. name: '',
  23. data () {
  24. return {
  25. }
  26. },
  27. created () {
  28. },
  29. mounted () {
  30. },
  31. methods: {
  32. }
  33. }
  34. </script>
  35. <style lang="less" scoped>
  36. </style>