消毒机设备
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.

64 lines
1.4 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <script lang="ts" setup>
  2. import { syncSendCmd } from 'apis/system'
  3. import { onMounted, ref } from 'vue'
  4. const pageNum = ref(1)
  5. const pageSize = ref(10)
  6. onMounted(() => {
  7. // 获取日志列表
  8. getAuditList()
  9. })
  10. const getAuditList = () => {
  11. const params = {
  12. className: 'AuditMgrService',
  13. fnName: 'getRecords',
  14. params: {
  15. page: pageNum.value,
  16. page_size: pageSize.value,
  17. },
  18. }
  19. syncSendCmd(params).then((res) => {
  20. console.log('audit === ', res)
  21. })
  22. }
  23. const tableData = ref()
  24. const onExportRecord = () => {}
  25. </script>
  26. <template>
  27. <div class="dashboard-container">
  28. <main class="main-content">
  29. <div>
  30. <div class="audit-export">
  31. <bt-button
  32. type="primary"
  33. button-text="导出"
  34. @click="onExportRecord"
  35. />
  36. </div>
  37. <div>
  38. <el-table :data="tableData" stripe style="width: 100%">
  39. <el-table-column type="selection" width="55" />
  40. <el-table-column prop="name" label="操作人" />
  41. <el-table-column prop="content" label="操作内容" />
  42. <el-table-column prop="createTime" label="操作时间" />
  43. </el-table>
  44. </div>
  45. </div>
  46. </main>
  47. </div>
  48. </template>
  49. <style lang="scss" scoped>
  50. .main-content{
  51. height: $main-container-height;
  52. overflow: hidden;
  53. background: $gradient-color;
  54. box-shadow: 0px 1px 5px 0px rgba(9, 39, 62, 0.15);
  55. .audit-export{
  56. margin: 2vw;
  57. }
  58. }
  59. </style>