一些issue修改

This commit is contained in:
付民康
2025-03-21 11:42:28 +08:00
parent da04f9caa0
commit d6ae6f20d6
2 changed files with 16 additions and 13 deletions

View File

@@ -80,18 +80,18 @@ const tableConfig = ref([
sortable: false,
sortMethod: null
},
{
field: 'affectedComponent',
header: '影响软件',
sortable: true,
sortMethod: null
},
{
field: 'version',
header: '版本',
sortable: true,
sortMethod: null
}
// {
// field: 'affectedComponent',
// header: '影响软件',
// sortable: true,
// sortMethod: null
// },
// {
// field: 'version',
// header: '版本',
// sortable: true,
// sortMethod: null
// }
]);
const list = ref([

View File

@@ -22,7 +22,8 @@
</div>
</div>
<div class="fr">
<d-button class="mr-2" variant="solid" @click="openSubscription">订阅</d-button>
<d-button v-if="!isSub" class="mr-2" variant="solid" @click="openSubscription">订阅</d-button>
<d-button v-else class="mr-2" variant="solid" disabled>已订阅</d-button>
<d-modal class="subscribe-modal" style="width: auto;" v-model="subscribeModalVisable" title="订阅漏洞预警通知">
<template #header>
<div class="subscribe-header">
@@ -78,6 +79,7 @@ const softwareId = ref();
const item = ref('');
const deleteModal = ref();
const deletevModels = ref(false);
const isSub = ref(false);
const ReleaseInfo = ref({
basicInfo: {},
copyRightReportList: [],
@@ -199,6 +201,7 @@ const signCla = (row: any) => {
const subscribeModalVisable = ref(false);
const openSubscription = () => {
isSub.value = true;
subscribeModalVisable.value = true;
};
const colseSubscription = () => {