大铁线路调整21
This commit is contained in:
parent
9ed6c38a4e
commit
0c57bdac50
@ -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('实现中......', '提示', {
|
||||
|
@ -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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user