This commit is contained in:
xiaojunnuo
2024-11-01 02:13:34 +08:00
parent 5160b9fbd6
commit dc9040a68e
25 changed files with 65 additions and 279 deletions
@@ -29,3 +29,11 @@
.fs-form-wrapper .fs-form-header {
padding-right: 30px !important;
}
.fs-values-format .fs-tag{
display: inline-flex;
.fs-icon{
margin-right: 3px;
}
}
@@ -1,6 +1,6 @@
<template>
<a-button class="cd-secret-plain-getter ml-5">
<fs-icon class="pointer" :icon="computedIcon" @click="showPlain" />
<a-button class="cd-secret-plain-getter ml-5" @click="showPlain">
<fs-icon class="pointer" :icon="computedIcon" />
</a-button>
</template>
<script lang="ts" setup>
@@ -14,7 +14,7 @@
</template>
</a-list-item-meta>
<div>
<a-textarea :value="item.content" rows="5" />
<a-textarea :value="item.content" :rows="5" />
</div>
</a-list-item>
</template>
@@ -1,7 +1,7 @@
<template>
<a-timeline-item v-if="status && runnable" class="pi-history-timeline-item" :color="status.color">
<a-timeline-item v-if="status && runnable" class="pi-history-timeline-item" :color="status.iconColor || status.color">
<template #dot>
<fs-icon v-bind="status" />
<fs-icon v-bind="status" :color="status.iconColor || status.color" />
</template>
<p>
<fs-date-format :model-value="runnable.status?.startTime"></fs-date-format>
@@ -1,7 +1,7 @@
<template>
<span v-if="statusRef" class="pi-status-show flex-o">
<template v-if="type === 'icon'">
<fs-icon class="status-icon" v-bind="statusRef" :style="{ color: statusRef.color }" />
<fs-icon class="status-icon" v-bind="statusRef" :style="{ color: statusRef.iconColor || statusRef.color }" />
</template>
<template v-if="type === 'tag'">
<a-tag :color="statusRef.color">{{ statusRef.label }}</a-tag>
@@ -42,6 +42,7 @@ const StatusEnum: StatusEnumType = {
value: "canceled",
label: "已取消",
color: "yellow",
iconColor: "#d4b106",
icon: "ant-design:minus-circle-twotone"
},
none: {