大铁项目 ctc 行车日志 清除闪烁
This commit is contained in:
parent
5854fa5a60
commit
1984dc807c
@ -432,7 +432,7 @@
|
|||||||
<div class="eachRpMenu" @click="modifyAdjacentStation">修改相关邻站</div>
|
<div class="eachRpMenu" @click="modifyAdjacentStation">修改相关邻站</div>
|
||||||
<div class="eachRpMenu" @click="deleteRunplan">删除</div>
|
<div class="eachRpMenu" @click="deleteRunplan">删除</div>
|
||||||
<div class="eachRpSep" />
|
<div class="eachRpSep" />
|
||||||
<div class="eachRpMenu">清楚闪烁</div>
|
<div class="eachRpMenu" @click="clearFlash">清除闪烁</div>
|
||||||
<div class="eachRpMenu">全体信息</div>
|
<div class="eachRpMenu">全体信息</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -820,6 +820,24 @@ export default {
|
|||||||
this.rpMenuPopShow = false;
|
this.rpMenuPopShow = false;
|
||||||
this.$refs.deleteRunplan.doShow(this.currentRow);
|
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() {
|
sendNotcie() {
|
||||||
// && this.currentRow.departRunPlan && this.currentRow.departRunPlan.adjacentMessage == 0
|
// && this.currentRow.departRunPlan && this.currentRow.departRunPlan.adjacentMessage == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user