From 244f36842e803104a21635a703fb8e75383f7a89 Mon Sep 17 00:00:00 2001 From: joylink_cuiweidong <364937672@qq.com> Date: Wed, 15 Jun 2022 14:18:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=93=81=E9=A1=B9=E7=9B=AE=20ctc=20?= =?UTF-8?q?=E5=8F=91=E9=80=81=E9=A2=84=E5=91=8A=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jmapNew/theme/datie_02/menus/runplanPane.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue index c23b75da2..91da15661 100644 --- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue +++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue @@ -699,7 +699,7 @@ export default { }, // 发送发车预告 sendNotcie() { - if (this.currentRow) { + if (this.currentRow && this.currentRow.departRunPlan && this.currentRow.departRunPlan.adjacentMessage == 0) { this.loading = true; commitOperate(menuOperate.CTC.sendNotcie, {stationCode:this.currentRow.stationCode, runPlanCode: this.currentRow.code}, 2).then(({valid})=>{ this.loading = false; @@ -718,7 +718,7 @@ export default { }, // 同意发车预告 agreeNotcie() { - if (this.currentRow) { + if (this.currentRow && this.currentRow.arriveRunPlan && this.currentRow.arriveRunPlan.adjacentMessage == 1) { commitOperate(menuOperate.CTC.agreeNotcie, {stationCode:this.currentRow.stationCode, runPlanCode: this.currentRow.code}, 2).then(({valid})=>{ this.loading = false; this.clearRpRow(); @@ -1045,6 +1045,6 @@ export default { background-color: #6aa8ec; color: #fff; } -.passagerTrain{background:#f00} -.goodTrain{background:#00f} +.passagerTrain{background:#f00;width: 100%;height: 28px;} +.goodTrain{background:#00f;width: 100%;height: 28px;}