From 83abdc52c8a1e1628630043fa23462832b30107a Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Mon, 26 Aug 2024 16:19:41 +0800 Subject: [PATCH 01/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2016458?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ExecDetail/plugin.vue | 27 +++++++++++++++++-- .../src/views/subpages/ExecDetail.vue | 1 + 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue index dcfaaa57af9..364e4d941bb 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue @@ -65,6 +65,10 @@ editingElementPos: { type: Object, required: true + }, + properties: { + type: Array, + default: () => ['LOG', 'ARTIFACT', 'CONFIG'] } }, data () { @@ -150,7 +154,12 @@ }, showTab () { - return this.tabList[1].completeLoading && this.tabList[2].completeLoading + const artifactoryTab = this.tabList.find(tab => tab.name === 'artifactory') + const reportTab = this.tabList.find(tab => tab.name === 'report') + if (artifactoryTab && reportTab) { + return artifactoryTab.completeLoading && reportTab.completeLoading + } + return false } }, @@ -167,10 +176,24 @@ handler (val) { const tab = val.find(tab => tab.name === this.currentTab) if (!tab.show) { - this.currentTab = 'log' + this.currentTab = val[0].name } }, deep: true + }, + properties: { + handler (newValue) { + if (JSON.stringify(newValue) === JSON.stringify(['CONFIG', 'LOG', 'ARTIFACT'])) { + this.tabList = [ + { name: 'setting', show: true }, + { name: 'log', show: true }, + { name: 'artifactory', show: false, completeLoading: false }, + { name: 'report', show: false, completeLoading: false } + ] + this.currentTab = 'setting' + } + }, + immediate: true } }, diff --git a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue index 84709f287a0..e46f8026066 100755 --- a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue +++ b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue @@ -110,6 +110,7 @@ From e6961e707d4b735dbe1a99125d61a6bed6977e5c Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Wed, 28 Aug 2024 14:28:23 +0800 Subject: [PATCH 02/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2018494?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/devops-atomstore/src/views/release_progress.vue | 3 +++ .../src/components/StageReviewPanel/components/describe.vue | 1 + 2 files changed, 4 insertions(+) diff --git a/src/frontend/devops-atomstore/src/views/release_progress.vue b/src/frontend/devops-atomstore/src/views/release_progress.vue index 73c74c49701..a3af7eb8919 100755 --- a/src/frontend/devops-atomstore/src/views/release_progress.vue +++ b/src/frontend/devops-atomstore/src/views/release_progress.vue @@ -603,6 +603,9 @@ } .card-item { text-align: center; + word-wrap: break-word; + word-break: break-all; + padding: 5px; i { font-size: 12px; font-weight: bold; diff --git a/src/frontend/devops-stream/src/components/StageReviewPanel/components/describe.vue b/src/frontend/devops-stream/src/components/StageReviewPanel/components/describe.vue index bed83e4904f..f116c130c8f 100644 --- a/src/frontend/devops-stream/src/components/StageReviewPanel/components/describe.vue +++ b/src/frontend/devops-stream/src/components/StageReviewPanel/components/describe.vue @@ -67,6 +67,7 @@ word-break: break-all; font-size: 12px; color: #666770; + white-space: pre; &.show-more { display: block; } From abdfd7336972ea80bea3fc2fb77b09b55eeb2588 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Sat, 14 Sep 2024 11:37:19 +0800 Subject: [PATCH 03/12] Merge branch 'master' of https://github.com/TencentBlueKing/bk-ci into issue_10808 # Reviewed, transaction id: 18496 From adb00b0b2d48fbe6d452f3080c1bd47db8145ccd Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Sat, 14 Sep 2024 14:52:15 +0800 Subject: [PATCH 04/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2018511?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ExecDetail/plugin.vue | 14 +++----------- .../src/views/subpages/ExecDetail.vue | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue index 1932681f65a..24d40050ff4 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue @@ -43,7 +43,7 @@ v-if="currentTab === 'log'" /> tab.name === 'artifactory') - const reportTab = this.tabList.find(tab => tab.name === 'report') - if (artifactoryTab && reportTab) { - return artifactoryTab.completeLoading && reportTab.completeLoading - } - return false } }, diff --git a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue index 0a5e653d952..4d411aa301e 100755 --- a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue +++ b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue @@ -132,7 +132,7 @@ From 84c2653061f904319e85212c61ee525fd1ace879 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Wed, 18 Sep 2024 14:41:20 +0800 Subject: [PATCH 05/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2018660?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue index 4d411aa301e..0a5e653d952 100755 --- a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue +++ b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue @@ -132,7 +132,7 @@ From d37508b14ae851eedf081ec149f4866fe160918e Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Wed, 18 Sep 2024 14:43:27 +0800 Subject: [PATCH 06/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2018662?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops-pipeline/src/components/ExecDetail/plugin.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue index 24d40050ff4..1a92b306337 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue @@ -95,8 +95,7 @@ { name: 'artifactory', show: false, completeLoading: false }, { name: 'report', show: false, completeLoading: false }, { name: 'setting', show: true } - ], - isShowArtifact: false + ] } }, From c1678f9528a12970a2b29cc9939909317ac2ffa7 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Fri, 20 Sep 2024 11:02:53 +0800 Subject: [PATCH 07/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2018879?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../devops-pipeline/src/components/ExecDetail/plugin.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue index 1a92b306337..182b5240cc9 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue @@ -190,7 +190,7 @@ }, properties: { handler (newValue) { - if (JSON.stringify(newValue) === JSON.stringify(['CONFIG', 'LOG', 'ARTIFACT'])) { + if (newValue.join('') === ['CONFIG', 'LOG', 'ARTIFACT'].join('')) { this.tabList = [ { name: 'setting', show: true }, { name: 'log', show: true }, From 4655f3a47d867fcbbb4fddc6bb4e20097e0181a4 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Wed, 23 Oct 2024 16:58:17 +0800 Subject: [PATCH 08/12] Merge branch 'master' of https://github.com/TencentBlueKing/bk-ci into issue_10808 # Reviewed, transaction id: 21647 From 660ae58809f1db91fc0ee9d567fb7a11d84458b0 Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Thu, 24 Oct 2024 10:57:48 +0800 Subject: [PATCH 09/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2021709?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue index 0a5e653d952..d9fb0b481d1 100755 --- a/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue +++ b/src/frontend/devops-pipeline/src/views/subpages/ExecDetail.vue @@ -132,7 +132,7 @@ @@ -257,6 +257,7 @@ return ['RUNNING', 'QUEUE'].includes(this.execDetail?.status) }, panels () { + console.log(this.execDetail, '------------------', this.curProject) return [ { name: 'executeDetail', From b13fe4d1038aa636ad578500b8544a2b96cb908e Mon Sep 17 00:00:00 2001 From: v_yjjiaoyu <1981190393@qq.com> Date: Thu, 24 Oct 2024 16:15:07 +0800 Subject: [PATCH 10/12] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=9E=84=E5=BB=BA?= =?UTF-8?q?=E8=AF=A6=E6=83=85=E7=9A=84=E6=9F=A5=E7=9C=8B=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B9=EF=BC=8C=E5=9C=A8=E6=9E=84=E5=BB=BA=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E7=95=8C=E9=9D=A2=E7=82=B9=E5=87=BB=E6=8F=92=E4=BB=B6=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=BB=98=E8=AE=A4=E8=BF=9B=E5=85=A5=E7=9A=84=E6=98=AF?= =?UTF-8?q?=20=E6=97=A5=E5=BF=97=20or=20=E9=85=8D=E7=BD=AE=20Tab=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E3=80=82=20#10808=20#=20Reviewed,=20transaction=20id:?= =?UTF-8?q?=2021752?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/ExecDetail/plugin.vue | 57 +++++++++---------- .../src/views/subpages/ExecDetail.vue | 1 - 2 files changed, 27 insertions(+), 31 deletions(-) diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue index 182b5240cc9..6d4cc2c1072 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/plugin.vue @@ -10,7 +10,7 @@ class="head-tab" slot="tab" > -