fix: 去掉表头排序及筛选

This commit is contained in:
汪少伟
2025-03-25 09:15:17 +08:00
parent 4c5d4c7113
commit 66764e4d73
7 changed files with 239 additions and 239 deletions

View File

@@ -8,13 +8,7 @@
<NoData></NoData>
</template>
<d-column type="index" width="40"></d-column>
<d-column
v-for="(column, index) in tableConfig"
:field="column.field"
:header="column.header"
:sortable="column.sortable"
:sort-method="column.sortMethod"
></d-column>
<d-column v-for="(column, index) in tableConfig" :field="column.field" :header="column.header"></d-column>
<d-column header="详情" width="100px">
<template #default="scope">
<a class="devui-link" @click="openPanel(scope.row)">查看</a>
@@ -44,7 +38,7 @@
</template>
<script setup lang="ts">
import { ref,defineProps } from 'vue';
import { ref, defineProps } from 'vue';
import SidePanel from '@/components/LicenseInfo/SidePanel.vue';
import { getLicenseList } from '@/api/jyh';
import NoData from '@/components/NoData/NoData.vue';
@@ -79,7 +73,7 @@ const tableConfig = ref([
header: '许可证种类',
sortable: false,
sortMethod: null
},
}
// {
// field: 'affectedComponent',
// header: '影响软件',
@@ -126,7 +120,7 @@ const getList = async () => {
softwareId: propsData.versionId,
componentId: '',
current: pager.value.pageIndex,
size: pager.value.pageSize,
size: pager.value.pageSize
});
if (!res.error) {
console.log(res);