| | |
| | | <div class="graphicBox" v-show="showEcharts"> |
| | | <div class="konwReturn fl"> |
| | | <el-link @click="showEcharts = false"> |
| | | <i class="el-icon-d-arrow-left"></i> |
| | | <i style="color: #409EFF;" class="el-icon-d-arrow-left"></i> |
| | | </el-link> |
| | | 当前领域:{{ targetName }} |
| | | </div> |
| | |
| | | getGraphicNodes(res, lines, obj) { |
| | | const std = []; |
| | | const ids = []; |
| | | |
| | | |
| | | lines.filter(item => { |
| | | |
| | | |
| | | if (ids.indexOf(item.sourceId) < 0) { |
| | | ids.push(item.sourceId) |
| | | } |
| | |
| | | if (item.poi && item.poi == 1) { |
| | | poi = true; |
| | | } |
| | | |
| | | |
| | | const expand = ids.indexOf(item.uuid) > -1 ? false : true |
| | | if (!expand) { |
| | | |
| | |
| | | graphInstance.doLayout(); |
| | | }); |
| | | |
| | | }, 1000); |
| | | }, 200); |
| | | |
| | | |
| | | setTimeout(() => { |
| | |
| | | .graphicBox { |
| | | width: 100%; |
| | | height: 100%; |
| | | position: relative; |
| | | display: flex; |
| | | flex-direction: column; |
| | | color: #409EFF; |
| | | |
| | | .graphicContent { |
| | | padding: 10px; |
| | | flex: 1; |
| | | |
| | | |
| | | } |
| | | } |
| | | } |