nitrogenAlarmHistory.vue 595 B

12345678910111213141516171819202122
  1. <template>
  2. <div class="alarm-history">
  3. <AlarmHistoryTable columns-type="alarm" device-type="nitrogen" :device-list-api="getTableList.bind(null, { devicekind: 'nitrogen' })" designScope="alarm-history" />
  4. </div>
  5. </template>
  6. <script setup lang="ts">
  7. import AlarmHistoryTable from '../../comment/AlarmHistoryTable.vue';
  8. import { getTableList } from '../nitrogen.api'
  9. const props = defineProps({
  10. deviceId: {
  11. type: String,
  12. require: true
  13. }
  14. })
  15. </script>
  16. <style lang="less" scoped>
  17. .alarm-history{
  18. width: 100%;
  19. position: fixed;
  20. top: 100px;
  21. }
  22. </style>