fix: 关联异常附件
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
>
|
||||
<template #reference>
|
||||
<span class="link-text">
|
||||
{{ $t('工况库.关联N个执行规范', { count: displayNames.length }) }}
|
||||
{{ $t(linkTextKey, { count: displayNames.length }) }}
|
||||
</span>
|
||||
</template>
|
||||
<div class="template-list">
|
||||
@@ -78,6 +78,13 @@ import OverflowTooltip from '@/components/common/text/overflowTooltip.vue';
|
||||
import { DIR_TYPE } from '@/utils/enum/data.ts';
|
||||
import { downloadFileById } from '@/utils/file';
|
||||
|
||||
const linkTextKey = computed(() => {
|
||||
if (props.dirType === DIR_TYPE.EXCEPTION_CASE) {
|
||||
return '工况库.关联N个异常附件';
|
||||
}
|
||||
return '工况库.关联N个执行规范';
|
||||
});
|
||||
|
||||
interface Props {
|
||||
modelValue?: any;
|
||||
modelName?: string;
|
||||
|
||||
@@ -218,6 +218,7 @@ const lang = {
|
||||
关联N个报告模版: 'Associated {count} Report Templates',
|
||||
关联N个执行规范: 'Associated {count} Standards',
|
||||
关联N个场景: 'Associated {count} Scenes',
|
||||
关联N个异常附件: 'Associated {count} Exception Attachments',
|
||||
请选择工况库: 'Please select task pool',
|
||||
学科准确度: 'Discipline Accuracy',
|
||||
工位准确度: 'Workspace Accuracy',
|
||||
|
||||
@@ -214,6 +214,7 @@ const lang = {
|
||||
关联N个报告模版: '关联{count}个报告模版',
|
||||
关联N个执行规范: '关联{count}个执行规范',
|
||||
关联N个场景: '关联{count}个场景',
|
||||
关联N个异常附件: '关联{count}个异常附件',
|
||||
请选择工况库: '请选择工况库',
|
||||
学科准确度: '学科准确度',
|
||||
工位准确度: '工位准确度',
|
||||
|
||||
Reference in New Issue
Block a user