Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="BatchVerify">
|
<div class="BatchVerify">
|
||||||
<div class="search-form">
|
<div class="search-form" v-if="isLogin">
|
||||||
<FileUploadButton
|
<FileUploadButton
|
||||||
buttonText="批量导入"
|
buttonText="批量导入"
|
||||||
accept=".xlsx"
|
accept=".xlsx"
|
||||||
@@ -239,6 +239,9 @@ const openDelete = (row: any) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const getReleaseList = async() => {
|
const getReleaseList = async() => {
|
||||||
|
if (!isLogin.value) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
const { data, error } = await releasePage({ current: pager.value.pageIndex,size: pager.value.pageSize });
|
const { data, error } = await releasePage({ current: pager.value.pageIndex,size: pager.value.pageSize });
|
||||||
if (!error && data) {
|
if (!error && data) {
|
||||||
debugger
|
debugger
|
||||||
@@ -249,7 +252,7 @@ const getReleaseList = async() => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
onMounted(async() => {
|
onMounted(async() => {
|
||||||
// getReleaseList();
|
getReleaseList();
|
||||||
});
|
});
|
||||||
|
|
||||||
const filterVerifyResult = (type) => {
|
const filterVerifyResult = (type) => {
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
<d-tab id="OssQuery" title="软件列表">
|
<d-tab id="OssQuery" title="软件列表">
|
||||||
<OssQuery/>
|
<OssQuery/>
|
||||||
</d-tab>
|
</d-tab>
|
||||||
<d-tab id="BatchVerify" title="软件校验">
|
<d-tab v-if="isLogin" id="BatchVerify" title="软件校验">
|
||||||
<BatchVerify/>
|
<BatchVerify/>
|
||||||
</d-tab>
|
</d-tab>
|
||||||
</d-tabs>
|
</d-tabs>
|
||||||
@@ -28,9 +28,10 @@ import { getOrgInfo } from '@/views/Org/hooks/orgInfo';
|
|||||||
import { Message } from 'vue-devui';
|
import { Message } from 'vue-devui';
|
||||||
import OssQuery from './Components/OssQuery.vue';
|
import OssQuery from './Components/OssQuery.vue';
|
||||||
import BatchVerify from './Components/BatchVerify.vue';
|
import BatchVerify from './Components/BatchVerify.vue';
|
||||||
|
import { useAccountStore } from '@/stores/user';
|
||||||
const { namespace } = getOrgInfo();
|
const { namespace } = getOrgInfo();
|
||||||
|
|
||||||
|
const { isLogin } = useAccountStore();
|
||||||
// 获取当前路由
|
// 获取当前路由
|
||||||
const route = useRoute();
|
const route = useRoute();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user