|
@@ -333,7 +333,8 @@ import {
|
|
|
corpsbank,
|
|
|
corpsfiles,
|
|
|
corpsitem,
|
|
|
- getList
|
|
|
+ getList,
|
|
|
+ getDeptLazyTreeS
|
|
|
} from "@/api/basicData/configuration"
|
|
|
import customerContact from "./configuration/customerContact.json"
|
|
|
import advantageProject from "./configuration/advantageProject.json"
|
|
@@ -399,7 +400,8 @@ export default {
|
|
|
lazy: true,
|
|
|
treeLoad: function (node, resolve) {
|
|
|
const parentId = (node.level === 0) ? 0 : node.data.id;
|
|
|
- getDeptLazyTree(parentId).then(res => {
|
|
|
+ getDeptLazyTreeS(parentId).then(res => {
|
|
|
+ console.log(res.data.data)
|
|
|
resolve(res.data.data.map(item => {
|
|
|
return {
|
|
|
...item,
|