diff --git a/src/components/GridTree/nodeWrap.vue b/src/components/GridTree/nodeWrap.vue index 1a9bd0da6..c22d450d1 100644 --- a/src/components/GridTree/nodeWrap.vue +++ b/src/components/GridTree/nodeWrap.vue @@ -17,7 +17,7 @@
-
+
{{ spliceNameFun(item.organizationName, 8) }}
{{ spliceNameFun(item.name, 12) }}
@@ -57,6 +57,7 @@ export default { data() { return { homeTypeArr: [], + sixLevelArr: ["province", "city", "district", "street", "community", "grid_manager"], }; }, mounted() {}, @@ -74,6 +75,10 @@ export default { return row; }, + getOnerSixLevelFlag(item) { + return this.sixLevelArr.includes(item.level); + }, + findParentParentId(nodeConfig, pid) { let parentParentId = ""; if (nodeConfig.id === pid) {