mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-31 22:18:07 +08:00
feat: 计划任务报告页增加计划任务名称显示 (#1219)
This commit is contained in:
parent
01ed60fcb7
commit
35ca52620c
@ -3,9 +3,24 @@
|
|||||||
<div class="a-card" style="margin-top: 20px">
|
<div class="a-card" style="margin-top: 20px">
|
||||||
<el-card>
|
<el-card>
|
||||||
<div>
|
<div>
|
||||||
|
<el-popover
|
||||||
|
v-if="dialogData.rowData.name.length >= 15"
|
||||||
|
placement="top-start"
|
||||||
|
trigger="hover"
|
||||||
|
width="250"
|
||||||
|
:content="$t('cronjob.' + dialogData.rowData.type) + ' - ' + dialogData.rowData.name"
|
||||||
|
>
|
||||||
|
<template #reference>
|
||||||
<el-tag style="float: left" effect="dark" type="success">
|
<el-tag style="float: left" effect="dark" type="success">
|
||||||
{{ $t('cronjob.' + dialogData.rowData.type) }}
|
{{ $t('cronjob.' + dialogData.rowData.type) }} -
|
||||||
|
{{ dialogData.rowData.name.substring(0, 12) }}...
|
||||||
</el-tag>
|
</el-tag>
|
||||||
|
</template>
|
||||||
|
</el-popover>
|
||||||
|
<el-tag v-if="dialogData.rowData.name.length < 15" style="float: left" effect="dark" type="success">
|
||||||
|
{{ $t('cronjob.' + dialogData.rowData.type) }} - {{ dialogData.rowData.name }}
|
||||||
|
</el-tag>
|
||||||
|
|
||||||
<el-tag v-if="dialogData.rowData.status === 'Enable'" round class="status-content" type="success">
|
<el-tag v-if="dialogData.rowData.status === 'Enable'" round class="status-content" type="success">
|
||||||
{{ $t('commons.status.running') }}
|
{{ $t('commons.status.running') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user