【前端】智能库房综合管理系统前端项目
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

71 lines
2.0 KiB

  1. <template>
  2. <div class="to-lend">
  3. <headSlot>
  4. <el-button icon="el-icon-plus" size="mini" @click="handleRecord">登记</el-button>
  5. <el-button icon="el-icon-minus" size="mini">移出</el-button>
  6. </headSlot>
  7. <!--表格渲染-->
  8. <el-table
  9. ref="fieldTable"
  10. style="min-width: 100%"
  11. height="calc(100vh - 302px)"
  12. @selection-change="selectionChangeHandler"
  13. @row-click="clickRowHandler"
  14. >
  15. <el-table-column type="selection" width="55" />
  16. <el-table-column type="index" label="序号" width="55" />
  17. <el-table-column prop="fieldCnName" label="所属门类" min-width="140" />
  18. <el-table-column prop="fieldName" label="档号" min-width="140" />
  19. <el-table-column label="题名" min-width="85" />
  20. <el-table-column prop="isColumnLength" label="盒名称" min-width="85" />
  21. <el-table-column prop="isColumnLength" label="存放位置" min-width="85" />
  22. <el-table-column prop="isColumnLength" label="借阅状态" min-width="85" />
  23. <el-table-column prop="isColumnLength" label="操作时间" min-width="85" />
  24. </el-table>
  25. <!-- 分页 -->
  26. <el-pagination
  27. :current-page="currentPage4"
  28. :page-sizes="[100, 200, 300, 400]"
  29. :page-size="100"
  30. layout="total, sizes, prev, pager, next, jumper"
  31. :total="400"
  32. @size-change="handleSizeChange"
  33. @current-change="handleCurrentChange"
  34. />
  35. <!-- <pagination /> -->
  36. </div>
  37. </template>
  38. <script>
  39. // import pagination from '@crud/Pagination'
  40. // import crudOperation from '@crud/CRUD.operation'
  41. // import CRUD, { presenter } from '@crud/crud'
  42. import headSlot from '../components/headSlot.vue'
  43. export default {
  44. components: { headSlot },
  45. data() {
  46. return {
  47. tableData: []
  48. }
  49. },
  50. methods: {
  51. handleRecord() {
  52. console.log(111111)
  53. },
  54. selectionChangeHandler() {
  55. console.log('selectionChangeHandler')
  56. },
  57. clickRowHandler() {
  58. console.log('clickRowHandler')
  59. }
  60. }
  61. }
  62. </script>
  63. <style lang="scss" scoped>
  64. .to-lend {
  65. }
  66. </style>