Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -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) => {
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user