Commit ab5d64f55444c0f26c2578400bf7a60bb2fd1a10

Authored by zhangdaihao
1 parent 0dd78d87

JeecgBoot V2.0版本发布,去掉同步流程功能

ant-design-jeecg-vue/src/views/system/UserList.vue
... ... @@ -65,7 +65,6 @@
65 65 <!-- 操作按钮区域 -->
66 66 <div class="table-operator" style="border-top: 5px">
67 67 <a-button @click="handleAdd" v-has="'user:add'" type="primary" icon="plus">添加用户</a-button>
68   - <a-button @click="handleSyncUser" type="primary" icon="plus">重新同步流程用户</a-button>
69 68 <a-button type="primary" icon="download" @click="handleExportXls('用户信息')">导出</a-button>
70 69 <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">
71 70 <a-button type="primary" icon="import">导入</a-button>
... ... @@ -345,16 +344,6 @@
345 344 this.$refs.sysUserAgentModal.agentSettings(username);
346 345 this.$refs.sysUserAgentModal.title = "用户代理人设置";
347 346 },
348   - handleSyncUser() {
349   - var that = this;
350   - putAction(that.url.syncUser, {}).then((res) => {
351   - if (res.success) {
352   - that.$message.success(res.message);
353   - } else {
354   - that.$message.warning(res.message);
355   - }
356   - })
357   - },
358 347 passwordModalOk() {
359 348 //TODO 密码修改完成 不需要刷新页面,可以把datasource中的数据更新一下
360 349 }
... ...
ant-design-jeecg-vue/src/views/system/modules/UserModal.vue
... ... @@ -346,8 +346,6 @@
346 346 if(res.success){
347 347 that.$message.success(res.message);
348 348 that.$emit('ok');
349   - //同步用户到工作流
350   - this.handleSyncUser(this.model.username);
351 349 }else{
352 350 that.$message.warning(res.message);
353 351 }
... ... @@ -389,8 +387,6 @@
389 387 if (res.success) {
390 388 that.$message.success(res.message);
391 389 that.$emit('ok');
392   - //同步用户到工作流
393   - this.handleSyncUser(this.model.username);
394 390 } else {
395 391 that.$message.warning(res.message);
396 392 }
... ... @@ -435,8 +431,6 @@
435 431 if(res.success){
436 432 that.$message.success(res.message);
437 433 that.$emit('ok');
438   - //同步用户到工作流
439   - this.handleSyncUser(this.model.username);
440 434 }else{
441 435 that.$message.warning(res.message);
442 436 }
... ... @@ -596,18 +590,6 @@
596 590 this.drawerWidth = 700;
597 591 }
598 592 },
599   - handleSyncUser(userName) {
600   - try{
601   - var that = this;
602   - putAction(that.url.syncUserByUserName, {userName:userName}).then((res) => {
603   - //if (res.success) {
604   - //that.$message.success(res.message);
605   - // } else {
606   - //that.$message.warning(res.message);
607   - //}
608   - })
609   - }catch (e){}
610   - },
611 593 }
612 594 }
613 595 </script>
... ...