Merge branch 'test' of https://git.code.tencent.com/lian-cbtc/jl-client into test
This commit is contained in:
commit
3061b83c6a
@ -419,6 +419,7 @@ export default {
|
||||
this.scriptId = Number(resp.data.scriptId) || 0;
|
||||
this.$store.dispatch('training/setInitTime', +new Date(`${new Date().toLocaleDateString()} ${timeFormat(resp.data.systemTime)}`));
|
||||
this.planRunning = resp.data.planRunning;
|
||||
this.$store.dispatch('map/setRunPlanStatus', this.planRunning);
|
||||
if (!resp.data.planRunning) {
|
||||
this.$store.dispatch('training/over');
|
||||
}
|
||||
|
@ -102,6 +102,7 @@ export default {
|
||||
},
|
||||
beforeDestroy() {
|
||||
// this.clearAutoSave();
|
||||
this.$store.dispatch('map/resetActiveTrainList');
|
||||
this.$store.dispatch('scriptRecord/updateBgSet', false);
|
||||
this.$store.dispatch('scriptRecord/updateRole', null);
|
||||
},
|
||||
@ -111,7 +112,6 @@ export default {
|
||||
this.backDisabled = response.data.bgSet;
|
||||
this.mapLocation = response.data.mapLocation;
|
||||
this.$store.dispatch('scriptRecord/updateBgSet', response.data.bgSet);
|
||||
// if (response.data.bgSet) { this.$store.dispatch('map/setRunPlanStatus', true); }
|
||||
});
|
||||
},
|
||||
methods:{
|
||||
|
Loading…
Reference in New Issue
Block a user