|
@ -150,7 +150,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
getOptions () { |
|
|
getOptions () { |
|
|
this.$http |
|
|
this.$http |
|
|
.get(`/sys/user/deptOptions/getDeptAuthByUser`) |
|
|
.get(`/sys/user/deptOptions/getByLoginUser`) |
|
|
.then(({ data: res }) => { |
|
|
.then(({ data: res }) => { |
|
|
if (res.code !== 0) { |
|
|
if (res.code !== 0) { |
|
|
return this.$message.error(res.msg) |
|
|
return this.$message.error(res.msg) |
|
|