|
@@ -403,7 +403,7 @@ export default {
|
|
|
this.sceneData = jsonData.data;
|
|
this.sceneData = jsonData.data;
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
- companyInfoApi.list().then(function (response) {
|
|
|
|
|
|
|
+ companyInfoApi.treeList().then(function (response) {
|
|
|
var jsonData = response.data;
|
|
var jsonData = response.data;
|
|
|
if (jsonData.result) {
|
|
if (jsonData.result) {
|
|
|
self.companyResult = jsonData.data;
|
|
self.companyResult = jsonData.data;
|
|
@@ -425,9 +425,7 @@ export default {
|
|
|
this.queryModel.parentId = value;
|
|
this.queryModel.parentId = value;
|
|
|
},
|
|
},
|
|
|
loadTree() {
|
|
loadTree() {
|
|
|
- var formData = new FormData();
|
|
|
|
|
-
|
|
|
|
|
- companyInfoApi.loadChildren(formData).then((resp) => {
|
|
|
|
|
|
|
+ companyInfoApi.treeList().then((resp) => {
|
|
|
var jsonData = resp.data;
|
|
var jsonData = resp.data;
|
|
|
|
|
|
|
|
if (jsonData.result) {
|
|
if (jsonData.result) {
|