From f1aa19a9bbe6959b8af3a59307b33a03abe4218e Mon Sep 17 00:00:00 2001 From: zhangdaihao Date: Mon, 20 May 2019 12:52:28 +0800 Subject: [PATCH] =?UTF-8?q?JeecgBoot=20V2.0=E7=89=88=E6=9C=AC=E5=8F=91?= =?UTF-8?q?=E5=B8=83|=20=E8=A7=A3=E5=86=B3=E7=94=A8=E6=88=B7=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=E8=B5=84=E6=BA=90=E6=89=BE=E4=B8=8D=E5=88=B0=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/system/UserList.vue | 11 ----------- .../src/views/system/modules/UserModal.vue | 18 ------------------ 2 files changed, 29 deletions(-) diff --git a/ant-design-jeecg-vue/src/views/system/UserList.vue b/ant-design-jeecg-vue/src/views/system/UserList.vue index 9186b17f..98408ff7 100644 --- a/ant-design-jeecg-vue/src/views/system/UserList.vue +++ b/ant-design-jeecg-vue/src/views/system/UserList.vue @@ -65,7 +65,6 @@
添加用户 - 重新同步流程用户 导出 导入 @@ -345,16 +344,6 @@ this.$refs.sysUserAgentModal.agentSettings(username); this.$refs.sysUserAgentModal.title = "用户代理人设置"; }, - handleSyncUser() { - var that = this; - putAction(that.url.syncUser, {}).then((res) => { - if (res.success) { - that.$message.success(res.message); - } else { - that.$message.warning(res.message); - } - }) - }, passwordModalOk() { //TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下 } diff --git a/ant-design-jeecg-vue/src/views/system/modules/UserModal.vue b/ant-design-jeecg-vue/src/views/system/modules/UserModal.vue index c44996a9..f8c76f02 100644 --- a/ant-design-jeecg-vue/src/views/system/modules/UserModal.vue +++ b/ant-design-jeecg-vue/src/views/system/modules/UserModal.vue @@ -346,8 +346,6 @@ if(res.success){ that.$message.success(res.message); that.$emit('ok'); - //同步用户到工作流 - this.handleSyncUser(this.model.username); }else{ that.$message.warning(res.message); } @@ -389,8 +387,6 @@ if (res.success) { that.$message.success(res.message); that.$emit('ok'); - //同步用户到工作流 - this.handleSyncUser(this.model.username); } else { that.$message.warning(res.message); } @@ -435,8 +431,6 @@ if(res.success){ that.$message.success(res.message); that.$emit('ok'); - //同步用户到工作流 - this.handleSyncUser(this.model.username); }else{ that.$message.warning(res.message); } @@ -596,18 +590,6 @@ this.drawerWidth = 700; } }, - handleSyncUser(userName) { - try{ - var that = this; - putAction(that.url.syncUserByUserName, {userName:userName}).then((res) => { - //if (res.success) { - //that.$message.success(res.message); - // } else { - //that.$message.warning(res.message); - //} - }) - }catch (e){} - }, } } -- GitLab