style(测试用例): 修改导入导出样式细节

This commit is contained in:
teukkk 2024-08-09 15:19:27 +08:00 committed by 刘瑞斌
parent 4426d8601c
commit a3983fc580
4 changed files with 7 additions and 4 deletions

View File

@ -1245,6 +1245,7 @@
} else {
reportId.value = res.fileId;
taskId.value = res.taskId;
Message.error(t('caseManagement.featureCase.alreadyExportTasks'));
startWebsocketGetExportResult();
showExportingMessage();
}

View File

@ -22,7 +22,7 @@
<span class="mx-1 font-medium text-[rgb(var(--danger-6))]">{{ validateResultInfo.failCount }}</span>
{{ t('caseManagement.featureCase.caseCount') }}
</span>
<span v-else>
<span v-else-if="validateResultInfo.failCount">
{{ t('caseManagement.featureCase.partialCaseVerificationFailed') }}
</span>
<a-popover

View File

@ -54,6 +54,7 @@ export default {
'The deleted content will be put into the recycle bin, where data can be recovered',
'caseManagement.featureCase.deleteCaseTitle': 'Are you sure to delete the {name} use case?',
'caseManagement.featureCase.export': 'Export',
'caseManagement.featureCase.alreadyExportTasks': 'There are already export tasks available',
'caseManagement.featureCase.exportExcelXlsx': 'Export to Excel format (xlsx)',
'caseManagement.featureCase.exportExcel': 'Export as Excel',
'caseManagement.featureCase.exportExcel.exportFormat': 'Export Format',
@ -246,7 +247,7 @@ export default {
'caseManagement.featureCase.verifyingFile': 'Verifying file correctness',
'caseManagement.featureCase.successfulCheck': 'Successful check',
'caseManagement.featureCase.failCheck': 'Check failure',
'caseManagement.featureCase.caseCount': 'Strip use cases',
'caseManagement.featureCase.caseCount': 'Strip use cases.',
'caseManagement.featureCase.viewErrorDetail': 'View error details',
'caseManagement.featureCase.someCaseImportFailed': 'Some use case import failed',
'caseManagement.featureCase.ViewMore': 'See more',
@ -255,7 +256,7 @@ export default {
'caseManagement.featureCase.backToUploadPage': 'Back to upload page',
'caseManagement.featureCase.ignoreErrorContinueImporting': 'Ignore&continue',
'caseManagement.featureCase.partialCheckFailure': 'Partial check failure',
'caseManagement.featureCase.partialCaseVerificationFailed': 'Partial case verification failed',
'caseManagement.featureCase.partialCaseVerificationFailed': 'Partial case verification failed.',
'caseManagement.featureCase.CheckFailure': 'Check failure',
'caseManagement.featureCase.CheckSuccess': 'Check success',
'caseManagement.featureCase.tableNoData': 'No data available',

View File

@ -54,6 +54,7 @@ export default {
'caseManagement.featureCase.deleteCaseTitle': '确认删除 {name} 用例吗?',
'caseManagement.featureCase.completedDeleteCaseTitle': '确认彻底删除 {name} 用例吗?',
'caseManagement.featureCase.export': '导出',
'caseManagement.featureCase.alreadyExportTasks': '已有导出任务',
'caseManagement.featureCase.exportExcel': '导出 Excel 格式',
'caseManagement.featureCase.exportExcelXlsx': '导出 Excel 格式 (xlsx)',
'caseManagement.featureCase.exportExcel.exportFormat': '导出格式',
@ -251,7 +252,7 @@ export default {
'caseManagement.featureCase.backToUploadPage': '返回上传页',
'caseManagement.featureCase.ignoreErrorContinueImporting': '忽略错误继续导入',
'caseManagement.featureCase.partialCheckFailure': '部分校验失败',
'caseManagement.featureCase.partialCaseVerificationFailed': '部分用例检验失败',
'caseManagement.featureCase.partialCaseVerificationFailed': '部分用例检验失败',
'caseManagement.featureCase.CheckFailure': '校验失败',
'caseManagement.featureCase.CheckSuccess': '校验成功',
'caseManagement.featureCase.tableNoData': '暂无数据',