fanlocal-operate-history.vue 907 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div class="alarm-history">
  3. <HandlerHistoryTable
  4. columns-type="operator_history"
  5. :device-type="`${devicekide}`"
  6. :device-list-api="baseList"
  7. designScope="alarm-history"
  8. :scroll="scroll"
  9. />
  10. </div>
  11. </template>
  12. <script setup lang="ts">
  13. import { onBeforeMount, ref, watch, onMounted, nextTick, defineAsyncComponent, reactive, onUnmounted, inject, unref } from 'vue';
  14. import HandlerHistoryTable from '../../comment/HandlerHistoryTable.vue';
  15. import { list as baseList } from '../../../deviceManager/fanTabel/fan.api';
  16. const props = defineProps({
  17. devicekide:{
  18. type:String,
  19. default:'',
  20. },
  21. });
  22. let scroll = reactive({
  23. y: 700,
  24. });
  25. </script>
  26. <style lang="less" scoped>
  27. .alarm-history {
  28. width: 100%;
  29. height: 730px;
  30. position: fixed;
  31. top: 100px;
  32. }
  33. </style>