From 05ff67f546aca6ed2e6a86beb0a820b7fdefb0ff Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Thu, 11 Mar 2021 15:00:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=97=E4=BA=AC=E4=BA=8C=E5=8F=B7=E7=BA=BF?= =?UTF-8?q?=20=E5=B2=94=E5=BF=83=20=E9=80=9A=E4=BF=A1=E8=BD=A6=E5=8D=A0?= =?UTF-8?q?=E7=94=A8=E7=8A=B6=E6=80=81/=E9=9D=9E=E9=80=9A=E4=BF=A1?= =?UTF-8?q?=E8=BD=A6=E5=8D=A0=E7=94=A8=E7=8A=B6=E6=80=81=20=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/shape/Section/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/jmapNew/shape/Section/index.js b/src/jmapNew/shape/Section/index.js index debe670de..90aa9ed74 100644 --- a/src/jmapNew/shape/Section/index.js +++ b/src/jmapNew/shape/Section/index.js @@ -151,6 +151,10 @@ export default class Section extends Group { stroke: this.style.Section.line.communicationOccupiedColor, fill:this.style.Section.line.communicationOccupiedColor }); + + if (this.model.parentCode && this.model.type == '01') { + this.line.setCrossRouteLock(); + } } /** 非通信车占用状态 03*/ @@ -172,6 +176,10 @@ export default class Section extends Group { if (this.name && this.style.Section.name.occupyColor) { this.name.setStyle({ textFill: this.style.Section.name.occupyColor }); } + + if (this.model.parentCode && this.model.type == '01') { + this.line.setCrossRouteLock(); + } } /** ARB故障 */ invalid() {