refactor(用例管理): 功能用例执行结果列改为只读

This commit is contained in:
guoyuqi 2024-04-29 14:15:03 +08:00 committed by 刘瑞斌
parent 4263347d7e
commit 10e3a7af03
2 changed files with 2 additions and 16 deletions

View File

@ -6,7 +6,7 @@
:size="16"
:style="{ color: lastExecuteResultMap[props.executeResult].color }"
></MsIcon>
<span class="text-[14px] text-[var(--color-text-2)]">{{ status?.text || '' }}</span>
<span class="text-[14px]">{{ status?.text || '' }}</span>
</div>
</template>

View File

@ -207,21 +207,7 @@
</a-trigger>
</template>
<template #lastExecuteResult="{ record }">
<a-select
v-model:model-value="record.lastExecuteResult"
:placeholder="t('common.pleaseSelect')"
class="param-input w-full"
size="mini"
@click.stop
@change="() => handleStatusChange(record)"
>
<template #label>
<executeResult :execute-result="record.lastExecuteResult" />
</template>
<a-option v-for="item of LastExecuteResults" :key="item" :value="item">
<executeResult :execute-result="item" />
</a-option>
</a-select>
<executeResult :execute-result="record.lastExecuteResult" />
</template>
<template #moduleId="{ record }">
<a-tree-select