diff --git a/src/jmapNew/theme/datie_02/menus/menuTrain.vue b/src/jmapNew/theme/datie_02/menus/menuTrain.vue index 412b6c420..94a6946b2 100644 --- a/src/jmapNew/theme/datie_02/menus/menuTrain.vue +++ b/src/jmapNew/theme/datie_02/menus/menuTrain.vue @@ -183,6 +183,10 @@ export default { { label: '发车', handler: this.handleDepartTrain + }, + { + label: '停车', + handler: this.handleParkingTrain } ], menuSpeed: [ @@ -576,6 +580,20 @@ export default { this.$refs.noticeInfo.doShow(); }); }, + handleParkingTrain(){ + const group = this.$route.query.group; + const param = { + commandType: 'Parking_Train', + 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('实现中......', '提示', {