|
|
@@ -378,7 +378,7 @@ export default {
|
|
|
this.recommenderOptions = res.data;
|
|
|
});
|
|
|
this.$api.user
|
|
|
- .findListByDeptId({ deptId: this.formData.deptId, })
|
|
|
+ .findBackListByDeptId({ deptId: this.formData.deptId, })
|
|
|
.then((res) => {
|
|
|
this.leaderOptions = res.data;
|
|
|
});
|
|
|
@@ -440,7 +440,7 @@ export default {
|
|
|
this.recommenderOptions = res.data;
|
|
|
});
|
|
|
this.$api.user
|
|
|
- .findListByDeptId({ deptId: res.data.sysUser.deptId })
|
|
|
+ .findBackListByDeptId({ deptId: res.data.sysUser.deptId })
|
|
|
.then((res) => {
|
|
|
this.leaderOptions = res.data;
|
|
|
});
|
|
|
@@ -461,11 +461,10 @@ export default {
|
|
|
this.recommenderOptions = res.data;
|
|
|
});
|
|
|
this.$api.user
|
|
|
- .findListByDeptId({ deptId: this.formData.deptId })
|
|
|
+ .findBackListByDeptId({ deptId: this.deptId})
|
|
|
.then((res) => {
|
|
|
this.leaderOptions = res.data;
|
|
|
});
|
|
|
-
|
|
|
if (this.currentTreeNode == null) {
|
|
|
this.$message.info("请选择所属公司或部门");
|
|
|
return;
|