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