groutHistory.vue 649 B

123456789101112131415161718192021222324252627
  1. <template>
  2. <div class="grout-history">
  3. <HistoryTable columns-type="pulping" :device-type="deviceType"
  4. :device-list-api="getTableList.bind(null, { strtype: deviceType, sysId: deviceId })" designScope="pulping_auto_history" :scroll="{ y: 650 }"/>
  5. </div>
  6. </template>
  7. <script setup lang="ts">
  8. import HistoryTable from '../../comment/HistoryTable.vue';
  9. import { getTableList } from '../grout.api'
  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. .grout-history {
  23. position: fixed;
  24. top: 80px;
  25. }
  26. </style>