fix(测试计划): 测试计划详情-功能用例-文案修改

This commit is contained in:
teukkk 2024-05-17 16:54:49 +08:00 committed by 刘瑞斌
parent 17f41bffcc
commit 77b6cee0ab
4 changed files with 14 additions and 4 deletions

View File

@ -163,7 +163,13 @@
source-id-key="caseId" source-id-key="caseId"
@finish="emit('updateSuccess')" @finish="emit('updateSuccess')"
/> />
<MsButton type="button" status="primary" class="!mr-[4px]" @click="transferFileHandler(item)"> <MsButton
v-if="!props.isTestPlan"
type="button"
status="primary"
class="!mr-[4px]"
@click="transferFileHandler(item)"
>
{{ t('caseManagement.featureCase.storage') }} {{ t('caseManagement.featureCase.storage') }}
</MsButton> </MsButton>
<MsButton <MsButton

View File

@ -110,10 +110,10 @@
<div class="flex items-center"> <div class="flex items-center">
<a-switch v-model:model-value="autoNext" size="small" /> <a-switch v-model:model-value="autoNext" size="small" />
<div class="mx-[8px]">{{ t('caseManagement.caseReview.autoNext') }}</div> <div class="mx-[8px]">{{ t('caseManagement.caseReview.autoNext') }}</div>
<a-tooltip position="right"> <a-tooltip position="top">
<template #content> <template #content>
<div>{{ t('caseManagement.caseReview.autoNextTip1') }}</div> <div>{{ t('testPlan.featureCase.autoNextTip1') }}</div>
<div>{{ t('caseManagement.caseReview.autoNextTip2') }}</div> <div>{{ t('testPlan.featureCase.autoNextTip2') }}</div>
</template> </template>
<icon-question-circle <icon-question-circle
class="text-[var(--color-text-brand)] hover:text-[rgb(var(--primary-4))]" class="text-[var(--color-text-brand)] hover:text-[rgb(var(--primary-4))]"

View File

@ -104,4 +104,6 @@ export default {
'testPlan.featureCase.batchDisassociateTipContent': 'testPlan.featureCase.batchDisassociateTipContent':
' After cancellation, associate again, and the execution result is unexecuted', ' After cancellation, associate again, and the execution result is unexecuted',
'testPlan.featureCase.richTextDblclickPlaceholder': 'Double click for quick input', 'testPlan.featureCase.richTextDblclickPlaceholder': 'Double click for quick input',
'testPlan.featureCase.autoNextTip1': 'Enable: After submitting the results, jump to the next case',
'testPlan.featureCase.autoNextTip2': 'Close: After submitting the results, it is still in the current state',
}; };

View File

@ -101,4 +101,6 @@ export default {
'testPlan.featureCase.batchDisassociateTipContent': '取消后,再次关联,执行结果为:未执行', 'testPlan.featureCase.batchDisassociateTipContent': '取消后,再次关联,执行结果为:未执行',
'testPlan.featureCase.startExecution': '开始执行', 'testPlan.featureCase.startExecution': '开始执行',
'testPlan.featureCase.richTextDblclickPlaceholder': '双击可快速输入', 'testPlan.featureCase.richTextDblclickPlaceholder': '双击可快速输入',
'testPlan.featureCase.autoNextTip1': '开启:提交结果后,跳转至下一条用例',
'testPlan.featureCase.autoNextTip2': '关闭:提交结果后,还在当前',
}; };