diff --git a/src/jmapNew/theme/factory.js b/src/jmapNew/theme/factory.js index b79bfb78c..44a36305f 100644 --- a/src/jmapNew/theme/factory.js +++ b/src/jmapNew/theme/factory.js @@ -109,12 +109,12 @@ class Theme { } // 加载行调菜单组件 loadDispatchWorkMenuComponent(code) { - if (code == '02' || code == '16') { + if (['02', '10', '16'].includes(code)) { return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/dispatchWorkMenu`).default); } } loadLocalWorkMenuComponent(code) { - if (code == '02' || code == '16') { + if (['02', '10', '16'].includes(code)) { return Object.assign({}, require(`./${this._mapMenu[code || this._code]}/menus/localWorkMenu`).default); } } diff --git a/src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue new file mode 100644 index 000000000..0f306da7a --- /dev/null +++ b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenu.vue @@ -0,0 +1,499 @@ + + + + + diff --git a/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue new file mode 100644 index 000000000..71c94478d --- /dev/null +++ b/src/jmapNew/theme/xian_01/menus/dispatchWorkMenuBar.vue @@ -0,0 +1,418 @@ + + + + diff --git a/src/jmapNew/theme/xian_01/menus/index.vue b/src/jmapNew/theme/xian_01/menus/localWorkMenu.vue similarity index 96% rename from src/jmapNew/theme/xian_01/menus/index.vue rename to src/jmapNew/theme/xian_01/menus/localWorkMenu.vue index a612a929a..3a30f1ad4 100644 --- a/src/jmapNew/theme/xian_01/menus/index.vue +++ b/src/jmapNew/theme/xian_01/menus/localWorkMenu.vue @@ -1,13 +1,13 @@