|
|
@@ -388,7 +388,7 @@ export default {
|
|
|
}
|
|
|
console.log(nodeData);
|
|
|
if (this.activeLeftTab === 'overview') { // 总览
|
|
|
- this.showCrossingDetailDialogs(nodeData);
|
|
|
+ this.showCrossingDalogs(nodeData);
|
|
|
} else if (this.activeLeftTab === 'crossing') { // 路口
|
|
|
this.showCrossingDalogs(nodeData);
|
|
|
} else if (this.activeLeftTab === 'trunkLine') { // 干线
|
|
|
@@ -523,7 +523,9 @@ export default {
|
|
|
// 处理弹窗双击展开(通过 onExpand 回调从 Layout 传入)
|
|
|
handleDoubleClickExpend(nodeData) {
|
|
|
console.log('处理弹窗双击事件', nodeData);
|
|
|
- if (this.activeLeftTab === 'crossing' || this.activeLeftTab === 'overview') {
|
|
|
+ if (this.activeLeftTab === 'overview') {
|
|
|
+ this.showCrossingDalogs(nodeData);
|
|
|
+ } else if (this.activeLeftTab === 'crossing') {
|
|
|
this.showCrossingDetailDialogs(nodeData);
|
|
|
}
|
|
|
},
|
|
|
@@ -777,8 +779,8 @@ export default {
|
|
|
|
|
|
if (action === 'open-dialog') {
|
|
|
this.$nextTick(() => {
|
|
|
- // 只传真实路口 id:标题/数据都由 showCrossingDetailDialogs 按 id 查接口返回的真实路口名
|
|
|
- this.showCrossingDetailDialogs({
|
|
|
+ // 只传真实路口 id:标题/数据都由 showCrossingDalogs 按 id 查接口返回的真实路口名
|
|
|
+ this.showCrossingDalogs({
|
|
|
id: id || ('route_' + new Date().getTime()),
|
|
|
});
|
|
|
});
|