Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
41a0ac6ebd
@ -749,8 +749,9 @@ const map = {
|
||||
state.activeTrainListUpdate++;
|
||||
},
|
||||
resetActiveTrainList:(state) => {
|
||||
state.activeTrainListUpdate = 0;
|
||||
state.activeTrainList = [];
|
||||
state.activeTrainListUpdate = 0;
|
||||
state.activeTrainListChange = 0;
|
||||
},
|
||||
setDeleteCount: (state) => {
|
||||
state.deleteCount++;
|
||||
|
@ -177,6 +177,7 @@ export default {
|
||||
this.$store.dispatch('training/setMapDefaultState').then(() => {
|
||||
this.$store.dispatch('map/setRunPlanStatus', false);
|
||||
this.$store.dispatch('map/clearJlmapTrainView');
|
||||
this.$store.dispatch('map/resetActiveTrainList');
|
||||
this.$store.dispatch('map/setTrainWindowShow', false);
|
||||
});
|
||||
});
|
||||
@ -193,6 +194,7 @@ export default {
|
||||
back() {
|
||||
this.$store.dispatch('training/over').then(() => {
|
||||
EventBus.$emit('runPlanStop');
|
||||
this.$store.dispatch('map/resetActiveTrainList');
|
||||
EventBus.$emit('chatSubscribeStop');
|
||||
history.go(-1);
|
||||
Notification.closeAll();
|
||||
|
@ -301,6 +301,7 @@ export default {
|
||||
this.memberId = '';
|
||||
this.$store.dispatch('map/setRunPlanStatus', false);
|
||||
this.$store.dispatch('training/setPrdType', '01');
|
||||
this.$store.dispatch('map/resetActiveTrainList');
|
||||
// this.initAutoSaveScript();
|
||||
this.$store.state.scriptRecord.bgSet;
|
||||
this.$store.dispatch('scriptRecord/updateBgSet', false);
|
||||
|
Loading…
Reference in New Issue
Block a user