Merge remote-tracking branch 'origin/master'

This commit is contained in:
付民康
2025-03-19 19:07:51 +08:00
2 changed files with 8 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
<template>
<div class="BatchVerify">
<div class="search-form">
<div class="search-form" v-if="isLogin">
<FileUploadButton
buttonText="批量导入"
accept=".xlsx"
@@ -239,6 +239,9 @@ const openDelete = (row: any) => {
};
const getReleaseList = async() => {
if (!isLogin.value) {
return;
}
const { data, error } = await releasePage({ current: pager.value.pageIndex,size: pager.value.pageSize });
if (!error && data) {
debugger
@@ -249,7 +252,7 @@ const getReleaseList = async() => {
};
onMounted(async() => {
// getReleaseList();
getReleaseList();
});
const filterVerifyResult = (type) => {

View File

@@ -9,7 +9,7 @@
<d-tab id="OssQuery" title="软件列表">
<OssQuery/>
</d-tab>
<d-tab id="BatchVerify" title="软件校验">
<d-tab v-if="isLogin" id="BatchVerify" title="软件校验">
<BatchVerify/>
</d-tab>
</d-tabs>
@@ -28,9 +28,10 @@ import { getOrgInfo } from '@/views/Org/hooks/orgInfo';
import { Message } from 'vue-devui';
import OssQuery from './Components/OssQuery.vue';
import BatchVerify from './Components/BatchVerify.vue';
import { useAccountStore } from '@/stores/user';
const { namespace } = getOrgInfo();
const { isLogin } = useAccountStore();
// 获取当前路由
const route = useRoute();