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 52d6dc5d4e3a11b2aa148fb1964f83d090c5f102..0c9b83df18f7bcf0e3522e581a16da4e219348f0 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));