大铁线路调整21

This commit is contained in:
fan 2022-04-24 17:06:21 +08:00
parent 9ed6c38a4e
commit 0c57bdac50
2 changed files with 18 additions and 3 deletions

View File

@ -176,6 +176,10 @@ export default {
label: '驾驶至',
handler: this.handleDriveTo
},
{
label: '换端',
handler: this.handleTurnDirection
}
],
menuSpeed: [
{
@ -541,6 +545,20 @@ export default {
}
});
},
//
handleTurnDirection() {
const group = this.$route.query.group;
const param = {
commandType: 'Turn_Direction',
targetMemberId: this.memberList.find(ele => ele.deviceCode == this.selected.code).id,
params: {}
};
commitTrainSend(group, param).then(({valid, operate}) => {
}).catch((error)=> {
console.error(error);
this.$refs.noticeInfo.doShow();
});
},
undeveloped() {
this.doClose();
this.$alert('实现中......', '提示', {

View File

@ -320,9 +320,6 @@
return trigger ? '#FFBF2F' : '#CCCCCC'
}
},
filterTrain(val ,row){
console.log(val, row);
},
doShowRecDep(row, type) {
this.$refs.recDep.doShow(row, type, this.selectCode);
},