diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue index 3f8aa1f8..0a00787e 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue @@ -90,7 +90,7 @@ export default { this.debug(); }, 200); } - + }); }, methods: { @@ -129,7 +129,7 @@ export default { debug() { const nodes = _.cloneDeep(this._graph.getNodes()).filter(x => x.id.length < 11); this._graph.dispose(); - // + // setTimeout(() => { this.mapInit(); @@ -220,7 +220,7 @@ export default { } } }, - { + /*{ type: "text", label: "项目起点", x: 270, @@ -279,7 +279,7 @@ export default { fill: "#ddc85a", } } - }, + },*/ ], }; const graph = new Graph({ @@ -318,7 +318,7 @@ export default { const { shape, nowBg, src, length } = data; const { height, width } = node.prop().size; const div = document.createElement('div') - + let marginHeight = (data.extData.direction === '3'?height*-.3:height*2.2) if(data.length && data.extNode.length > 1){ let d1 = data.extNode.filter(x=>x.extData.direction === '1') @@ -372,7 +372,7 @@ export default { }) window.graphInstance = graph; - + // 底图文字 graph.addNodes(baseData.nodes); @@ -407,7 +407,7 @@ export default { }, async drayLine(text, graph, isFoot = false) { let x = this.translateX + 141; - + const ipxDiff = window.screen.width === 3840?135:0; x = x+ipxDiff if (isFoot) { diff --git a/ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue b/ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue index 7d2f2f86..84620f62 100644 --- a/ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue +++ b/ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue @@ -75,6 +75,8 @@ export default { { id:'3', label:'事件时间分析'}, { id:'4', label:'事件地市分布'}, { id:'5', label:'交通管制情况统计'}, + { id:'14', label:'拥堵地点统计'}, + { id:'15', label:'拥堵事件处置统计'}, ] },{ id:'b', @@ -99,14 +101,13 @@ export default { { id:'12', label:'事故地市分布'}, { id:'13', label:'事故路段分布'}, ] - },{ + },/*{ id:'e', label:'拥堵情况', children:[ - { id:'14', label:'拥堵地点统计'}, - { id:'15', label:'路段平均拥堵时长'}, + ] - } + }*/ ], tableData:[], menuNodeAll: false,