Compare commits

...

2 Commits

Author SHA1 Message Date
lau572 100010879c 样式调整 1 week ago
lau572 f8f87af149 websocket地址错误 2 weeks ago
  1. 4
      ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue
  2. 9
      ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue
  3. 2
      ruoyi-ui/src/views/websocket.vue

4
ruoyi-ui/src/views/JiHeExpressway/pages/Home/components/Thumbnail/index.vue

@ -220,7 +220,7 @@ export default {
} }
} }
}, },
{ /*{
type: "text", type: "text",
label: "项目起点", label: "项目起点",
x: 270, x: 270,
@ -279,7 +279,7 @@ export default {
fill: "#ddc85a", fill: "#ddc85a",
} }
} }
}, },*/
], ],
}; };
const graph = new Graph({ const graph = new Graph({

9
ruoyi-ui/src/views/JiHeExpressway/pages/service/analysis/index.vue

@ -75,6 +75,8 @@ export default {
{ id:'3', label:'事件时间分析'}, { id:'3', label:'事件时间分析'},
{ id:'4', label:'事件地市分布'}, { id:'4', label:'事件地市分布'},
{ id:'5', label:'交通管制情况统计'}, { id:'5', label:'交通管制情况统计'},
{ id:'14', label:'拥堵地点统计'},
{ id:'15', label:'拥堵事件处置统计'},
] ]
},{ },{
id:'b', id:'b',
@ -99,14 +101,13 @@ export default {
{ id:'12', label:'事故地市分布'}, { id:'12', label:'事故地市分布'},
{ id:'13', label:'事故路段分布'}, { id:'13', label:'事故路段分布'},
] ]
},{ },/*{
id:'e', id:'e',
label:'拥堵情况', label:'拥堵情况',
children:[ children:[
{ id:'14', label:'拥堵地点统计'},
{ id:'15', label:'路段平均拥堵时长'},
] ]
} }*/
], ],
tableData:[], tableData:[],
menuNodeAll: false, menuNodeAll: false,

2
ruoyi-ui/src/views/websocket.vue

@ -31,7 +31,7 @@ export default {
// websocket // websocket
this.socket.initialize({ this.socket.initialize({
// url: 'ws://' + location.hostname + ':' + port + path, // url: 'ws://' + location.hostname + ':' + port + path,
url: 'wss://' + locatoin.hostname + ':' + window.location.port + '/ws' || 80 + '/ws', url: 'wss://' + location.hostname + ':' + window.location.port + '/ws' || 80 + '/ws',
// url: "ws://10.168.66.196:7789" + path, // url: "ws://10.168.66.196:7789" + path,
// url: 'ws://10.168.77.128:7789/ws', // url: 'ws://10.168.77.128:7789/ws',
// url: "ws://10.7.179.15" + ":" + port + path, // url: "ws://10.7.179.15" + ":" + port + path,

Loading…
Cancel
Save