diff --git a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue
index 1afa57db5..fbdbe7efd 100644
--- a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue
+++ b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue
@@ -477,7 +477,9 @@
pipeline_template__name__icontains: this.flowName || undefined,
common: this.isCommon
}
- const templateListData = await this.loadTemplateList(params)
+ const templateListData = this.isCommon
+ ? await this.loadCommonTemplateList(params)
+ : await this.loadTemplateList(params)
if (add) {
this.templateList.push(...templateListData.results)
} else { // 搜索
@@ -540,9 +542,7 @@
try {
this.templateDataLoading = true
const params = { templateId: id, common: this.isCommon }
- const templateData = this.isCommon
- ? await this.loadCommonTemplateList(params)
- : await this.loadTemplateData(params)
+ const templateData = await this.loadTemplateData(params)
// 获取流程模板的通知配置
const { notify_receivers, notify_type } = templateData
this.notifyType = [notify_type.success.slice(0), notify_type.fail.slice(0)]
diff --git a/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedCategorySelect.vue b/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedCategorySelect.vue
new file mode 100644
index 000000000..a2e13b0d9
--- /dev/null
+++ b/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedCategorySelect.vue
@@ -0,0 +1,145 @@
+
+ {{ $t('搜索结果为空') }}