From 2212ee1bac46f60eac7148625e624ded4ecc9dd4 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Tue, 7 Mar 2023 21:50:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E9=83=A8=E9=85=8D=E7=BD=AE=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activiti/ProcessUserModelList.vue | 46 +++++++++++++++++---- 1 file changed, 37 insertions(+), 9 deletions(-) diff --git a/src/views/activiti/ProcessUserModelList.vue b/src/views/activiti/ProcessUserModelList.vue index 643c3a5..2dc4a25 100644 --- a/src/views/activiti/ProcessUserModelList.vue +++ b/src/views/activiti/ProcessUserModelList.vue @@ -74,7 +74,7 @@
- 审批人员 + 审批人员
") @@ -571,18 +600,16 @@ }, /*节点设置*/ - getNodeData(row){ - let is_project = sessionStorage.getItem('IS_PROJECT') - let projcet= JSON.parse(is_project) - if (!projcet.departId){ - this.$message.error("无权限"); + getNodeData(row,departCode){ + if (!departCode){ + this.$message.error("项目部不能为空"); return; } let _this = this; _this.updateRow = row; _this.postFormAction(_this.url.getProcessNodeByDepart,{ id:row.id, - departId:projcet.departId + departId:departCode }).then(res => { if (res.success) { // 转换null为"" @@ -632,6 +659,7 @@ _this.$message.success("操作成功"); _this.loadData(); _this.editObj.visible = false; + _this.showDepartCode=false; }else { _this.$message.error(res.message); } From fa39c679b09165db3e9e08ce56ad279e206be497 Mon Sep 17 00:00:00 2001 From: long <18782126717@163.com> Date: Wed, 8 Mar 2023 08:58:47 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E9=83=A8=E6=B5=81?= =?UTF-8?q?=E7=A8=8B=E9=85=8D=E7=BD=AE=E5=A2=9E=E5=8A=A0=E9=83=A8=E9=97=A8?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/activiti/ProcessUserModelList.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/views/activiti/ProcessUserModelList.vue b/src/views/activiti/ProcessUserModelList.vue index 2dc4a25..51a2b41 100644 --- a/src/views/activiti/ProcessUserModelList.vue +++ b/src/views/activiti/ProcessUserModelList.vue @@ -237,16 +237,16 @@ :footer="null" @cancel="showDepartCode=false" > - + + + 确定 + - - - 确定 - + >