diff --git a/src/jmapNew/theme/datie_02/menus/index.vue b/src/jmapNew/theme/datie_02/menus/index.vue index 321a08f9a..f15639eb9 100644 --- a/src/jmapNew/theme/datie_02/menus/index.vue +++ b/src/jmapNew/theme/datie_02/menus/index.vue @@ -58,6 +58,7 @@ + @@ -102,6 +103,7 @@ import CtcBarIcon16 from '@/assets/ctc_icon/pic16.png'; import CtcBarIcon17 from '@/assets/ctc_icon/pic17.png'; import CtcBarIcon18 from '@/assets/ctc_icon/pic18.png'; import cmdManage from '@/views/dispatcherStationManage/cmdManage.vue'; +import signedCmd from '@/views/dispatcherStationManage/signedCmd.vue'; export default { name: 'Menus', @@ -124,7 +126,8 @@ export default { // DispatcherLoger, BottomTable, MenuPanel, - cmdManage + cmdManage, + signedCmd }, props: { selected: { @@ -243,9 +246,16 @@ export default { window.onclick = function (e) {}; }, methods: { - showCmdManage() { + signedCmdClose() { this.$refs.cmdManage.doShow(); }, + showCmdManage() { + if (this.hasCommandMsg) { + this.$refs.signedCmd.doShow(); + } else { + this.$refs.cmdManage.doShow(); + } + }, getRailwaySimulationRunplanSend() { const stationCode = this.$store.state.training.roleDeviceCode; const railwaySimulationRunplanSendMap = this.$store.state.socket.railwaySimulationRunplanSendMap; diff --git a/src/views/dispatcherStationManage/dispatchCmd.vue b/src/views/dispatcherStationManage/dispatchCmd.vue index c03eb7dfb..140427c7e 100644 --- a/src/views/dispatcherStationManage/dispatchCmd.vue +++ b/src/views/dispatcherStationManage/dispatchCmd.vue @@ -284,6 +284,8 @@ export default { } }, getSenderName() { + debugger; + this.memberDataList = Object.values(this.memberData); const activeUser = this.memberDataList.find(item => { return item.userId == this.$store.state.user.id; }); @@ -293,7 +295,6 @@ export default { } }, doShow() { - this.memberDataList = Object.values(this.memberData); this.getSenderName(); this.dialogShow = true; }, diff --git a/src/views/dispatcherStationManage/signedCmd.vue b/src/views/dispatcherStationManage/signedCmd.vue new file mode 100644 index 000000000..151fd1943 --- /dev/null +++ b/src/views/dispatcherStationManage/signedCmd.vue @@ -0,0 +1,272 @@ + + +