diff --git a/src/api/table.js b/src/api/table.js deleted file mode 100644 index 10bac1b1b..000000000 --- a/src/api/table.js +++ /dev/null @@ -1,9 +0,0 @@ -import request from '@/utils/request'; - -export function getList(params) { - return request({ - url: '/table/list', - method: 'get', - params - }); -} diff --git a/src/jmapNew/keyboardController.js b/src/jmapNew/keyboardController.js index c8e74c12d..a4e523559 100644 --- a/src/jmapNew/keyboardController.js +++ b/src/jmapNew/keyboardController.js @@ -38,12 +38,14 @@ class KeyboardController extends Eventful { keydown(e) { if (this._keyOnDownUp && !e.repeat) { - const currentEvent = keyboardEvents[e.key.toUpperCase()]; - let str = ''; - if (currentEvent && currentEvent.altKey === e.altKey && currentEvent.ctrlKey === e.ctrlKey && currentEvent.shiftKey === e.shiftKey) { - str = currentEvent.event; + if (e.key) { + const currentEvent = keyboardEvents[e.key.toUpperCase()]; + let str = ''; + if (currentEvent && currentEvent.altKey === e.altKey && currentEvent.ctrlKey === e.ctrlKey && currentEvent.shiftKey === e.shiftKey) { + str = currentEvent.event; + } + this.trigger(this.events.Keyboard, str); } - this.trigger(this.events.Keyboard, str); } } } diff --git a/src/jmapNew/theme/xian_01/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue similarity index 99% rename from src/jmapNew/theme/xian_01/menus/dialog/stationCmdControl.vue rename to src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue index 8bcab70aa..520c42e2c 100644 --- a/src/jmapNew/theme/xian_01/menus/dialog/stationCmdControl.vue +++ b/src/jmapNew/theme/components/menus/dialog/stationCmdControl.vue @@ -2,7 +2,8 @@
{{ $t('global.cancel') }} - + @@ -36,6 +37,12 @@ export default { components: { NoticeInfo }, + props: { + popClass: { + type: String, + default: '' + } + }, data() { return { dialogShow: false, diff --git a/src/jmapNew/theme/xian_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue similarity index 95% rename from src/jmapNew/theme/xian_01/menus/dialog/stationSetRouteControlAll.vue rename to src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue index e66874a83..d2715738e 100644 --- a/src/jmapNew/theme/xian_01/menus/dialog/stationSetRouteControlAll.vue +++ b/src/jmapNew/theme/components/menus/dialog/stationSetRouteControlAll.vue @@ -1,7 +1,8 @@ @@ -48,6 +49,12 @@ export default { components: { NoticeInfo }, + props: { + popClass: { + type: String, + default: '' + } + }, data() { return { dialogShow: false, diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationCmdControl.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/stationCmdControl.vue deleted file mode 100644 index a6e66771e..000000000 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationCmdControl.vue +++ /dev/null @@ -1,407 +0,0 @@ - - diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/stationHumanControlAll.vue deleted file mode 100644 index 4b6d43bca..000000000 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationHumanControlAll.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/fuzhou_01/menus/dialog/stationSetRouteControlAll.vue deleted file mode 100644 index 94c302983..000000000 --- a/src/jmapNew/theme/fuzhou_01/menus/dialog/stationSetRouteControlAll.vue +++ /dev/null @@ -1,145 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/fuzhou_01/menus/menuStation.vue b/src/jmapNew/theme/fuzhou_01/menus/menuStation.vue index 7bc2b434b..beb684f1b 100644 --- a/src/jmapNew/theme/fuzhou_01/menus/menuStation.vue +++ b/src/jmapNew/theme/fuzhou_01/menus/menuStation.vue @@ -1,18 +1,18 @@  diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/stationHumanControlAll.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/stationHumanControlAll.vue deleted file mode 100644 index 97820f35b..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/stationHumanControlAll.vue +++ /dev/null @@ -1,118 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/dialog/stationSetRouteControlAll.vue b/src/jmapNew/theme/ningbo_01/menus/dialog/stationSetRouteControlAll.vue deleted file mode 100644 index 85f117535..000000000 --- a/src/jmapNew/theme/ningbo_01/menus/dialog/stationSetRouteControlAll.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - - diff --git a/src/jmapNew/theme/ningbo_01/menus/menuStation.vue b/src/jmapNew/theme/ningbo_01/menus/menuStation.vue index 591d8169c..e6725826f 100644 --- a/src/jmapNew/theme/ningbo_01/menus/menuStation.vue +++ b/src/jmapNew/theme/ningbo_01/menus/menuStation.vue @@ -1,18 +1,18 @@