| @@ -114,6 +114,11 @@ export default { | |||||
| clearInterval(this.autoUpdateTimer); | clearInterval(this.autoUpdateTimer); | ||||
| this.autoUpdateTimer = null; | this.autoUpdateTimer = null; | ||||
| } | } | ||||
| // Stop refreshing | |||||
| if (this.isReloading) { | |||||
| this.$store.commit('setIsReload', false); | |||||
| this.isReloading = false; | |||||
| } | |||||
| }, | }, | ||||
| }; | }; | ||||
| </script> | </script> | ||||
| @@ -621,11 +621,11 @@ limitations under the License. | |||||
| <script> | <script> | ||||
| import {select, selectAll, zoom, dispatch} from 'd3'; | import {select, selectAll, zoom, dispatch} from 'd3'; | ||||
| import 'd3-graphviz'; | import 'd3-graphviz'; | ||||
| import debuggerGridTable from '../../components/debuggerGridTableSimple.vue'; | |||||
| import debuggerGridTable from '../../components/debugger-grid-table-simple.vue'; | |||||
| const d3 = {select, selectAll, zoom, dispatch}; | const d3 = {select, selectAll, zoom, dispatch}; | ||||
| import RequestService from '@/services/request-service'; | import RequestService from '@/services/request-service'; | ||||
| import commonGraph from '../../mixins/commonGraph.vue'; | |||||
| import debuggerMixin from '../../mixins/debuggerMixin.vue'; | |||||
| import commonGraph from '../../mixins/common-graph.vue'; | |||||
| import debuggerMixin from '../../mixins/debugger-mixin.vue'; | |||||
| import tree from '../../components/tree.vue'; | import tree from '../../components/tree.vue'; | ||||
| export default { | export default { | ||||
| @@ -331,7 +331,6 @@ export default { | |||||
| cellHover(row, column) { | cellHover(row, column) { | ||||
| this.property = column.property; | this.property = column.property; | ||||
| }, | }, | ||||
| /** | /** | ||||
| * The logic execute when table cell mouse leave | * The logic execute when table cell mouse leave | ||||
| */ | */ | ||||
| @@ -134,8 +134,8 @@ limitations under the License. | |||||
| import echarts from 'echarts'; | import echarts from 'echarts'; | ||||
| import RequestService from '../../services/request-service'; | import RequestService from '../../services/request-service'; | ||||
| import CommonProperty from '../../common/common-property'; | import CommonProperty from '../../common/common-property'; | ||||
| import multiSelectGroupComponents from '../../components/multiselectGroup.vue'; | |||||
| import autoUpdate from '../../mixins/autoUpdate.vue'; | |||||
| import multiSelectGroupComponents from '../../components/multiselect-group.vue'; | |||||
| import autoUpdate from '../../mixins/auto-update.vue'; | |||||
| export default { | export default { | ||||
| mixins: [autoUpdate], | mixins: [autoUpdate], | ||||
| @@ -487,8 +487,8 @@ import RequestService from '@/services/request-service'; | |||||
| import {select, selectAll, zoom} from 'd3'; | import {select, selectAll, zoom} from 'd3'; | ||||
| import 'd3-graphviz'; | import 'd3-graphviz'; | ||||
| const d3 = {select, selectAll, zoom}; | const d3 = {select, selectAll, zoom}; | ||||
| import commonGraph from '../../mixins/commonGraph.vue'; | |||||
| import smallMap from '../../mixins/smallMap.vue'; | |||||
| import commonGraph from '../../mixins/common-graph.vue'; | |||||
| import smallMap from '../../mixins/small-map.vue'; | |||||
| export default { | export default { | ||||
| mixins: [commonGraph, smallMap], | mixins: [commonGraph, smallMap], | ||||
| @@ -122,12 +122,12 @@ limitations under the License. | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import multiselectGroupComponents from '../../components/multiselectGroup.vue'; | |||||
| import multiselectGroupComponents from '../../components/multiselect-group.vue'; | |||||
| import RequestService from '../../services/request-service'; | import RequestService from '../../services/request-service'; | ||||
| import CommonProperty from '../../common/common-property'; | import CommonProperty from '../../common/common-property'; | ||||
| import echarts from 'echarts'; | import echarts from 'echarts'; | ||||
| import {format, precisionRound} from 'd3'; | import {format, precisionRound} from 'd3'; | ||||
| import autoUpdate from '../../mixins/autoUpdate.vue'; | |||||
| import autoUpdate from '../../mixins/auto-update.vue'; | |||||
| const d3 = {format, precisionRound}; | const d3 = {format, precisionRound}; | ||||
| export default { | export default { | ||||
| mixins: [autoUpdate], | mixins: [autoUpdate], | ||||
| @@ -166,11 +166,6 @@ export default { | |||||
| this.clearZrData(item); | this.clearZrData(item); | ||||
| }); | }); | ||||
| } | } | ||||
| // Stop refreshing | |||||
| if (this.isReloading) { | |||||
| this.$store.commit('setIsReload', false); | |||||
| this.isReloading = false; | |||||
| } | |||||
| if (this.changeAxisTimer) { | if (this.changeAxisTimer) { | ||||
| clearTimeout(this.changeAxisTimer); | clearTimeout(this.changeAxisTimer); | ||||
| this.changeAxisTimer = null; | this.changeAxisTimer = null; | ||||
| @@ -141,10 +141,10 @@ limitations under the License. | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import multiselectGroupComponents from '../../components/multiselectGroup.vue'; | |||||
| import multiselectGroupComponents from '../../components/multiselect-group.vue'; | |||||
| import RequestService from '../../services/request-service'; | import RequestService from '../../services/request-service'; | ||||
| import {basePath} from '@/services/fetcher'; | import {basePath} from '@/services/fetcher'; | ||||
| import autoUpdate from '../../mixins/autoUpdate.vue'; | |||||
| import autoUpdate from '../../mixins/auto-update.vue'; | |||||
| export default { | export default { | ||||
| mixins: [autoUpdate], | mixins: [autoUpdate], | ||||
| data() { | data() { | ||||
| @@ -168,13 +168,7 @@ export default { | |||||
| }, | }, | ||||
| computed: {}, | computed: {}, | ||||
| watch: {}, | watch: {}, | ||||
| destroyed() { | |||||
| // Stop refreshing | |||||
| if (this.isReloading) { | |||||
| this.$store.commit('setIsReload', false); | |||||
| this.isReloading = false; | |||||
| } | |||||
| }, | |||||
| destroyed() {}, | |||||
| mounted() { | mounted() { | ||||
| if (!this.$route.query || !this.$route.query.train_id) { | if (!this.$route.query || !this.$route.query.train_id) { | ||||
| this.$message.error(this.$t('trainingDashboard.invalidId')); | this.$message.error(this.$t('trainingDashboard.invalidId')); | ||||
| @@ -565,7 +565,7 @@ import RequestService from '../../services/request-service'; | |||||
| import CommonProperty from '@/common/common-property.js'; | import CommonProperty from '@/common/common-property.js'; | ||||
| import Echarts from 'echarts'; | import Echarts from 'echarts'; | ||||
| import Scatter from '@/components/scatter'; | import Scatter from '@/components/scatter'; | ||||
| import modelDataFun from '../../mixins/modelData.vue'; | |||||
| import modelDataFun from '../../mixins/model-data.vue'; | |||||
| export default { | export default { | ||||
| mixins: [modelDataFun], | mixins: [modelDataFun], | ||||
| @@ -268,8 +268,8 @@ import echarts from 'echarts'; | |||||
| import RequestService from '../../services/request-service'; | import RequestService from '../../services/request-service'; | ||||
| import CommonProperty from '../../common/common-property'; | import CommonProperty from '../../common/common-property'; | ||||
| import ScalarCompare from './scalar-compare'; | import ScalarCompare from './scalar-compare'; | ||||
| import multiselectGroupComponents from '../../components/multiselectGroup.vue'; | |||||
| import autoUpdate from '../../mixins/autoUpdate.vue'; | |||||
| import multiselectGroupComponents from '../../components/multiselect-group.vue'; | |||||
| import autoUpdate from '../../mixins/auto-update.vue'; | |||||
| import threshold from '../../mixins/threshold.vue'; | import threshold from '../../mixins/threshold.vue'; | ||||
| export default { | export default { | ||||
| @@ -181,11 +181,11 @@ limitations under the License. | |||||
| </template> | </template> | ||||
| <script> | <script> | ||||
| import multiselectGroupComponents from '../../components/multiselectGroup.vue'; | |||||
| import gridTableComponents from '../../components/gridTableSimple'; | |||||
| import histogramUntil from '../../components/histogramUnit'; | |||||
| import multiselectGroupComponents from '../../components/multiselect-group.vue'; | |||||
| import gridTableComponents from '../../components/grid-table-simple'; | |||||
| import histogramUntil from '../../components/histogram-unit'; | |||||
| import RequestService from '../../services/request-service'; | import RequestService from '../../services/request-service'; | ||||
| import autoUpdate from '../../mixins/autoUpdate.vue'; | |||||
| import autoUpdate from '../../mixins/auto-update.vue'; | |||||
| export default { | export default { | ||||
| mixins: [autoUpdate], | mixins: [autoUpdate], | ||||
| data() { | data() { | ||||
| @@ -220,11 +220,6 @@ export default { | |||||
| watch: {}, | watch: {}, | ||||
| destroyed() { | destroyed() { | ||||
| window.removeEventListener('resize', this.resizeCallback); | window.removeEventListener('resize', this.resizeCallback); | ||||
| // Stop refreshing | |||||
| if (this.isReloading) { | |||||
| this.$store.commit('setIsReload', false); | |||||
| this.isReloading = false; | |||||
| } | |||||
| // Cancel the delay | // Cancel the delay | ||||
| this.originDataArr.forEach((sampleItem) => { | this.originDataArr.forEach((sampleItem) => { | ||||
| @@ -267,7 +267,7 @@ import {select, selectAll, format, precisionRound} from 'd3'; | |||||
| import 'd3-graphviz'; | import 'd3-graphviz'; | ||||
| const d3 = {select, selectAll, format, precisionRound}; | const d3 = {select, selectAll, format, precisionRound}; | ||||
| import echarts from 'echarts'; | import echarts from 'echarts'; | ||||
| import gridTableComponents from '../../components/gridTableSimple'; | |||||
| import gridTableComponents from '../../components/grid-table-simple'; | |||||
| export default { | export default { | ||||
| data() { | data() { | ||||
| return { | return { | ||||