소스 검색

部门设置处更改部门强制刷新当前人员页面

cyy 1 년 전
부모
커밋
fd4426faea
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/views/platform/org/position/detail/position-employee.vue

+ 2 - 0
src/views/platform/org/position/detail/position-employee.vue

@@ -238,6 +238,7 @@ export default {
                 this.selectorVisible = false
                 ActionUtils.success('加入人员成功!')
                 this.search()
+                location.reload()
             })
             this.handleUpemployee('add', userIdsStr)
         },
@@ -248,6 +249,7 @@ export default {
             }).then(response => {
                 ActionUtils.removeSuccessMessage()
                 this.search()
+                location.reload()
             })
             this.handleUpemployee('remove', ids)
         },