北京一号线 宁波一号线 步骤操作调整
This commit is contained in:
parent
72f121b7a5
commit
08dc9befc4
@ -187,25 +187,33 @@ export default {
|
|||||||
},
|
},
|
||||||
// 切除
|
// 切除
|
||||||
split() {
|
split() {
|
||||||
commitOperate(menuOperate.Section.split, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.split, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
alxeEffective() {
|
alxeEffective() {
|
||||||
commitOperate(menuOperate.Section.alxeEffective, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.alxeEffective, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.alxeEffective.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.alxeEffective.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 激活
|
// 激活
|
||||||
active() {
|
active() {
|
||||||
commitOperate(menuOperate.Section.active, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.active, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段计轴预复位
|
// 区段计轴预复位
|
||||||
axlePreReset(selectType) {
|
axlePreReset(selectType) {
|
||||||
commitOperate(menuOperate.Section.axlePreReset, {sectionCode:selectType.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.axlePreReset, {sectionCode:selectType.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, selectType);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, selectType);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段计轴预复位
|
// 区段计轴预复位
|
||||||
@ -216,8 +224,10 @@ export default {
|
|||||||
// },
|
// },
|
||||||
// 设置速度
|
// 设置速度
|
||||||
setSpeed() {
|
setSpeed() {
|
||||||
commitOperate(menuOperate.Section.setSpeed, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.setSpeed, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.speedLimitControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.speedLimitControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -332,94 +332,109 @@ export default {
|
|||||||
},
|
},
|
||||||
// 设置进路
|
// 设置进路
|
||||||
arrangementRoute() {
|
arrangementRoute() {
|
||||||
commitOperate(menuOperate.Signal.arrangementRoute, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.arrangementRoute, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeSelection.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeSelection.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地设置进路
|
// 现地设置进路
|
||||||
setRoute(route) {
|
setRoute(route) {
|
||||||
commitOperate(menuOperate.Signal.arrangementRoute, {routeCode:route.code}, [], 3).then((data)=>{
|
commitOperate(menuOperate.Signal.arrangementRoute, {routeCode:route.code}, [], 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消进路
|
// 取消进路
|
||||||
cancelTrainRoute() {
|
cancelTrainRoute() {
|
||||||
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地取消进路
|
// 现地取消进路
|
||||||
cancelTrainRouteByLow(selectType) {
|
cancelTrainRouteByLow(selectType) {
|
||||||
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地总人解
|
// 现地总人解
|
||||||
humanTrainRoute(selectType) {
|
humanTrainRoute(selectType) {
|
||||||
commitOperate(menuOperate.Signal.humanTrainRoute, {signalCode:selectType.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.humanTrainRoute, {signalCode:selectType.code}, 0).then(({valid, operate})=>{
|
||||||
data.operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE;
|
if (valid) {
|
||||||
this.$refs.password.doShow(data.operate);
|
operate.cmdType = CMD.Signal.CMD_SIGNAL_HUMAN_RELEASE_ROUTE;
|
||||||
|
this.$refs.password.doShow(operate);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地信号重开操作
|
// 现地信号重开操作
|
||||||
reopenSignalByRoute(selectType) {
|
reopenSignalByRoute(selectType) {
|
||||||
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
// 信号重开
|
// 信号重开
|
||||||
reopenSignal() {
|
reopenSignal() {
|
||||||
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 信号关灯
|
// 信号关灯
|
||||||
signalClose() {
|
signalClose() {
|
||||||
commitOperate(menuOperate.Signal.signalClose, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.signalClose, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地信号关灯
|
// 现地信号关灯
|
||||||
signalCloseByLow(selectType) {
|
signalCloseByLow(selectType) {
|
||||||
commitOperate(menuOperate.Signal.signalClose, {signalCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Signal.signalClose, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 进路交人工控
|
// 进路交人工控
|
||||||
humanControl() {
|
humanControl() {
|
||||||
commitOperate(menuOperate.Signal.humanControl, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.humanControl, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeHandControl.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeHandControl.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 进路交自动控
|
// 进路交自动控
|
||||||
atsAutoControl() {
|
atsAutoControl() {
|
||||||
commitOperate(menuOperate.Signal.atsAutoControl, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.atsAutoControl, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeHandControl.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeHandControl.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置通过模式
|
// 设置通过模式
|
||||||
singalPassModel(selectType) {
|
singalPassModel(selectType) {
|
||||||
commitOperate(menuOperate.Signal.setAutoInterlock, {signalCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Signal.setAutoInterlock, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消通过模式
|
// 取消通过模式
|
||||||
singalCancelPassModel(selectType) {
|
singalCancelPassModel(selectType) {
|
||||||
commitOperate(menuOperate.Signal.cancelAutoInterlock, {signalCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelAutoInterlock, {signalCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 查询进路状态
|
// 查询进路状态
|
||||||
detail() {
|
detail() {
|
||||||
commitOperate(menuOperate.Signal.detail, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.detail, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeDetail.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeDetail.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 获取进路列表
|
// 获取进路列表
|
||||||
|
@ -243,28 +243,32 @@ export default {
|
|||||||
},
|
},
|
||||||
// 现地设置扣车
|
// 现地设置扣车
|
||||||
setDetainTrainByLow(selectType) {
|
setDetainTrainByLow(selectType) {
|
||||||
commitOperate(menuOperate.StationStand.setDetainTrain, {standCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.StationStand.setDetainTrain, {standCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
/** 取消扣车 */
|
/** 取消扣车 */
|
||||||
cancleDetainTrainByLow(selectType) {
|
cancleDetainTrainByLow(selectType) {
|
||||||
commitOperate(menuOperate.StationStand.cancelDetainTrain, {standCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.StationStand.cancelDetainTrain, {standCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置扣车
|
// 设置扣车
|
||||||
setDetainTrain() {
|
setDetainTrain() {
|
||||||
commitOperate(menuOperate.StationStand.setDetainTrain, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.setDetainTrain, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.standControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消扣车
|
// 取消扣车
|
||||||
cancelDetainTrain() {
|
cancelDetainTrain() {
|
||||||
commitOperate(menuOperate.StationStand.cancelDetainTrain, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.cancelDetainTrain, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.standControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 强制取消扣车
|
// 强制取消扣车
|
||||||
@ -293,14 +297,18 @@ export default {
|
|||||||
},
|
},
|
||||||
// 取消跳停
|
// 取消跳停
|
||||||
cancelJumpStop() {
|
cancelJumpStop() {
|
||||||
commitOperate(menuOperate.StationStand.cancelJumpStop, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.cancelJumpStop, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standJumpStopControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.standJumpStopControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 停站时间控制
|
// 停站时间控制
|
||||||
setStopTime() {
|
setStopTime() {
|
||||||
commitOperate(menuOperate.StationStand.setStopTime, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.setStopTime, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standStopTime.doShow(data.operate, this.selected, []);
|
if (valid) {
|
||||||
|
this.$refs.standStopTime.doShow(operate, this.selected, []);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 运行时间控制
|
// 运行时间控制
|
||||||
@ -313,20 +321,26 @@ export default {
|
|||||||
},
|
},
|
||||||
// 设置提前发车
|
// 设置提前发车
|
||||||
earlyDeparture() {
|
earlyDeparture() {
|
||||||
commitOperate(menuOperate.StationStand.earlyDeparture, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.earlyDeparture, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.standControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置折返策略
|
// 设置折返策略
|
||||||
setBackStrategy() {
|
setBackStrategy() {
|
||||||
commitOperate(menuOperate.StationStand.setBackStrategy, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.setBackStrategy, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standBackStrategy.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.standBackStrategy.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 查询站台状态
|
// 查询站台状态
|
||||||
detail() {
|
detail() {
|
||||||
commitOperate(menuOperate.StationStand.detail, {standCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.StationStand.detail, {standCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.standDetail.doShow(data.operate, this.selected, []);
|
if (valid) {
|
||||||
|
this.$refs.standDetail.doShow(operate, this.selected, []);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -238,63 +238,76 @@ export default {
|
|||||||
},
|
},
|
||||||
// 道岔单锁
|
// 道岔单锁
|
||||||
lock(selectType) {
|
lock(selectType) {
|
||||||
commitOperate(menuOperate.Switch.lock, {switchCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Switch.lock, {switchCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 道岔解锁
|
// 道岔解锁
|
||||||
unlock(selectType) {
|
unlock(selectType) {
|
||||||
commitOperate(menuOperate.Switch.unlock, {switchCode:selectType.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.unlock, {switchCode:selectType.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.switchControl.doShow(data.operate, selectType);
|
if (valid) {
|
||||||
|
this.$refs.switchControl.doShow(operate, selectType);
|
||||||
|
}
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 现地道岔强扳
|
// 现地道岔强扳
|
||||||
switchTurnoutForce(selectType) {
|
switchTurnoutForce(selectType) {
|
||||||
commitOperate(menuOperate.Switch.turnoutForce, {switchCode:selectType.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.turnoutForce, {switchCode:selectType.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.switchControl.doShow(data.operate, selectType);
|
if (valid) {
|
||||||
|
this.$refs.switchControl.doShow(operate, selectType);
|
||||||
|
}
|
||||||
|
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 单操到定位
|
// 单操到定位
|
||||||
locate(selectType) {
|
locate(selectType) {
|
||||||
commitOperate(menuOperate.Switch.locate, {switchCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Switch.locate, {switchCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 单操到反位
|
// 单操到反位
|
||||||
reverse(selectType) {
|
reverse(selectType) {
|
||||||
commitOperate(menuOperate.Switch.reverse, {switchCode:selectType.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Switch.reverse, {switchCode:selectType.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch(error=>{
|
}).catch(error=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段切除
|
// 区段切除
|
||||||
split() {
|
split() {
|
||||||
commitOperate(menuOperate.Switch.split, {switchCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.split, {switchCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.switchControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.switchControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段激活
|
// 区段激活
|
||||||
active() {
|
active() {
|
||||||
commitOperate(menuOperate.Switch.active, {switchCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.active, {switchCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.switchControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.switchControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置临时限速
|
// 设置临时限速
|
||||||
setSpeed() {
|
setSpeed() {
|
||||||
commitOperate(menuOperate.Switch.setSpeed, {switchCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.setSpeed, {switchCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.speedLimitControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.speedLimitControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 确认计轴有效
|
// 确认计轴有效
|
||||||
alxeEffective() {
|
alxeEffective() {
|
||||||
commitOperate(menuOperate.Switch.alxeEffective, {switchCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Switch.alxeEffective, {switchCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.alxeEffective.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.alxeEffective.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
undeveloped() {
|
undeveloped() {
|
||||||
|
@ -151,51 +151,65 @@ export default {
|
|||||||
// 设置计轴失效
|
// 设置计轴失效
|
||||||
alxeFailure() {
|
alxeFailure() {
|
||||||
this.mouseCancelState(this.selected);
|
this.mouseCancelState(this.selected);
|
||||||
commitOperate(menuOperate.Section.alxeFailure, {sectionCode:this.selected.code}, 3).then((data)=>{
|
commitOperate(menuOperate.Section.alxeFailure, {sectionCode:this.selected.code}, 3).then(({valid, operate})=>{
|
||||||
}).catch((error)=>{
|
}).catch((error)=>{
|
||||||
this.$refs.noticeInfo.doShow({}, error.message);
|
this.$refs.noticeInfo.doShow({}, error.message);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 故障解锁
|
// 故障解锁
|
||||||
fault() {
|
fault() {
|
||||||
commitOperate(menuOperate.Section.fault, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.fault, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionUnLock.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionUnLock.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 切除
|
// 切除
|
||||||
split() {
|
split() {
|
||||||
commitOperate(menuOperate.Section.split, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.split, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 确认计轴有效
|
// 确认计轴有效
|
||||||
alxeEffective() {
|
alxeEffective() {
|
||||||
commitOperate(menuOperate.Section.alxeEffective, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.alxeEffective, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.alxeEffective.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.alxeEffective.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段激活
|
// 区段激活
|
||||||
active() {
|
active() {
|
||||||
commitOperate(menuOperate.Section.active, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.active, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段封锁
|
// 区段封锁
|
||||||
lock() {
|
lock() {
|
||||||
commitOperate(menuOperate.Section.lock, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.lock, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 区段解锁
|
// 区段解锁
|
||||||
unlock() {
|
unlock() {
|
||||||
commitOperate(menuOperate.Section.unlock, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.unlock, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.sectionUnLock.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.sectionUnLock.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置速度
|
// 设置速度
|
||||||
setSpeed() {
|
setSpeed() {
|
||||||
commitOperate(menuOperate.Section.setSpeed, {sectionCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Section.setSpeed, {sectionCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.speedLimitControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.speedLimitControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -291,80 +291,106 @@ export default {
|
|||||||
},
|
},
|
||||||
// 排列进路
|
// 排列进路
|
||||||
arrangementRoute() {
|
arrangementRoute() {
|
||||||
commitOperate(menuOperate.Signal.arrangementRoute, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.arrangementRoute, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeSelection.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeSelection.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消进路
|
// 取消进路
|
||||||
cancelTrainRoute() {
|
cancelTrainRoute() {
|
||||||
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelTrainRoute, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 信号封锁
|
// 信号封锁
|
||||||
lock() {
|
lock() {
|
||||||
commitOperate(menuOperate.Signal.lock, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.lock, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeLock.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeLock.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 信号解封
|
// 信号解封
|
||||||
unlock() {
|
unlock() {
|
||||||
commitOperate(menuOperate.Signal.unlock, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.unlock, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeUnLock.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeUnLock.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 信号重开
|
// 信号重开
|
||||||
reopenSignal() {
|
reopenSignal() {
|
||||||
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.reopenSignal, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 信号关灯
|
// 信号关灯
|
||||||
signalClose() {
|
signalClose() {
|
||||||
commitOperate(menuOperate.Signal.signalClose, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.signalClose, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 进路交人工控
|
// 进路交人工控
|
||||||
humanControl() {
|
humanControl() {
|
||||||
commitOperate(menuOperate.Signal.humanControl, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.humanControl, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeHandControl.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeHandControl.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 进路交自动控
|
// 进路交自动控
|
||||||
atsAutoControl() {
|
atsAutoControl() {
|
||||||
commitOperate(menuOperate.Signal.atsAutoControl, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.atsAutoControl, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeHandControl.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeHandControl.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 设置通过模式
|
// 设置通过模式
|
||||||
singalPassModel() {
|
singalPassModel() {
|
||||||
commitOperate(menuOperate.Signal.setAutoInterlock, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.setAutoInterlock, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 取消通过模式
|
// 取消通过模式
|
||||||
singalCancelPassModel() {
|
singalCancelPassModel() {
|
||||||
commitOperate(menuOperate.Signal.cancelAutoInterlock, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelAutoInterlock, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeControl.doShow(data.operate, this.selected);
|
if (valid) {
|
||||||
|
this.$refs.routeControl.doShow(operate, this.selected);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 查询进路状态
|
// 查询进路状态
|
||||||
detail() {
|
detail() {
|
||||||
commitOperate(menuOperate.Signal.detail, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.detail, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routeDetail.doShow(data.operate, this.selected, this.getRouteList(this.selected));
|
if (valid) {
|
||||||
|
this.$refs.routeDetail.doShow(operate, this.selected, this.getRouteList(this.selected));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 人工解锁进路(信号机取消引导)
|
// 人工解锁进路(信号机取消引导)
|
||||||
humanTrainRoute() {
|
humanTrainRoute() {
|
||||||
commitOperate(menuOperate.Signal.cancelGuide, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.cancelGuide, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routerCommand.doShow(data.operate, this.selected, '是否执行人解列车进路命令?');
|
if (valid) {
|
||||||
|
this.$refs.routerCommand.doShow(operate, this.selected, '是否执行人解列车进路命令?');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 进路引导
|
// 进路引导
|
||||||
guide() {
|
guide() {
|
||||||
commitOperate(menuOperate.Signal.guide, {signalCode:this.selected.code}, 0).then((data)=>{
|
commitOperate(menuOperate.Signal.guide, {signalCode:this.selected.code}, 0).then(({valid, operate})=>{
|
||||||
this.$refs.routerCommand.doShow(data.operate, this.selected, '是否执行引导命令?');
|
if (valid) {
|
||||||
|
this.$refs.routerCommand.doShow(operate, this.selected, '是否执行引导命令?');
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user