|
@@ -145,7 +145,7 @@ export default {
|
|
|
.catch(() => {});
|
|
|
},
|
|
|
getCompany(type) {
|
|
|
- this.$http.postForm('/sc-user-center/org/getOrgUserTree', { orgType: type }).then(({ status, data, msg }) => {
|
|
|
+ this.$http.postForm('/sc-user-center/org/getOrgTree', { orgType: type }).then(({ status, data, msg }) => {
|
|
|
if (status === 0 && data) {
|
|
|
if (type == 'company') {
|
|
|
this.$store.commit('setCompanyArray', data);
|