balancePressAlarmHistory.vue 903 B

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