gasPumpHistory.vue 720 B

1234567891011121314151617181920212223242526272829
  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" :scroll="{ y: 650 }"/>
  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 '../gasPump.api'
  11. const props = defineProps({
  12. deviceType: {
  13. type: String,
  14. required: true,
  15. },
  16. deviceId: {
  17. type: String,
  18. }
  19. })
  20. </script>
  21. <style lang="less" scoped>
  22. .history-box {
  23. pointer-events: auto;
  24. position: absolute;
  25. top: 90px;
  26. }
  27. </style>