beltTunAlarmHistory.vue 944 B

123456789101112131415161718192021222324252627282930313233343536
  1. <template>
  2. <div class="alarm-history">
  3. <AlarmHistoryTable
  4. columns-type="alarm"
  5. device-type="sys_maintunnel_leather"
  6. :device-list-api="workFaceDeviceList.bind(null, { id: deviceId })"
  7. :list="list"
  8. :sys-id="deviceId"
  9. designScope="alarm-history"
  10. :scroll="{ y: 650 }"
  11. />
  12. </div>
  13. </template>
  14. <script setup lang="ts">
  15. import AlarmHistoryTable from '../../comment/WorkFaceAlarmHistoryTable.vue';
  16. import { workFaceDeviceList } from '../../../deviceManager/comment/warningTabel/warning.api';
  17. import { defHttp } from '/@/utils/http/axios';
  18. const props = defineProps({
  19. deviceType: {
  20. type: String,
  21. required: true,
  22. },
  23. deviceId: {
  24. type: String,
  25. required: true,
  26. },
  27. });
  28. const list = (params) => defHttp.get({ url: '/safety/managesysAutoLog/list', params });
  29. </script>
  30. <style lang="less" scoped>
  31. .alarm-history {
  32. pointer-events: auto;
  33. }
  34. </style>