| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
 | | <template> |  |   <LoadingLayout :loading="state.loading"> |  |     <AppContainer> |  |       <ProTableV2 v-bind="proTableProps" :columns="column" :showOperationColumn="false"> |  |       </ProTableV2> |  |     </AppContainer> |  |   </LoadingLayout> |  | </template> |  |   |  | <script setup lang="ts"> |  | import { ProTableV2, LoadingLayout, AppContainer } from '@bole-core/components'; |  | import { useAccess, useTableLogList } from '@/hooks'; |  |   |  | defineOptions({ |  |   name: 'LogListView', |  | }); |  |   |  | const { column } = useAccess(); |  |   |  | const route = useRoute(); |  | const relationId = route.params.id as string; |  | const operateType = Number(route.query.operateType as string); |  |   |  | onMounted(async () => { |  |   await getList(); |  |   state.loading = false; |  | }); |  |   |  | const { getList, proTableProps, state } = useTableLogList({ relationId, operateType }); |  | </script> | 
 |