groutHistory.vue 683 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div class="history-box">
  3. <HistoryTable :columns-type="`${deviceType}`" :device-type="deviceType" :sysId="deviceId"
  4. :device-list-api="getTableList.bind(null, { strtype: deviceType, sysId: deviceId })" designScope="pressurefan_history" />
  5. </div>
  6. </template>
  7. <script setup lang="ts">
  8. import { ref, defineProps } from 'vue'
  9. import HistoryTable from '../../comment/HistoryTable.vue';
  10. import { getTableList } from '../grout.api'
  11. const props = defineProps({
  12. deviceType: {
  13. type: String,
  14. required: true,
  15. },
  16. deviceId: {
  17. type: String,
  18. required: true,
  19. }
  20. })
  21. </script>
  22. <style lang="less" scoped>
  23. .history-box {
  24. pointer-events: auto;
  25. }
  26. </style>