diff --git a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue index c48158901..e4f136d86 100644 --- a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue +++ b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue @@ -765,7 +765,8 @@ type: 'view' }, query: { - template_id: this.formData.template_id + template_id: this.formData.template_id, + common: this.isCommon ? 1 : undefined } }) window.open(href, '_blank') diff --git a/frontend/desktop/src/pages/task/TaskCreate/TaskSelectNode.vue b/frontend/desktop/src/pages/task/TaskCreate/TaskSelectNode.vue index e6124ce43..1188019f3 100644 --- a/frontend/desktop/src/pages/task/TaskCreate/TaskSelectNode.vue +++ b/frontend/desktop/src/pages/task/TaskCreate/TaskSelectNode.vue @@ -45,7 +45,7 @@ :project_id="project_id" :template_id="template_id" :template-name="templateName" - :is-scheme-show="true" + :is-scheme-show="isSchemeShow" :view-mode="viewMode" :is-scheme-editable="viewMode !== 'appmaker'" :is-preview-mode="isPreviewMode" diff --git a/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedTplSlider.vue b/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedTplSlider.vue index 97c5221b7..cf3f6d5f6 100644 --- a/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedTplSlider.vue +++ b/frontend/desktop/src/pages/template/TemplateList/SharedTemplate/SharedTplSlider.vue @@ -185,7 +185,8 @@ computed: { ...mapState({ 'infoBasicConfig': state => state.infoBasicConfig, - 'username': state => state.username + 'username': state => state.username, + 'projectName': state => state.project.projectName }) }, watch: { @@ -284,6 +285,7 @@ const params = { ...this.formData, project_code: this.project_id, + project_name: this.projectName, creator: this.username }