knowledgeWarehouse.vue 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <template>
  2. <Dialog custom-show type="xl" title="事件管理列表" @close="closeDialog">
  3. <!-- 表格组件 -->
  4. <div class="common-table">
  5. <div class="table-header">
  6. <div class="td">报告编号</div>
  7. <div class="td">报告名称</div>
  8. <div class="td">主题词</div>
  9. <div class="td">事件类型</div>
  10. <div class="td">摘要</div>
  11. <div class="td">来源单位</div>
  12. <div class="td">发布时间</div>
  13. </div>
  14. <div v-for="(item, index) in tableData" :key="index" class="tr">
  15. <div class="td">{{ item.report_id }}</div>
  16. <div class="td">{{ item.report_name }}</div>
  17. <div class="td">{{ item.source_unit }}</div>
  18. <div class="td">{{ item.keyword }}</div>
  19. <div class="td">{{ item.event_type }}</div>
  20. <div class="td">{{ item.abstract }}</div>
  21. <div class="td">{{ item.release_time }}</div>
  22. </div>
  23. </div>
  24. <!-- <div class="footer">-->
  25. <!-- <pagination-->
  26. <!-- v-show="total > 0"-->
  27. <!-- v-model:page="queryParams.page"-->
  28. <!-- v-model:limit="queryParams.page_size"-->
  29. <!-- :total="total"-->
  30. <!-- layout="total, prev, pager, next"-->
  31. <!-- @pagination="getList"-->
  32. <!-- />-->
  33. <!-- </div>-->
  34. <!-- <CloseEventDialog-->
  35. <!-- v-model="closeDialogState.show"-->
  36. <!-- :data="closeDialogState.form"-->
  37. <!-- :event-id="eventId"-->
  38. <!-- @update:model-value="handleCloseEventDialog"-->
  39. <!-- />-->
  40. </Dialog>
  41. </template>
  42. <script setup lang="ts">
  43. import CloseEventDialog from '@/views/routineCommandMap/eventing/CloseEventDialog.vue';
  44. import { reactive } from 'vue';
  45. const emit = defineEmits(['update:show']);
  46. const closeDialog = () => {
  47. emit('update:show', false);
  48. };
  49. const queryParams = reactive({
  50. page: 1,
  51. page_size: 10
  52. });
  53. const tableData = [
  54. {
  55. report_id: '001',
  56. report_name: '测试报告1',
  57. source_unit: '市应急局',
  58. keyword: '干旱',
  59. event_type: ' drought',
  60. abstract: '干旱事件',
  61. release_time: '2023-05-01'
  62. },
  63. {
  64. report_id: '002',
  65. report_name: '测试报告2',
  66. source_unit: '市应急局',
  67. keyword: ' flood',
  68. event_type: 'flood',
  69. abstract: '水灾事件',
  70. release_time: '2023-05-02'
  71. },
  72. {
  73. report_id: '003',
  74. report_name: '测试报告3',
  75. source_unit: '市应急局',
  76. keyword: ' wildfire',
  77. event_type: 'wildfire',
  78. abstract: ' bushfire事件',
  79. release_time: '2023-05-03'
  80. }
  81. ];
  82. </script>