mirror of
https://github.com/certd/certd.git
synced 2026-05-16 21:27:34 +08:00
chore: project setting
This commit is contained in:
@@ -6,13 +6,13 @@ const projectPermissionDict = dict({
|
||||
data: [
|
||||
{
|
||||
value: "read",
|
||||
label: "只读",
|
||||
label: "查看",
|
||||
color: "cyan",
|
||||
icon: "material-symbols:folder-eye-outline-sharp",
|
||||
},
|
||||
{
|
||||
value: "write",
|
||||
label: "读写",
|
||||
label: "修改",
|
||||
color: "green",
|
||||
icon: "material-symbols:edit-square-outline-rounded",
|
||||
},
|
||||
|
||||
@@ -2,10 +2,8 @@
|
||||
<fs-page class="page-project-detail">
|
||||
<template #header>
|
||||
<div class="title">
|
||||
{{ t("certd.ent.projectDetailManager") }}
|
||||
当前项目 :{{ project?.name }}
|
||||
<span class="sub flex-inline items-center">
|
||||
项目名称 :<a-tag color="green">{{ project?.name }}</a-tag>
|
||||
<a-divider type="vertical"></a-divider>
|
||||
管理员:<fs-values-format :model-value="project.adminId" :dict="userDict" color="green"></fs-values-format>
|
||||
<!-- <a-divider type="vertical"></a-divider>
|
||||
<fs-values-format :model-value="project.permission" :dict="projectPermissionDict"></fs-values-format>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div v-if="open" class="admin-mode-intro" :style="fixed ? 'position: fixed;' : 'position: absolute;'">
|
||||
<div class="mask" @click="close()">
|
||||
<div v-if="open" class="admin-mode-intro" :style="fixed ? 'position: fixed;' : 'position: absolute;'" @click="close()">
|
||||
<div class="mask">
|
||||
<div class="intro-content">
|
||||
<h2 class="intro-title text-xl font-bold">{{ title || "管理模式介绍" }}</h2>
|
||||
<div class="mt-8 image-block">
|
||||
|
||||
@@ -6,9 +6,8 @@
|
||||
<fs-dict-radio v-model:value="formState.public.adminMode" :disabled="!settingsStore.isPlus" :dict="adminModeDict" />
|
||||
<vip-button class="ml-5" mode="button"></vip-button>
|
||||
</div>
|
||||
<div class="intro-desc helper">SaaS模式:每个用户管理自己的流水线和授权资源,独立使用。</div>
|
||||
<div class="intro-desc helper">企业模式:企业内部员工使用,通过项目合作管理流水线证书和授权资源。</div>
|
||||
<div><a @click="adminModeIntroOpen = true"> 查看示意图</a></div>
|
||||
<div class="helper">建议在开始使用时选择合适的模式,之后就不要随意切换了。</div>
|
||||
<div><a @click="adminModeIntroOpen = true"> 管理模式介绍</a></div>
|
||||
</a-form-item>
|
||||
|
||||
<a-form-item label=" " :colon="false" :wrapper-col="{ span: 8 }">
|
||||
|
||||
Reference in New Issue
Block a user