|
@@ -717,7 +717,8 @@ export default {
|
|
|
}
|
|
|
// 开启 “加载中” 动画
|
|
|
if(node.level == 0) this.loading=true
|
|
|
- if(this.globaltype===1&&!this.elementType){
|
|
|
+ // if(this.globaltype===1&&!this.elementType){
|
|
|
+ if(this.globaltype===0&&!this.elementType){
|
|
|
tabTypeLazyTreeAll({parentId,current:1,size:1000}).then(res => {
|
|
|
// 请求接口,返回数据
|
|
|
let data = res.data.data.records;
|
|
@@ -751,7 +752,10 @@ export default {
|
|
|
|
|
|
})
|
|
|
})
|
|
|
- }else if(this.globaltype===1&&this.elementType){
|
|
|
+ }
|
|
|
+ // else if(this.globaltype===1&&this.elementType)
|
|
|
+ else if(this.globaltype===0&&this.elementType)
|
|
|
+ {
|
|
|
tabTypeLazyTree({parentId,projectId:this.projectid,pcurrent:1,size:1000}).then(res => {
|
|
|
// 请求接口,返回数据
|
|
|
let data = res.data.data.records;
|