AgentTemperatureMonitor.vue 575 B

1234567891011121314151617181920212223242526272829303132
  1. <template>
  2. <base-monitor
  3. :data="data"
  4. :idKey="idKey"
  5. :constants="constants" />
  6. </template>
  7. <script>
  8. import BaseMonitor from '@Compute/sections/monitor/BaseMonitor'
  9. import { AGENT_TEMPERATURE_MONITOR } from '@Compute/views/vminstance/constants'
  10. export default {
  11. name: 'AgentTemperatureMonitor',
  12. components: {
  13. BaseMonitor,
  14. },
  15. props: {
  16. data: { // listItemData
  17. type: Object,
  18. required: true,
  19. },
  20. idKey: {
  21. type: String,
  22. },
  23. },
  24. data () {
  25. return {
  26. constants: AGENT_TEMPERATURE_MONITOR,
  27. }
  28. },
  29. }
  30. </script>