fix(任务中心): bugFix
This commit is contained in:
parent
d1558051f4
commit
d7d57690ce
|
@ -52,12 +52,15 @@
|
|||
{{ t(executeMethodMap[record.triggerMode]) }}
|
||||
</template>
|
||||
<template #resourcePoolNode="{ record }">
|
||||
<a-tooltip :content="record.resourcePoolNode">
|
||||
<div class="one-line-text">{{ record.resourcePoolNode }}</div>
|
||||
</a-tooltip>
|
||||
<a-tooltip v-if="record.resourcePoolNodeStatus === false" :content="t('ms.taskCenter.nodeErrorTip')">
|
||||
<icon-exclamation-circle-fill class="min-w-[18px] !text-[rgb(var(--warning-6))]" :size="18" />
|
||||
</a-tooltip>
|
||||
<template v-if="record.resourcePoolNode">
|
||||
<a-tooltip :content="record.resourcePoolNode">
|
||||
<div class="one-line-text">{{ record.resourcePoolNode }}</div>
|
||||
</a-tooltip>
|
||||
<a-tooltip v-if="record.resourcePoolNodeStatus === false" :content="t('ms.taskCenter.nodeErrorTip')">
|
||||
<icon-exclamation-circle-fill class="min-w-[18px] !text-[rgb(var(--warning-6))]" :size="18" />
|
||||
</a-tooltip>
|
||||
</template>
|
||||
<span v-else>-</span>
|
||||
</template>
|
||||
<template #action="{ record }">
|
||||
<MsButton
|
||||
|
|
|
@ -681,7 +681,10 @@
|
|||
|
||||
function showReportDetail(record: TaskCenterTaskItem) {
|
||||
activeDetailId.value = record.reportId;
|
||||
if ([ExecuteTaskType.API_SCENARIO, ExecuteTaskType.TEST_PLAN_API_SCENARIO].includes(record.taskType)) {
|
||||
if (
|
||||
[ExecuteTaskType.API_SCENARIO, ExecuteTaskType.TEST_PLAN_API_SCENARIO].includes(record.taskType) ||
|
||||
(record.taskType.includes('SCENARIO') && record.integrated === true)
|
||||
) {
|
||||
showDetailDrawer.value = true;
|
||||
} else {
|
||||
showCaseDetailDrawer.value = true;
|
||||
|
|
Loading…
Reference in New Issue