大铁项目 ctc 发送预告 代码调整
This commit is contained in:
parent
e697233c6c
commit
244f36842e
@ -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;}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user