From 056ea576d820729878ffd62cd54cd7598e72d07e Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 29 七月 2025 16:07:31 +0800 Subject: [PATCH] 新增图片超出限制,无法选中功能 --- src/views/overlay-clue/report/components/ClueReportClue.vue | 25 +++++++++++++++++++++---- 1 files changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/overlay-clue/report/components/ClueReportClue.vue b/src/views/overlay-clue/report/components/ClueReportClue.vue index 6010893..0e83ad2 100644 --- a/src/views/overlay-clue/report/components/ClueReportClue.vue +++ b/src/views/overlay-clue/report/components/ClueReportClue.vue @@ -2,7 +2,12 @@ <!-- 娓呭崟璇︽儏 --> <DescriptionsList title="绾跨储娓呭崟璇︽儏"> <template #extra> - <el-button type="primary" text size="small" @click="openPDF" + <el-button + v-if="!isInternal" + type="primary" + text + size="small" + @click="openPDF" >鏌ョ湅PDF</el-button > </template> @@ -11,8 +16,14 @@ label="绾跨储鍚嶇О" :content="clue.cclueName" /> - <DescriptionsListItem label="鍒涘缓鏃堕棿" :content="$tf(clue.ccreateTime)" /> - <DescriptionsListItem label="涓嬪彂鏃堕棿" :content="$tf(clue.creleaseTime)" /> + <DescriptionsListItem + label="鍒涘缓鏃堕棿" + :content="$tf(clue.ccreateTime)" + /> + <DescriptionsListItem + label="涓嬪彂鏃堕棿" + :content="$tf(clue.creleaseTime)" + /> <DescriptionsListItem label="鎶ヨ绔欑偣" :content="clue.csiteName" @@ -36,6 +47,12 @@ import clueApi from '@/api/clue/clueApi'; export default { + inject: { + // 鏄惁鏄唴閮ㄧ嚎绱㈢浉鍏虫搷浣� + isInternal: { + default: false + } + }, props: { clue: Object }, @@ -46,6 +63,6 @@ '_blank' ); } - }, + } }; </script> -- Gitblit v1.9.3