From f8b974cacb05d661c7b576ba844ba95c98b8e338 Mon Sep 17 00:00:00 2001 From: caoqianming Date: Thu, 1 Aug 2024 16:07:28 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20base=20wf=E8=8E=B7=E5=8F=96=E4=B8=8B?= =?UTF-8?q?=E6=8B=89=E9=80=89=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wf/state.vue | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/views/wf/state.vue b/src/views/wf/state.vue index 340e67d9..498bcb92 100644 --- a/src/views/wf/state.vue +++ b/src/views/wf/state.vue @@ -524,6 +524,10 @@ export default { mounted() { this.id = sessionStorage.getItem("jinYuWorkflowId"); this.getList(); + this.getUsers(); + this.getRole(); + this.getPost(); + this.getField(); }, methods: { //添加字段选项 @@ -557,13 +561,13 @@ export default { handleAdd() { this.type = "add"; this.dialogVisible = true; - if(this.dialogInitNum === 0){ - this.getUsers(); - this.getRole(); - this.getPost(); - this.getField(); - this.dialogInitNum++; - } + // if(this.dialogInitNum === 0){ + // this.getUsers(); + // this.getRole(); + // this.getPost(); + // this.getField(); + // this.dialogInitNum++; + // } }, async submitHandle() { let that = this;