From cc9d89400ac9568a8459287f124a678d6971eba8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 15 Jun 2023 17:10:20 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=89=8B=E6=9C=BA?= =?UTF-8?q?=E7=AB=AF=E6=96=87=E6=A1=A3=E5=BA=93=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/projectManagement/components/listOfRegulations.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jero-web/src/views/projectManagement/components/listOfRegulations.vue b/jero-web/src/views/projectManagement/components/listOfRegulations.vue index 08feba3fc..2978772ae 100644 --- a/jero-web/src/views/projectManagement/components/listOfRegulations.vue +++ b/jero-web/src/views/projectManagement/components/listOfRegulations.vue @@ -2802,6 +2802,7 @@ if (this.updateFlowStatusList && this.updateFlowStatusList.length > 0) { this.updateFlowStatusBatch() } + this.completeTaskList = [] for (let i = 0; i < this.startProcessList.length; i++) { if (this.startProcessList[i].type == 2) { this.startProcessList[i].dataList.designDutyDueDate = this.formInline.designDutyDueDate @@ -2829,6 +2830,7 @@ Promise.all(this.completeTaskList).then((res) => { if (this.requestsNum == res.length) { this.visible = false + this.formInline = {} this.selectedRowKeys = [] this.$message.success(this.$t('OperationSuccessful')) this.confirmLoading = false From eaab063e5d78f03e7b1351c83f9c1107bd89bce2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Thu, 15 Jun 2023 17:26:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=88=86=E4=BA=AB?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=A4=8D=E5=88=B6=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jero-web/src/common/lang/en-us.js | 2 ++ jero-web/src/common/lang/zh-cn.js | 2 ++ .../components/problemKnowledgeBaseList.vue | 20 +++++++++++++++---- .../problemKnowledgeBaseListView.vue | 10 ++++++++++ 4 files changed, 30 insertions(+), 4 deletions(-) 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')) + }) } } }