feat(data-process): 完善后台生成与失败重试

This commit is contained in:
caoxiaozhu
2026-07-28 10:56:05 +08:00
parent 8a6a6574bb
commit 01d2e6c76a
178 changed files with 4472 additions and 595 deletions

View File

@@ -13,6 +13,15 @@ const showBackButton = computed(() => {
return route.path.split('/').filter(Boolean).length > 1
})
function handleBack() {
const backRouteName = route.meta.backRouteName
if (typeof backRouteName === 'string' && backRouteName) {
void router.push({ name: backRouteName })
return
}
router.back()
}
function usageClass(val?: number) {
return val != null && val > 80 ? 'is-danger' : ''
}
@@ -51,7 +60,7 @@ onUnmounted(() => {
v-if="showBackButton"
class="back-btn"
link
@click="router.back()"
@click="handleBack"
>
<div class="back-icon-wrap">
<i class="fa fa-arrow-left" />