一些issue修改
This commit is contained in:
@@ -80,18 +80,18 @@ const tableConfig = ref([
|
|||||||
sortable: false,
|
sortable: false,
|
||||||
sortMethod: null
|
sortMethod: null
|
||||||
},
|
},
|
||||||
{
|
// {
|
||||||
field: 'affectedComponent',
|
// field: 'affectedComponent',
|
||||||
header: '影响软件',
|
// header: '影响软件',
|
||||||
sortable: true,
|
// sortable: true,
|
||||||
sortMethod: null
|
// sortMethod: null
|
||||||
},
|
// },
|
||||||
{
|
// {
|
||||||
field: 'version',
|
// field: 'version',
|
||||||
header: '版本',
|
// header: '版本',
|
||||||
sortable: true,
|
// sortable: true,
|
||||||
sortMethod: null
|
// sortMethod: null
|
||||||
}
|
// }
|
||||||
]);
|
]);
|
||||||
|
|
||||||
const list = ref([
|
const list = ref([
|
||||||
|
|||||||
@@ -22,7 +22,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="fr">
|
<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="订阅漏洞预警通知">
|
<d-modal class="subscribe-modal" style="width: auto;" v-model="subscribeModalVisable" title="订阅漏洞预警通知">
|
||||||
<template #header>
|
<template #header>
|
||||||
<div class="subscribe-header">
|
<div class="subscribe-header">
|
||||||
@@ -78,6 +79,7 @@ const softwareId = ref();
|
|||||||
const item = ref('');
|
const item = ref('');
|
||||||
const deleteModal = ref();
|
const deleteModal = ref();
|
||||||
const deletevModels = ref(false);
|
const deletevModels = ref(false);
|
||||||
|
const isSub = ref(false);
|
||||||
const ReleaseInfo = ref({
|
const ReleaseInfo = ref({
|
||||||
basicInfo: {},
|
basicInfo: {},
|
||||||
copyRightReportList: [],
|
copyRightReportList: [],
|
||||||
@@ -199,6 +201,7 @@ const signCla = (row: any) => {
|
|||||||
|
|
||||||
const subscribeModalVisable = ref(false);
|
const subscribeModalVisable = ref(false);
|
||||||
const openSubscription = () => {
|
const openSubscription = () => {
|
||||||
|
isSub.value = true;
|
||||||
subscribeModalVisable.value = true;
|
subscribeModalVisable.value = true;
|
||||||
};
|
};
|
||||||
const colseSubscription = () => {
|
const colseSubscription = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user