From e4b1c29dc8dfa1012bd177fd3fabfe0d4f944ba3 Mon Sep 17 00:00:00 2001
From: wxg0103 <727495428@qq.com>
Date: Fri, 21 Jun 2024 16:34:57 +0800
Subject: [PATCH] =?UTF-8?q?fix(=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83):=20?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E8=AE=A1=E5=88=92=E8=B7=B3?=
=?UTF-8?q?=E8=BD=AC=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
--bug=1042843 --user=王孝刚 【项目任务中心】定时任务-全部/计划列表-计划资源ID和资源名称不可点击跳转 https://www.tapd.cn/55049933/s/1533829
---
.../system/mapper/ExtScheduleMapper.xml | 13 +++++++++++--
.../taskCenter/component/scheduledTask.vue | 17 ++++++++++++++---
2 files changed, 25 insertions(+), 5 deletions(-)
diff --git a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml
index 6000d9078a..978e4adecd 100644
--- a/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml
+++ b/backend/services/system-setting/src/main/java/io/metersphere/system/mapper/ExtScheduleMapper.xml
@@ -200,11 +200,20 @@
SELECT
- schedule.*,
+ schedule.id,
+ schedule.name,
+ schedule.project_id,
+ schedule.resource_id,
+ schedule.value,
+ schedule.enable,
+ schedule.key,
+ schedule.job,
+ schedule.resource_type,
+ schedule.config,
test_plan.type,
test_plan.num as resource_num,
test_plan.name as resource_name
- FROM
+ from
schedule
inner join test_plan on schedule.resource_id = test_plan.id
diff --git a/frontend/src/views/project-management/taskCenter/component/scheduledTask.vue b/frontend/src/views/project-management/taskCenter/component/scheduledTask.vue
index a11a518571..57ffd3888b 100644
--- a/frontend/src/views/project-management/taskCenter/component/scheduledTask.vue
+++ b/frontend/src/views/project-management/taskCenter/component/scheduledTask.vue
@@ -43,7 +43,10 @@
>