fix(任务中心): bugFix

This commit is contained in:
baiqi 2024-10-28 16:35:04 +08:00 committed by Craftsman
parent 4a40e6f4e5
commit 71dd86a192
4 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ export default {
'Step level: The CSV needs to be added to the scenario step. The CSV is loaded when executing this loop step, and the scope is the request within the loop step.', 'Step level: The CSV needs to be added to the scenario step. The CSV is loaded when executing this loop step, and the scope is the request within the loop step.',
'apiScenario.params.searchPlaceholder': 'Search by name/tag', 'apiScenario.params.searchPlaceholder': 'Search by name/tag',
'apiScenario.params.priority': 'apiScenario.params.priority':
'Variable Priority: Temporary Parameters > Scenario Parameters > Environment Parameters > Global Parameters; Note: Avoid using variables with the same name. In case of same name variables, scenario-level CSV has the highest priority.', 'Variable Priority: Temporary Parameters > Scenario Parameters > Environment Parameters; Note: Avoid using variables with the same name. In case of same name variables, scenario-level CSV has the highest priority.',
'apiScenario.params.name': 'Variable Name', 'apiScenario.params.name': 'Variable Name',
'apiScenario.params.type': 'Type', 'apiScenario.params.type': 'Type',
'apiScenario.params.paramValue': 'Parameter Value', 'apiScenario.params.paramValue': 'Parameter Value',

View File

@ -47,7 +47,7 @@ export default {
'apiScenario.params.csvStop': '遇到文件结束符停止线程', 'apiScenario.params.csvStop': '遇到文件结束符停止线程',
'apiScenario.params.searchPlaceholder': '通过名称/标签搜索', 'apiScenario.params.searchPlaceholder': '通过名称/标签搜索',
'apiScenario.params.priority': 'apiScenario.params.priority':
'变量优先级:临时参数>场景参数 >环境参数>全局参数;注: 避免使用同名变量,同名变量时场景级 CSV 优先级最高', '变量优先级:临时参数 > 场景参数 > 环境参数;注: 避免使用同名变量,同名变量时场景级 CSV 优先级最高',
'apiScenario.params.name': '变量名称', 'apiScenario.params.name': '变量名称',
'apiScenario.params.type': '类型', 'apiScenario.params.type': '类型',
'apiScenario.params.paramValue': '参数值', 'apiScenario.params.paramValue': '参数值',

View File

@ -3,7 +3,7 @@
<template #title> <template #title>
<div class="flex flex-1 items-center gap-[8px] overflow-hidden"> <div class="flex flex-1 items-center gap-[8px] overflow-hidden">
<a-tag :color="executeResultMap[props.record.result]?.color"> <a-tag :color="executeResultMap[props.record.result]?.color">
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }} {{ t(executeResultMap[props.record.result]?.label || '-') }}
</a-tag> </a-tag>
<div class="one-line-text">{{ detail.name }}</div> <div class="one-line-text">{{ detail.name }}</div>
</div> </div>
@ -80,7 +80,7 @@
const { apiReportDetailDTOList } = res; const { apiReportDetailDTOList } = res;
const [caseDetail] = apiReportDetailDTOList; const [caseDetail] = apiReportDetailDTOList;
detail.value = { detail.value = {
name: caseDetail.requestName, name: caseDetail?.requestName || props.record.resourceName,
description: [ description: [
{ {
label: t('ms.taskCenter.executeStatus'), label: t('ms.taskCenter.executeStatus'),

View File

@ -3,7 +3,7 @@
<template #title> <template #title>
<div class="flex flex-1 items-center gap-[8px] overflow-hidden"> <div class="flex flex-1 items-center gap-[8px] overflow-hidden">
<a-tag :color="executeResultMap[props.record.result]?.color"> <a-tag :color="executeResultMap[props.record.result]?.color">
{{ t(executeResultMap[props.record.result]?.label || 'common.unExecute') }} {{ t(executeResultMap[props.record.result]?.label || '-') }}
</a-tag> </a-tag>
<div class="one-line-text">{{ detail.name }}</div> <div class="one-line-text">{{ detail.name }}</div>
</div> </div>