From 8974da5122b0feb05a69873324d5019ffab98d6b Mon Sep 17 00:00:00 2001 From: v_xugzhou <941071842@qq.com> Date: Mon, 6 Jan 2025 10:11:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=91=A8=E6=9C=9F=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=9D=83=E9=99=90=E5=88=A4=E6=96=ADjs=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D=20=20--story=3D136521403?= =?UTF-8?q?=20#=20Reviewed,=20transaction=20id:=2028481?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/pages/task/PeriodicList/ModifyPeriodicDialog.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue index 400652815..c48158901 100644 --- a/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue +++ b/frontend/desktop/src/pages/task/PeriodicList/ModifyPeriodicDialog.vue @@ -308,7 +308,7 @@ selectedNodes: [], notifyType: [[]], receiverGroup: [], - hasNoCreatePerm: true, + hasNoCreatePerm: false, saveLoading: false, periodicRule: { required: true, @@ -581,14 +581,14 @@ this.initFormData = tools.deepClone(this.formData) } }, - onSelectTemplate (id) { + async onSelectTemplate (id) { // 清除表单错误提示 this.$refs.basicConfigForm.clearError() // 自动填充任务名称 const templateInfo = this.templateList.find(item => item.id === id) this.formData.name = templateInfo ? templateInfo.name + '_' + i18n.t('周期执行') : '' this.formData.schemeId = [] - this.getTemplateDate(id) + await this.getTemplateDate(id) this.queryCreatePeriodicTaskPerm(id) }, async getTemplateScheme () {