nitrogenHistory.vue 768 B

1234567891011121314151617181920212223242526
  1. <template>
  2. <div class="nitrogen-history">
  3. <HistoryTable columns-type="nitrogen" device-type="nitrogen" :sys-id="deviceId" designScope="nitrogen_auto_history" :scroll="{ y: 650 }" />
  4. <!-- <HistoryTable device-code="nitrogen" dict-code="nitrogen_dict" columns-code="nitrogen_auto_history" /> -->
  5. </div>
  6. </template>
  7. <script setup lang="ts">
  8. import HistoryTable from '../../comment/HistoryTable.vue';
  9. // import HistoryTable from '/@/views/vent/comment/history/HistoryTable.vue';
  10. const props = defineProps({
  11. deviceType: {
  12. type: String,
  13. required: true,
  14. },
  15. deviceId: {
  16. type: String,
  17. required: true,
  18. },
  19. });
  20. </script>
  21. <style lang="less" scoped>
  22. .nitrogen-history {
  23. position: fixed;
  24. top: 100px;
  25. }
  26. </style>