refactor(用例管理): 功能用例执行结果列改为只读
This commit is contained in:
parent
4263347d7e
commit
10e3a7af03
|
@ -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>
|
||||
|
||||
|
|
|
@ -207,22 +207,8 @@
|
|||
</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>
|
||||
</template>
|
||||
<template #moduleId="{ record }">
|
||||
<a-tree-select
|
||||
v-if="record.showModuleTree"
|
||||
|
|
Loading…
Reference in New Issue