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++;
|
state.activeTrainListUpdate++;
|
||||||
},
|
},
|
||||||
resetActiveTrainList:(state) => {
|
resetActiveTrainList:(state) => {
|
||||||
state.activeTrainListUpdate = 0;
|
|
||||||
state.activeTrainList = [];
|
state.activeTrainList = [];
|
||||||
|
state.activeTrainListUpdate = 0;
|
||||||
|
state.activeTrainListChange = 0;
|
||||||
},
|
},
|
||||||
setDeleteCount: (state) => {
|
setDeleteCount: (state) => {
|
||||||
state.deleteCount++;
|
state.deleteCount++;
|
||||||
|
@ -177,6 +177,7 @@ export default {
|
|||||||
this.$store.dispatch('training/setMapDefaultState').then(() => {
|
this.$store.dispatch('training/setMapDefaultState').then(() => {
|
||||||
this.$store.dispatch('map/setRunPlanStatus', false);
|
this.$store.dispatch('map/setRunPlanStatus', false);
|
||||||
this.$store.dispatch('map/clearJlmapTrainView');
|
this.$store.dispatch('map/clearJlmapTrainView');
|
||||||
|
this.$store.dispatch('map/resetActiveTrainList');
|
||||||
this.$store.dispatch('map/setTrainWindowShow', false);
|
this.$store.dispatch('map/setTrainWindowShow', false);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -193,6 +194,7 @@ export default {
|
|||||||
back() {
|
back() {
|
||||||
this.$store.dispatch('training/over').then(() => {
|
this.$store.dispatch('training/over').then(() => {
|
||||||
EventBus.$emit('runPlanStop');
|
EventBus.$emit('runPlanStop');
|
||||||
|
this.$store.dispatch('map/resetActiveTrainList');
|
||||||
EventBus.$emit('chatSubscribeStop');
|
EventBus.$emit('chatSubscribeStop');
|
||||||
history.go(-1);
|
history.go(-1);
|
||||||
Notification.closeAll();
|
Notification.closeAll();
|
||||||
|
@ -301,6 +301,7 @@ export default {
|
|||||||
this.memberId = '';
|
this.memberId = '';
|
||||||
this.$store.dispatch('map/setRunPlanStatus', false);
|
this.$store.dispatch('map/setRunPlanStatus', false);
|
||||||
this.$store.dispatch('training/setPrdType', '01');
|
this.$store.dispatch('training/setPrdType', '01');
|
||||||
|
this.$store.dispatch('map/resetActiveTrainList');
|
||||||
// this.initAutoSaveScript();
|
// this.initAutoSaveScript();
|
||||||
this.$store.state.scriptRecord.bgSet;
|
this.$store.state.scriptRecord.bgSet;
|
||||||
this.$store.dispatch('scriptRecord/updateBgSet', false);
|
this.$store.dispatch('scriptRecord/updateBgSet', false);
|
||||||
|
Loading…
Reference in New Issue
Block a user