From 5411e2d06ce469df7d6933371c1176898e0ccb25 Mon Sep 17 00:00:00 2001
From: chenyao <1219716595@qq.com>
Date: Fri, 23 May 2025 16:34:42 +0800
Subject: [PATCH] feat:跳转路径
---
src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue b/src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue
index 9d710ff..faceb4d 100644
--- a/src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue
+++ b/src/views/job/components/TaskIntermediateContent/TaskIntermediateContent.vue
@@ -174,7 +174,10 @@
const targetPath = `/taskManage?id=${item.id}&batchNo=${item.batch_no}`
window.open(`${adminUrl}?redirect=${encodeURIComponent(targetPath)}`, '_blank')
} else {
- isShowDeviceJobDetails.value = true
+ // isShowDeviceJobDetails.value = true
+ const adminUrl = `${import.meta.env.VITE_APP_AREA_NAME}/command-center-dashboard/`
+ const targetPath = `/taskManage?id=${item.id}&batchNo=${item.batch_no}`
+ window.open(`${adminUrl}?redirect=${encodeURIComponent(targetPath)}`, '_blank')
}
}
--
Gitblit v1.9.3