feat(系统设置): 系统_插件管理

This commit is contained in:
xinxin.wu 2023-07-11 09:48:44 +08:00 committed by fit2-zhao
parent f664481ca3
commit 6bce445a9d
3 changed files with 21 additions and 17 deletions

View File

@ -1,6 +1,5 @@
<template>
<a-alert v-bind="attrs" class="p-4" :class="`arco-alert-${type}`">
<span class="float-left mr-3" :class="`arco-icon-${type}`"><icon-info-circle-fill /></span>
<div>
<slot name="content"></slot>
</div>
@ -22,10 +21,19 @@
/* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--primary-5), 0.1);
}
.arco-icon-primary {
color: rgb(var(--primary-5));
.arco-alert-error {
border-color: rgb(var(--danger-6));
/* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--danger-6), 0.1);
}
.arco-icon-error {
color: rgb(rgb(var(--danger-6)));
.arco-alert-warning {
border-color: rgb(var(--warning-6));
/* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--warning-6), 0.1);
}
.arco-alert-success {
border-color: rgb(var(--success-6));
/* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--success-6), 0.1);
}
</style>

View File

@ -47,9 +47,15 @@ const System: AppRouteRecordRaw = {
name: 'settingSystemResourcePool',
component: () => import('@/views/system/resourcePool/index.vue'),
meta: {
locale: 'menu.settings.system.pluginmanger',
locale: 'menu.settings.system.resourcePool',
roles: ['*'],
isTopMenu: true,
breadcrumbs: [
{
name: 'settingSystemResourcePool',
locale: 'menu.settings.system.resourcePool',
},
],
},
},
{
@ -81,12 +87,6 @@ const System: AppRouteRecordRaw = {
locale: 'menu.settings.system.pluginmanger',
roles: ['*'],
isTopMenu: true,
breadcrumbs: [
{
name: 'settingSystemResourcePool',
locale: 'menu.settings.system.pluginmanger',
},
],
},
},
],

View File

@ -1,7 +1,7 @@
/* stylelint-disable order/properties-order */
<template>
<div>
<MSAlert :closable="isClose" :show-icon="showIcon" type="primary">
<MSAlert :closable="true" type="primary" :banner="false">
<template #content>
<div>
MeterSphereV2.10LTS版本支持DevOpsAPI导入请求项目管理协议类型的插件具体支持插件请
@ -17,12 +17,8 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
import MSAlert from '@/components/pure/ms-alert/index.vue';
import pluginTable from './components/pluginTable.vue';
const isClose = ref<boolean>(true);
const showIcon = ref<boolean>(false);
</script>
<style scoped>