fix:终端设备界面修改
This commit is contained in:
@@ -13,6 +13,16 @@
|
||||
:body-style="{ flex: 1, overflow: 'hidden' }"
|
||||
class="flex-col-stretch sm:flex-1-hidden card-wrapper"
|
||||
>
|
||||
<template #extra>
|
||||
<TableHeaderOperation
|
||||
v-model:columns="columnChecks"
|
||||
:loading="loading"
|
||||
:not-show-add="true"
|
||||
:show-delete="false"
|
||||
@refresh="getData"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<ATable
|
||||
ref="wrapperEl"
|
||||
:columns="columns"
|
||||
@@ -47,7 +57,8 @@ import { computed, shallowRef, watch } from 'vue';
|
||||
import { useElementSize } from '@vueuse/core';
|
||||
import { fetchTerminalList } from '@/service/api/auth';
|
||||
import { Card as ACard, Table as ATable } from 'ant-design-vue';
|
||||
import TerminalSearch from '@/views/device/terminal/modules/terminal-search.vue';
|
||||
import TerminalSearch from './modules/terminal-search.vue';
|
||||
|
||||
|
||||
const wrapperEl = shallowRef<HTMLElement | null>(null);
|
||||
const { height: wrapperElHeight } = useElementSize(wrapperEl);
|
||||
@@ -59,6 +70,7 @@ const scrollConfig = computed(() => ({
|
||||
|
||||
const {
|
||||
columns,
|
||||
columnChecks,
|
||||
data,
|
||||
loading,
|
||||
getData,
|
||||
|
||||
Reference in New Issue
Block a user