diff --git a/src/frontend/devops-pipeline/src/views/CreatePipeline.vue b/src/frontend/devops-pipeline/src/views/CreatePipeline.vue index 2481e6a4908..242f85f9cee 100644 --- a/src/frontend/devops-pipeline/src/views/CreatePipeline.vue +++ b/src/frontend/devops-pipeline/src/views/CreatePipeline.vue @@ -386,6 +386,11 @@ }, []) console.log(this.applySettings) } + }, + searchName (val) { + if (this.activePanel === 'store') { + this.requestMarkTemplates(true) + } } }, created () { @@ -436,7 +441,8 @@ const param = { page: this.page, pageSize: this.pageSize, - projectCode: this.$route.params.projectId + projectCode: this.$route.params.projectId, + keyword: this.searchName } this.requestStoreTemplate(param).then((res) => { this.page++ diff --git a/src/frontend/locale/pipeline/zh-CN.json b/src/frontend/locale/pipeline/zh-CN.json index 418e0cb6008..1d3724cd1c1 100644 --- a/src/frontend/locale/pipeline/zh-CN.json +++ b/src/frontend/locale/pipeline/zh-CN.json @@ -731,6 +731,7 @@ "name": "产出物名称", "filePath": "文件路径", "size": "文件大小", + "created": "创建时间", "lastModified": "最后修改时间", "pipelineErrorGuide": "流水线故障排查指南", "pipelineErrorType": "错误类型",