阅行客电子档案
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.

80 lines
2.2 KiB

  1. <template>
  2. <!--四性检测-->
  3. <el-dialog class="fileUpload-dialog" title="四性检测" :close-on-click-modal="false" :modal-append-to-body="false" append-to-body :visible.sync="fourTestVisible">
  4. <div class="setting-dialog">
  5. <div class="fourTest-container">
  6. <el-table :data="tableData">
  7. <el-table-column type="index" label="序号" width="55" align="center" />
  8. <el-table-column prop="archive_no" label="档号" width="200" />
  9. <el-table-column prop="maintitle" label="题名" width="160" />
  10. <el-table-column prop="operationType" label="准确性" />
  11. <el-table-column prop="file" label="完整性" />
  12. <el-table-column prop="createDate" label="可用性" />
  13. <el-table-column prop="createDate" label="安全性" />
  14. </el-table>
  15. <!--分页组件-->
  16. <el-pagination
  17. :current-page="page.page"
  18. :total="page.total"
  19. :page-size="page.size"
  20. :pager-count="5"
  21. layout="total, prev, pager, next, sizes"
  22. @size-change="handleSizeChange"
  23. @current-change="handleCurrentPage"
  24. />
  25. </div>
  26. <div slot="footer" class="dialog-footer">
  27. <el-button type="text" @click="fourTestVisible = false">取消</el-button>
  28. <el-button type="primary" @click.native="handleComfireTest">确定</el-button>
  29. </div>
  30. </div>
  31. </el-dialog>
  32. </template>
  33. <script>
  34. export default {
  35. name: 'FourTest',
  36. components: { },
  37. mixins: [],
  38. data() {
  39. return {
  40. fourTestVisible: false,
  41. tableData: [],
  42. page: {
  43. page: 1,
  44. size: 10,
  45. total: 0
  46. }
  47. }
  48. },
  49. created() {
  50. },
  51. mounted() {
  52. // console.log(this.tableData)
  53. },
  54. methods: {
  55. handleComfireTest() {
  56. this.fourTestVisible = false
  57. this.$message({
  58. message: '已成功加入检测列表!',
  59. type: 'success'
  60. })
  61. },
  62. handleSizeChange(size) {
  63. this.page.size = size
  64. this.page.page = 1
  65. },
  66. handleCurrentPage(val) {
  67. this.page.page = val
  68. }
  69. }
  70. }
  71. </script>
  72. <style lang='scss' scoped>
  73. ::v-deep .el-dialog{
  74. width: 815px;
  75. }
  76. </style>