CN-1087 fix: 增加拓展深度和数量的提示语
This commit is contained in:
@@ -665,7 +665,7 @@ export default {
|
|||||||
_this.rightBox.loading = false
|
_this.rightBox.loading = false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO 提示大于5层
|
this.$message.warning(this.$t('tip.maxExpandDepth'))
|
||||||
}
|
}
|
||||||
_this.addItems(nodes, edges)
|
_this.addItems(nodes, edges)
|
||||||
_this.cleanTempNodesAndTempEdges()
|
_this.cleanTempNodesAndTempEdges()
|
||||||
@@ -783,7 +783,6 @@ export default {
|
|||||||
return info.length
|
return info.length
|
||||||
},
|
},
|
||||||
onCloseBlock () {
|
onCloseBlock () {
|
||||||
// todo 关闭右侧graph面板
|
|
||||||
this.rightBox.mode = ''
|
this.rightBox.mode = ''
|
||||||
this.rightBox.show = false
|
this.rightBox.show = false
|
||||||
},
|
},
|
||||||
@@ -966,7 +965,7 @@ export default {
|
|||||||
this.rightBox.loading = false
|
this.rightBox.loading = false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO 提示超过50
|
this.$message.warning(this.$t('tip.maxExpandCount'))
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async expandDetailList (nodeId, expandType) {
|
async expandDetailList (nodeId, expandType) {
|
||||||
@@ -1021,7 +1020,7 @@ export default {
|
|||||||
this.rightBox.loading = false
|
this.rightBox.loading = false
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// TODO 提示超过50
|
this.$message.warning(this.$t('tip.maxExpandCount'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -27,7 +27,7 @@
|
|||||||
<div class="digital-certificate-header padding-b-16">
|
<div class="digital-certificate-header padding-b-16">
|
||||||
<div class="digital-certificate-header__icon graph-header__icon"></div>
|
<div class="digital-certificate-header__icon graph-header__icon"></div>
|
||||||
<div class="graph-list-content-header ">
|
<div class="graph-list-content-header ">
|
||||||
{{ $t('entity.graph.expandedEntityCount') }}:
|
{{ $t('entity.graph.expandedEntityCount') }}: 
|
||||||
<span>{{$_.get(node, 'sourceNode.myData.relatedEntity.' + $_.get(node, 'myData.entityType') + '.list', []).length}}</span>
|
<span>{{$_.get(node, 'sourceNode.myData.relatedEntity.' + $_.get(node, 'myData.entityType') + '.list', []).length}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user