diff --git a/jero-web/src/common/lang/en-us.js b/jero-web/src/common/lang/en-us.js index 94256c6a6..c678d6f42 100644 --- a/jero-web/src/common/lang/en-us.js +++ b/jero-web/src/common/lang/en-us.js @@ -1848,4 +1848,6 @@ module.exports = { approvalcycle:'Approval cycle(day)', transittime:'Transit Time', returntime:'Return time', + copyLink:'Copy link', + successfulReplication:'Successful replication', } \ No newline at end of file diff --git a/jero-web/src/common/lang/zh-cn.js b/jero-web/src/common/lang/zh-cn.js index 5fabf20f7..bf98567da 100644 --- a/jero-web/src/common/lang/zh-cn.js +++ b/jero-web/src/common/lang/zh-cn.js @@ -1949,4 +1949,6 @@ module.exports = { approvalcycle:'审批周期(天)', transittime:'通过时间', returntime:'退回时间', + copyLink:'复制链接', + successfulReplication:'复制成功', } \ No newline at end of file diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue index 4486e7def..e8198ea15 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseList.vue @@ -30,7 +30,7 @@ - +
+
+ + {{$t('copyLink')}} +
{{$t('contactTheFounder')}} @@ -424,9 +428,9 @@ this.queryForm = row this.$refs.SelectedByRef.getPush() }, - pushJump(row){ + pushJump(row) { let query = { - userName: row.createBy, + userName: row.createBy } postAction('/lark/getLarkApplinkByUserName', query).then((res) => { if (res.code === 200) { @@ -465,6 +469,12 @@ }, handleToggleSearch() { this.toggleSearchStatus = !this.toggleSearchStatus + }, + copyLinkClick(item) { + let text = window.location.host + this.$route.path + '?id=' + item.id + navigator.clipboard.writeText(text).then((res) => { + this.$message.success(this.$t('successfulReplication')) + }) } } } @@ -476,10 +486,12 @@ overflow: hidden; /*margin: 0 auto;*/ } - .jumpicon{ + + .jumpicon { height: 13.72px; width: 15.44px; } + .box-title-text { line-height: 1.4; width: 360px; diff --git a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue index bd7912d77..5c8071ca9 100644 --- a/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue +++ b/jero-web/src/views/businessSupport/problemKnowledgeBase/components/problemKnowledgeBaseListView.vue @@ -53,6 +53,10 @@
+
+ + {{$t('copyLink')}} +
{{$t('contactTheFounder')}} @@ -493,6 +497,12 @@ this.$refs.SelectedByRef.submitLoading = false } }) + }, + copyLinkClick(item) { + let text = window.location.host + this.$route.path + '?id=' + item.id + navigator.clipboard.writeText(text).then((res) => { + this.$message.success(this.$t('successfulReplication')) + }) } } }