mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
pref: 优化计划任务错误显示 (#4803)
This commit is contained in:
parent
e47d449b1b
commit
164a48c99f
@ -16,9 +16,9 @@
|
||||
</span>
|
||||
<el-button type="primary" link @click="toHalo">
|
||||
{{ isProductPro ? $t('license.pro') : $t('license.community') }}
|
||||
<span class="version">{{ version }}</span>
|
||||
</el-button>
|
||||
<el-badge is-dot style="margin-left: -3px" v-if="version !== 'Waiting' && globalStore.hasNewVersion">
|
||||
<span class="version">{{ version }}</span>
|
||||
<el-badge is-dot style="margin-top: -3px" v-if="version !== 'Waiting' && globalStore.hasNewVersion">
|
||||
<el-button type="primary" link @click="onLoadUpgradeInfo">
|
||||
<span>({{ $t('setting.hasNewVersion') }})</span>
|
||||
</el-button>
|
||||
|
@ -154,14 +154,9 @@
|
||||
<template #label>
|
||||
<span class="status-label">{{ $t('commons.table.status') }}</span>
|
||||
</template>
|
||||
<el-tooltip v-if="currentRecord?.status === 'Failed'" placement="top">
|
||||
<template #content>
|
||||
<div style="width: 300px; word-break: break-all">
|
||||
{{ currentRecord?.message }}
|
||||
</div>
|
||||
</template>
|
||||
<el-tag type="danger">{{ $t('commons.table.statusFailed') }}</el-tag>
|
||||
</el-tooltip>
|
||||
<el-tag type="danger" v-if="currentRecord?.status === 'Failed'">
|
||||
{{ $t('commons.table.statusFailed') }}
|
||||
</el-tag>
|
||||
<el-tag type="success" v-if="currentRecord?.status === 'Success'">
|
||||
{{ $t('commons.table.statusSuccess') }}
|
||||
</el-tag>
|
||||
@ -170,6 +165,14 @@
|
||||
</el-tag>
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
<el-row v-if="currentRecord?.status === 'Failed'">
|
||||
<el-form-item class="w-full">
|
||||
<template #label>
|
||||
<span class="status-label">{{ $t('commons.table.message') }}</span>
|
||||
</template>
|
||||
{{ currentRecord?.message }}
|
||||
</el-form-item>
|
||||
</el-row>
|
||||
<el-row v-if="currentRecord?.records">
|
||||
<span>{{ $t('commons.table.records') }}</span>
|
||||
<codemirror
|
||||
|
Loading…
x
Reference in New Issue
Block a user