fix(任务中心): 执行结果标题
This commit is contained in:
parent
0286f5717e
commit
2ddd07925c
|
@ -1,13 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<MsDrawer v-model:visible="visible" :width="1200" :footer="false">
|
<MsDrawer v-model:visible="visible" :width="1200" :footer="false">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="flex items-center gap-[8px]">
|
<div class="flex flex-1 items-center gap-[8px] overflow-hidden">
|
||||||
<a-tag :color="executeResultMap[props.record.result]?.color">
|
<a-tag :color="executeResultMap[props.record.result]?.color">
|
||||||
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }}
|
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }}
|
||||||
</a-tag>
|
</a-tag>
|
||||||
<div>{{ detail.name }}</div>
|
<div class="one-line-text">{{ detail.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-1 justify-end">
|
<div class="flex justify-end">
|
||||||
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">
|
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">
|
||||||
<MsIcon type="icon-icon_reset_outlined" class="mr-[8px]" size="14" />
|
<MsIcon type="icon-icon_reset_outlined" class="mr-[8px]" size="14" />
|
||||||
{{ t('common.refresh') }}
|
{{ t('common.refresh') }}
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
<template>
|
<template>
|
||||||
<MsDrawer v-model:visible="visible" :width="1200" :footer="false">
|
<MsDrawer v-model:visible="visible" :width="1200" :footer="false">
|
||||||
<template #title>
|
<template #title>
|
||||||
<div class="flex items-center gap-[8px]">
|
<div class="flex flex-1 items-center gap-[8px] overflow-hidden">
|
||||||
<a-tag :color="executeResultMap[props.record.result]?.color">
|
<a-tag :color="executeResultMap[props.record.result]?.color">
|
||||||
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }}
|
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }}
|
||||||
</a-tag>
|
</a-tag>
|
||||||
<div>{{ detail.name }}</div>
|
<div class="one-line-text">{{ detail.name }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-1 justify-end">
|
<div class="flex justify-end">
|
||||||
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">
|
<MsButton type="icon" status="secondary" class="!rounded-[var(--border-radius-small)]" @click="init">
|
||||||
<MsIcon type="icon-icon_reset_outlined" class="mr-[8px]" size="14" />
|
<MsIcon type="icon-icon_reset_outlined" class="mr-[8px]" size="14" />
|
||||||
{{ t('common.refresh') }}
|
{{ t('common.refresh') }}
|
||||||
|
|
Loading…
Reference in New Issue