From 10caa41225dc99fb38ef1cc3a58c8dd20a90f3dc Mon Sep 17 00:00:00 2001 From: yaojn Date: Mon, 18 Aug 2025 10:15:14 +0800 Subject: [PATCH] =?UTF-8?q?-=20[=E4=BF=AE=E5=A4=8D]=E9=9B=86=E6=88=90?= =?UTF-8?q?=E4=B8=8E=E5=8F=91=E5=B8=83-=E6=90=9C=E7=B4=A2=E5=90=8E?= =?UTF-8?q?=E7=BF=BB=E9=A1=B5=EF=BC=8C=E6=90=9C=E7=B4=A2=E6=9D=A1=E4=BB=B6?= =?UTF-8?q?=E5=A4=B1=E6=95=88=20=20=20=20-=20[=E5=85=B3=E8=81=94]#[1488496?= =?UTF-8?q?039002112]=E9=9B=86=E6=88=90=E4=B8=8E=E5=8F=91=E5=B8=83-?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=90=8E=E7=BF=BB=E9=A1=B5=EF=BC=8C=E6=90=9C?= =?UTF-8?q?=E7=B4=A2=E6=9D=A1=E4=BB=B6=E5=A4=B1=E6=95=88=20http://192.168.?= =?UTF-8?q?0.96:8090/demo/rdm.html#/bug-detail/939050947543040/93905094754?= =?UTF-8?q?3057/1488496039002112?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/deploy/job/publishing/deploy-pipeline-table.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/pages/deploy/job/publishing/deploy-pipeline-table.vue b/src/views/pages/deploy/job/publishing/deploy-pipeline-table.vue index d2b69fa4..1a040654 100644 --- a/src/views/pages/deploy/job/publishing/deploy-pipeline-table.vue +++ b/src/views/pages/deploy/job/publishing/deploy-pipeline-table.vue @@ -164,7 +164,7 @@ export default { }, beforeCreate() {}, created() { - this.searchJob(1, this.defaultSearchValue); + this.searchJob(1); }, beforeMount() {}, mounted() {}, @@ -177,13 +177,13 @@ export default { }, destroyed() {}, methods: { - searchJob(currentPage, searchValue) { + searchJob(currentPage) { this.clearTimmer(); this.isLoading = true; if (currentPage) { this.searchParam.currentPage = currentPage; } - const param = { ...this.searchParam, ...searchValue || {} }; + const param = { ...this.searchParam, ...(this.defaultSearchValue || {}) }; if (this.$utils.isSame(this.searchParam, this.defaultSearchParam)) { this.$emit('updateParam', 'searchParam', this.searchParam); } @@ -196,7 +196,7 @@ export default { this.jobData.tbodyList.forEach(element => { if (element.source === 'batchdeploy' || element.source === 'deployschedulepipeline') { this.$set(element, '#expander', true); - if (searchValue && searchValue.keyword) { //keyword搜索时,匹配到的父作业也需要将子作业展开 + if (this.defaultSearchValue && this.defaultSearchValue.keyword) { //keyword搜索时,匹配到的父作业也需要将子作业展开 this.toggleChildJob(element); } } else { -- Gitee