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> <template>
<a-alert v-bind="attrs" class="p-4" :class="`arco-alert-${type}`"> <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> <div>
<slot name="content"></slot> <slot name="content"></slot>
</div> </div>
@ -22,10 +21,19 @@
/* stylelint-disable-next-line color-function-notation */ /* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--primary-5), 0.1); background-color: rgba(var(--primary-5), 0.1);
} }
.arco-icon-primary { .arco-alert-error {
color: rgb(var(--primary-5)); border-color: rgb(var(--danger-6));
/* stylelint-disable-next-line color-function-notation */
background-color: rgba(var(--danger-6), 0.1);
} }
.arco-icon-error { .arco-alert-warning {
color: rgb(rgb(var(--danger-6))); 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> </style>

View File

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

View File

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