wbDailogTable.vue 826 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div class='wb-dialog-Table'>
  3. <el-dialog title='综合记录事项' :visible.sync='visible'>
  4. <el-table :data='tableData' style='width: 100%'>
  5. <el-table-column label='位置' prop='position' width='50'></el-table-column>
  6. <el-table-column prop='equipment' label='设备' width='140'></el-table-column>
  7. <el-table-column prop='thing' label='记录事项' :show-overflow-tooltip='true'></el-table-column>
  8. </el-table>
  9. </el-dialog>
  10. </div>
  11. </template>
  12. <script>
  13. export default {
  14. data() {
  15. return {
  16. visible: false,
  17. tableData: []
  18. }
  19. },
  20. methods: {
  21. open() {
  22. this.visible = true
  23. }
  24. }
  25. }
  26. </script>
  27. <style lang="less" scoped>
  28. .wb-dialog-Table {
  29. }
  30. </style>