diff --git a/src/jmapNew/theme/datie_02/menus/runplanPane.vue b/src/jmapNew/theme/datie_02/menus/runplanPane.vue index 1f0b74d8f..746724b78 100644 --- a/src/jmapNew/theme/datie_02/menus/runplanPane.vue +++ b/src/jmapNew/theme/datie_02/menus/runplanPane.vue @@ -432,7 +432,7 @@
修改相关邻站
删除
-
清楚闪烁
+
清除闪烁
全体信息
@@ -820,6 +820,24 @@ export default { this.rpMenuPopShow = false; this.$refs.deleteRunplan.doShow(this.currentRow); }, + // 清除闪烁 + clearFlash() { + if (this.currentRow && this.currentRow.twinkle) { + event.stopPropagation(); + this.rpMenuPopShow = false; + commitOperate(menuOperate.CTC.stationCancleTwinkle, {stationCode:this.currentRow.stationCode, runPlanCode: this.currentRow.code}, 3).then(({valid})=>{ + this.loading = false; + this.clearRpRow(); + if (valid) { + // this.doClose(); + } + }).catch(() => { + this.loading = false; + this.clearRpRow(); + this.noticeInfo(); + }); + } + }, // 发送发车预告 sendNotcie() { // && this.currentRow.departRunPlan && this.currentRow.departRunPlan.adjacentMessage == 0