fix(功能用例): 用例评审脑图-细节

This commit is contained in:
teukkk 2024-07-11 19:33:01 +08:00 committed by 刘瑞斌
parent 7144fd2bdd
commit 0e57208f00
5 changed files with 6 additions and 6 deletions

View File

@ -74,6 +74,7 @@
v-else-if="activeExtraKey === 'attachment'"
v-model:model-value="fileList"
not-show-add-button
disabled
:active-case="activeCaseInfo"
/>
<div v-else class="pl-[16px]">
@ -225,7 +226,7 @@
children: tree,
data: {
id: 'NONE',
text: t('ms.minders.allModule'),
text: t('caseManagement.caseReview.allCases'),
resource: [moduleTag],
disabled: true,
count: modulesCount.value.all,

View File

@ -17,7 +17,7 @@
:init-file-save-tips="t('ms.upload.waiting_save')"
:show-upload-type-desc="true"
:handle-delete="deleteFileHandler"
show-delete
:show-delete="!props.disabled"
button-in-title
>
<template #title="{ item }">
@ -38,7 +38,7 @@
>
{{ t('ms.upload.preview') }}
</MsButton>
<MsButton type="button" status="primary" class="!mr-[4px]" @click="transferFile(item)">
<MsButton v-if="!props.disabled" type="button" status="primary" class="!mr-[4px]" @click="transferFile(item)">
{{ t('caseManagement.featureCase.storage') }}
</MsButton>
<SaveAsFilePopover
@ -136,6 +136,7 @@
const props = defineProps<{
activeCase: Record<string, any>;
notShowAddButton?: boolean;
disabled?: boolean;
}>();
const emit = defineEmits<{
(e: 'uploadSuccess'): void;

View File

@ -195,7 +195,7 @@
children: caseTree.value,
data: {
id: 'NONE',
text: t('ms.minders.allModule'),
text: t('caseManagement.caseReview.allCases'),
resource: [moduleTag],
disabled: true,
},

View File

@ -1,5 +1,4 @@
export default {
'ms.minders.allModule': 'All Modules',
'ms.minders.precondition': 'Precondition',
'ms.minders.stepDesc': 'Step Description',
'ms.minders.stepExpect': 'Expected Result',

View File

@ -1,5 +1,4 @@
export default {
'ms.minders.allModule': '全部模块',
'ms.minders.precondition': '前置条件',
'ms.minders.stepDesc': '步骤描述',
'ms.minders.stepExpect': '预期结果',