From 5b96a1229508197305f204e613fb1516f5a7b07d Mon Sep 17 00:00:00 2001 From: yaojn Date: Wed, 11 Jun 2025 16:46:24 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E5=8A=9F=E8=83=BD]=E5=AD=90=E9=9C=80?= =?UTF-8?q?=E6=B1=82=E4=BB=A5=E8=BF=9E=E6=8E=A5=E6=96=B9=E5=BC=8F=E6=89=93?= =?UTF-8?q?=E5=BC=80=20=20=20=20-=20[=E5=85=B3=E8=81=94]#[1401685522481152?= =?UTF-8?q?]=E5=AD=90=E9=9C=80=E6=B1=82=E4=BB=A5=E8=BF=9E=E6=8E=A5?= =?UTF-8?q?=E6=96=B9=E5=BC=8F=E6=89=93=E5=BC=80=20http://192.168.0.96:8090?= =?UTF-8?q?/demo/rdm.html#/story-detail/939050947543040/939050947543042/14?= =?UTF-8?q?01685522481152?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../project/viewtab/components/issue-list-table.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/pages/rdm/project/viewtab/components/issue-list-table.vue b/src/views/pages/rdm/project/viewtab/components/issue-list-table.vue index 52d6dc5d..0c9b83df 100644 --- a/src/views/pages/rdm/project/viewtab/components/issue-list-table.vue +++ b/src/views/pages/rdm/project/viewtab/components/issue-list-table.vue @@ -44,7 +44,7 @@ @click="toggleChildIssue(row)" > - + {{ row.name }} @@ -108,6 +108,14 @@ export default { beforeDestroy() {}, destroyed() {}, methods: { + newTab(e, row) { + //鼠标右键打开新标签页 + const base = this.$router.options.base; + const { appType = '', projectId = null, appId = null, id = null, name = '' } = row || {}; + const path = `/${appType}-detail/${projectId}/${appId}/${id}`; + const url = `${name}`; + e.currentTarget.innerHTML = url; + }, highlightKeywords(text, wordList) { if (!wordList || wordList.length === 0) return text; const escapedWords = wordList.map(word => this.escapeRegExp(word)); -- Gitee