diff --git a/src/jmapNew/theme/xian_01/menus/dialog/trainControl.vue b/src/jmapNew/theme/components/menus/dialog/trainControl.vue similarity index 94% rename from src/jmapNew/theme/xian_01/menus/dialog/trainControl.vue rename to src/jmapNew/theme/components/menus/dialog/trainControl.vue index 600ce0c38..96c4e4dd5 100644 --- a/src/jmapNew/theme/xian_01/menus/dialog/trainControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/trainControl.vue @@ -1,5 +1,5 @@ diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue index 24626d759..df521cc6b 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuTrain.vue @@ -2,7 +2,7 @@
- + @@ -17,7 +17,7 @@ import { mapGetters } from 'vuex'; import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler'; import { DeviceMenu, OperateMode } from '@/scripts/ConstDic'; import CMD from '@/scripts/cmdPlugin/CommandEnum'; -import TrainControl from './dialog/trainControl'; +import TrainControl from '@/jmapNew/theme/components/menus/dialog/trainControl'; import TrainDelete from './dialog/trainDelete'; import TrainMove from './dialog/trainMove'; import TrainSwitch from './dialog/trainSwitch'; diff --git a/src/jmapNew/theme/xian_01/menus/menuTrain.vue b/src/jmapNew/theme/xian_01/menus/menuTrain.vue index 1ee3ff62f..f9dbbda84 100644 --- a/src/jmapNew/theme/xian_01/menus/menuTrain.vue +++ b/src/jmapNew/theme/xian_01/menus/menuTrain.vue @@ -2,7 +2,7 @@
- + @@ -18,7 +18,7 @@ import { mapGetters } from 'vuex'; import { OperationEvent } from '@/scripts/cmdPlugin/OperationHandler'; import { DeviceMenu, OperateMode } from '@/scripts/ConstDic'; import CMD from '@/scripts/cmdPlugin/CommandEnum'; -import TrainControl from './dialog/trainControl'; +import TrainControl from '@/jmapNew/theme/components/menus/dialog/trainControl'; import TrainDelete from './dialog/trainDelete'; import TrainMove from './dialog/trainMove'; import TrainSwitch from './dialog/trainSwitch'; diff --git a/src/views/exam/index.vue b/src/views/exam/index.vue index 5b164816f..2e6a9900f 100644 --- a/src/views/exam/index.vue +++ b/src/views/exam/index.vue @@ -65,6 +65,8 @@ export default { getSubSystemDetail(this.$route.params.subSystem).then(resp =>{ if (resp.data) { this.tableData = resp.data.lessonList; + } else { + this.tableData = []; } }).catch((error)=>{ if (error.code == 30001) {