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