许可证信息页面更新

This commit is contained in:
付民康
2025-03-27 14:23:57 +08:00
parent f6f85a471c
commit 4310a82387
4 changed files with 48 additions and 8 deletions

View File

@@ -7,8 +7,16 @@
{{ dayjs(scope.row.updateTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</d-column>
<d-column field="name" header="软件名称"></d-column>
<d-column field="releaseId" header="版本号"></d-column>
<d-column field="softwareName" header="软件名称">
<template #default="scope">
<a @click="gotoDetail(scope.row)">{{ scope.row.softwareName }}</a>
</template>
</d-column>
<d-column field="softwareVersion" header="版本号">
<template #default="scope">
<a @click="gotoDetail(scope.row)">{{ scope.row.softwareVersion }}</a>
</template>
</d-column>
<d-column field="username" header="订阅人"></d-column>
<d-column header="操作" width="100">
<template #default="scope">
@@ -37,12 +45,23 @@ import { onMounted, ref } from 'vue';
import dayjs from 'dayjs';
import { getgroupNoticeList, getGroupSubscribeList, getSubscribeList, subscribeSoftware } from '@/api/jyh';
import NoData from '@/components/NoData/NoData.vue';
import { useRouter } from 'vue-router';
const tableData = ref([]);
const hidden = () => {
// 模拟body点击操作
document.querySelector('body')?.click();
};
const router = useRouter();
// 跳转
const gotoDetail = (row) => {
// 后续请换成params暂时params传参没传过去
router.push({
path: 'repoDetail/' + row.id
});
};
const pager = ref({
total: 0,
pageIndex: 1,

View File

@@ -7,8 +7,16 @@
{{ dayjs(scope.row.updateTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</d-column>
<d-column field="name" header="软件名称"></d-column>
<d-column field="releaseId" header="版本号"></d-column>
<d-column field="softwareName" header="软件名称">
<template #default="scope">
<a @click="gotoDetail(scope.row)">{{ scope.row.softwareName }}</a>
</template>
</d-column>
<d-column field="softwareVersion" header="版本号">
<template #default="scope">
<a @click="gotoDetail(scope.row)">{{ scope.row.softwareVersion }}</a>
</template>
</d-column>
<d-column field="username" header="订阅人"></d-column>
<d-column header="操作" width="100">
<template #default="scope">
@@ -37,12 +45,23 @@ import { onMounted, ref } from 'vue';
import dayjs from 'dayjs';
import { getgroupNoticeList, getGroupSubscribeList, getSubscribeList, subscribeSoftware } from '@/api/jyh';
import NoData from '@/components/NoData/NoData.vue';
import { useRouter } from 'vue-router';
const tableData = ref([]);
const hidden = () => {
// 模拟body点击操作
document.querySelector('body')?.click();
};
const router = useRouter();
// 跳转
const gotoDetail = (row) => {
// 后续请换成params暂时params传参没传过去
router.push({
path: 'repoDetail/' + row.id
});
};
const pager = ref({
total: 0,
pageIndex: 1,