diff --git a/packages/robot-system/src/config/app/proxy.js b/packages/robot-system/src/config/app/proxy.js
index 98dcd07..1d8ceda 100644
--- a/packages/robot-system/src/config/app/proxy.js
+++ b/packages/robot-system/src/config/app/proxy.js
@@ -25,7 +25,8 @@ module.exports = {
// 8010是前端应用做的代理转发,所以带api
'/api': {
// target: 'http://fawkes.bw.chienli.cn/', // 测试
- target: 'http://117.72.194.64:8010/', //菲律宾
+ target: 'http://117.72.194.64:8020/', //机器人项目
+ // target: 'http://117.72.194.64:8010/', //菲律宾
// target: 'http://117.72.194.64:18200/', //菲律宾
// target: 'http://60.204.250.115:8808/', //新测试
// target: 'http://60.204.250.115/', // 正式
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent.vue b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent.vue
index 8b710ec..ab8be02 100644
--- a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent.vue
+++ b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent.vue
@@ -4,20 +4,15 @@
+
+
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent copy.vue b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/components/MapComponent copy.vue
similarity index 100%
rename from packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/MapComponent copy.vue
rename to packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/components/MapComponent copy.vue
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/index.vue b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/index.vue
index f0439ea..7f450b4 100644
--- a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/index.vue
+++ b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/index.vue
@@ -1,14 +1,14 @@
-
+
-
+
{{ item.label }}
@@ -36,12 +36,23 @@
{{ p.value }}
-
-
-
-
-
+
+
+
+
+
+
@@ -51,9 +62,9 @@
更多
-
+
-
+
@@ -92,23 +103,27 @@
今日设备信息
-
-
-
-
-
-
+
+
-
@@ -117,6 +132,7 @@
@@ -212,14 +357,14 @@ export default {
}
::v-deep .fks-table {
table {
+ .cell {
+ padding: 0 !important;
+ }
th {
font-size: 12px !important;
padding: 4px 0 !important;
color: #999 !important;
background: #f9f9f9 !important;
- .cell {
- padding: 0 !important;
- }
}
}
}
@@ -263,8 +408,7 @@ export default {
display: block;
width: 100%;
height: 100%;
- opacity: 0.4;
- background: var(--rect-color);
+ background: var(--rect-fill);
position: absolute;
top: 0;
left: 0;
@@ -287,6 +431,7 @@ export default {
box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.1);
border-radius: 4px;
background: #fff;
+ z-index: 1000;
.panel + .panel {
margin-top: 20px;
}
@@ -376,18 +521,18 @@ export default {
}
}
}
-
+.kpi-item-title {
+ font-family: PingFang SC, PingFang SC;
+ font-weight: 400;
+ font-size: 14px;
+ color: #000000;
+ margin-bottom: 8px;
+}
.kpi-box {
margin-bottom: 12px;
display: flex;
flex-direction: column;
- .kpi-item-title {
- font-family: PingFang SC, PingFang SC;
- font-weight: 400;
- font-size: 14px;
- color: #000000;
- margin-bottom: 8px;
- }
+
.kpi-item-group {
display: flex;
gap: 0 16px;
@@ -418,4 +563,16 @@ export default {
}
}
}
+.alarm-card {
+ position: fixed;
+ bottom: 60px;
+ right: 420px;
+ z-index: 110;
+}
+.area-card {
+ position: fixed;
+ top: 330px;
+ left: 420px;
+ z-index: 110;
+}
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/route.js b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/route.js
index f9bab12..348a379 100644
--- a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/route.js
+++ b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/route.js
@@ -1,11 +1,12 @@
const route =
{
- path: '/ScreenViewManage',
- name: 'ScreenViewManage',
+ path: '/RobotSystemManage/ScreenViewManage/TaskScreenView',
+ name: 'TaskScreenView',
component: () => import('./index.vue'),
- title: 'SECOND_MENU_ROBOT_TASK_SCREEN_VIEW', // 使用翻译键
+ title: '大屏任务', // 使用翻译键
+ // title: 'SECOND_MENU_ROBOT_TASK_SCREEN_VIEW', // 使用翻译键
meta: {
- title: 'SECOND_MENU_ROBOT_TASK_SCREEN_VIEW' // 也在meta中使用翻译键
+ title: '大屏任务' // 也在meta中使用翻译键
}
}
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/utils/index.js b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/utils/index.js
new file mode 100644
index 0000000..7aad7fc
--- /dev/null
+++ b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/utils/index.js
@@ -0,0 +1,45 @@
+// 设备列表表格列
+export const deviceTableColumns = [
+ { label: '设备ID', key: 'name', width: 60 },
+ { label: '当前区域', key: 'area', width: 60 },
+ { label: '工作人员', key: 'team', width: 60 },
+ { label: '今日工作量', key: 'dayWork', width: 60 },
+ { label: '今日运行时长(h)', key: 'runtime' }
+];
+// 设备弹窗表格列
+export const devicePopupColumns = [
+ { label: '设备编号', key: 'name' },
+ { label: '设备类型', key: 'type' },
+ { label: '设备位置', key: 'position' },
+ { label: '操作人员', key: 'team' },
+ { label: '今日安装量', key: 'dayWork' },
+ { label: '设备状态', key: 'status' },
+ { label: '运行时长(h)', key: 'runtime' }
+];
+export const areaPopupColumns = [
+ { label: '工区编号', key: 'name' },
+ { label: '工区状态', key: 'name' },
+ { label: '桩条安装数量', key: 'pileCount' },
+ { label: '组件安装数量', key: 'moduleCount' }
+];
+
+export const alarmTableColumns = [
+ { label: '预警类别', key: 'code' },
+ { label: '设备编码', key: 'device' },
+ { label: '报警内容', key: 'desc' },
+ { label: '报警时间', key: 'time' }
+];
+export const STATUS_STYLE = {
+ 施工中: { stroke: 'rgba(19, 126, 233, 1)', fill: 'rgba(19, 126, 233, 0.4)' },
+ 已施工: { stroke: 'rgba(26, 213, 154, 1)', fill: 'rgba(26, 213, 154, 0.4)' },
+ 未施工: { stroke: 'rgba(255, 188, 72, 1)', fill: 'rgba(255, 188, 72, 0.4)' },
+ 故障: { stroke: 'rgba(219,77,77,1)', fill: 'rgba(219,77,77,0.4)' },
+ 运行中: { stroke: 'rgba(19,194,194,1)', fill: 'rgba(19,194,194,0.4)' },
+ 停机: { stroke: 'rgba(243,180,71,1)', fill: 'rgba(243,180,71,0.4)' }
+};
+export const isDevice = (item) => {
+ return ['故障', '运行中', '停机'].includes(item.status);
+};
+export const isArea = (item) => {
+ return ['施工中', '已施工', '未施工'].includes(item.status);
+};
diff --git a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/route.js b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/route.js
index fa4e2b8..225dbe8 100644
--- a/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/route.js
+++ b/packages/robot-system/src/modules/RobotSystemManage/ScreenViewManage/route.js
@@ -1,6 +1,6 @@
const route =
{
- path: '/ScreenViewManage',
+ path: '/RobotSystemManage/ScreenViewManage',
name: 'ScreenViewManage',
component: () => import('./index.vue'),
title: 'ScreenViewManage',
diff --git a/packages/robot-system/src/modules/RobotSystemManage/route.js b/packages/robot-system/src/modules/RobotSystemManage/route.js
index 7004222..11fb981 100644
--- a/packages/robot-system/src/modules/RobotSystemManage/route.js
+++ b/packages/robot-system/src/modules/RobotSystemManage/route.js
@@ -1,6 +1,6 @@
const route =
{
- path: '/RobotSystemManage',
+ path: 'RobotSystemManage',
name: 'RobotSystemManage',
component: () => import('./index.vue'),
title: 'RobotSystemManage',
diff --git a/packages/robot-system/src/modules/SysConfig/Tenant/index.vue b/packages/robot-system/src/modules/SysConfig/Tenant/index.vue
index 76a5e75..332ec9d 100644
--- a/packages/robot-system/src/modules/SysConfig/Tenant/index.vue
+++ b/packages/robot-system/src/modules/SysConfig/Tenant/index.vue
@@ -3,8 +3,8 @@
* @Version: 1.0
* @Autor: chen_yt
* @Date: 2022-07-11 13:43:40
- * @LastEditors: 江荣宝 jiangrongbao@bysoft.com
- * @LastEditTime: 2025-05-19 15:15:40
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:44:52
-->
@@ -31,10 +31,11 @@ export default {
//普通租户和非saas模式下阻止进入租户管理
//非saas下想进入请去掉SAAS_TYPE.NOT_SAAS
beforeRouteEnter(to, from, next) {
- if (saasPermission([SAAS_TYPE.TENANT, SAAS_TYPE.NOT_SAAS])) {
- next('/404')
- return
- }
+ // #delete 后续删除
+ // if (saasPermission([SAAS_TYPE.TENANT, SAAS_TYPE.NOT_SAAS])) {
+ // next('/404')
+ // return
+ // }
next()
return
}
diff --git a/packages/robot-system/src/modules/systemCheckout/index.vue b/packages/robot-system/src/modules/systemCheckout/index.vue
index 0bb008b..4822048 100644
--- a/packages/robot-system/src/modules/systemCheckout/index.vue
+++ b/packages/robot-system/src/modules/systemCheckout/index.vue
@@ -234,7 +234,6 @@ export default {
},
changeSystem(path,name) {
console.log(path,name)
- debugger
if(name){
localStorage.setItem('systemname',name.replace(/
/g, ''))
diff --git a/packages/robot-system/src/router/index.js b/packages/robot-system/src/router/index.js
index 09e169b..7ddaf8e 100644
--- a/packages/robot-system/src/router/index.js
+++ b/packages/robot-system/src/router/index.js
@@ -1,15 +1,15 @@
/*
* @Author: wei_jt@ecidi.com
* @Date: 2019-11-01 11:28:49
- * @LastEditors: chen_yt
- * @LastEditTime: 2022-11-08 14:15:22
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:59:16
* @Description: 路由根配置
*/
-import Vue from 'vue'
-import Router from 'vue-router'
-import { addAlias } from '@/utils/route'
+import Vue from 'vue';
+import Router from 'vue-router';
+import { addAlias } from '@/utils/route';
-Vue.use(Router)
+Vue.use(Router);
/**
* Note: sub-menu only appear when route children.length >= 1
@@ -72,12 +72,12 @@ export const constantRoutes = [
}
]
}
-]
+];
/**
- * @description: 被qiankun访问时加载
+ * @description: 被qiankun访问时加载
*/
-export const microappRoutes = []
+export const microappRoutes = [];
/**
* @description: 非qiankun下加载
@@ -90,7 +90,7 @@ export const independentRoutes = [
},
{
path: '/distribute',
- name:'distribute',
+ name: 'distribute',
component: () => import('@/modules/Error/distribute'),
meta: { config: ['fullScreen'], keepOrigin: true }
},
@@ -119,8 +119,7 @@ export const independentRoutes = [
{
path: '/unified',
name: 'unified',
- component: () =>
- import('@/modules/UnifiedAuthentication/UnifiedLogin/index'),
+ component: () => import('@/modules/UnifiedAuthentication/UnifiedLogin/index'),
meta: { config: ['fullScreen'] }
},
//统一认证-单点登录登录
@@ -134,8 +133,7 @@ export const independentRoutes = [
{
path: '/authenticationSuccess',
name: 'authenticationSuccess',
- component: () =>
- import('@/modules/UnifiedAuthentication/authenticationSuccess/index'),
+ component: () => import('@/modules/UnifiedAuthentication/authenticationSuccess/index'),
meta: { config: ['fullScreen'] }
},
//回调跳转内部系统示例
@@ -200,61 +198,81 @@ export const independentRoutes = [
{
path: 'profile',
name: 'privacyCenter',
- component: () =>
- import('@/modules/PersonalCenter/PrivacyCenter/index.vue'),
+ component: () => import('@/modules/PersonalCenter/PrivacyCenter/index.vue'),
title: 'PERSONAL_CENTER'
},
{
path: 'message',
name: 'MessageCenter',
- component: () =>
- import('@/modules/PersonalCenter/MessageCenter/index.vue'),
+ component: () => import('@/modules/PersonalCenter/MessageCenter/index.vue'),
title: 'MESSAGE_CENTER'
}
]
},
{
- path: '/error',
- name: 'error',
- redirect: '/404',
- component: () => import('@/modules/Error/index.vue'),
- meta: { config: ['fullScreen'] },
+ path: 'RobotSystemManage',
+ name: 'RobotSystemManage',
+ component: () => import('@/modules/RobotSystemManage/index.vue'),
+ title: 'RobotSystemManage',
children: [
{
- name: '404',
- path: '/404',
- component: () => import('@/modules/Error/Error.vue'),
- props: { type: 404 },
- meta: { config: ['fullScreen'] }
- },
- {
- name: '403',
- path: '/403',
- component: () => import('@/modules/Error/Error.vue'),
- props: { type: 403 },
- meta: { config: ['fullScreen'] }
- },
- {
- name: '500',
- path: '/500',
- component: () => import('@/modules/Error/Error.vue'),
- props: { type: 500 },
- meta: { config: ['fullScreen'] }
+ path: '/RobotSystemManage/ScreenViewManage',
+ name: 'ScreenViewManage',
+ component: () => import('@/modules/RobotSystemManage/ScreenViewManage/index.vue'),
+ title: 'ScreenViewManage',
+ children: [
+ {
+ path: '/RobotSystemManage/ScreenViewManage/TaskScreenView',
+ name: 'TaskScreenView',
+ component: () => import('@/modules/RobotSystemManage/ScreenViewManage/TaskScreenView/index.vue'),
+ title: '大屏任务'
+ }
+ ]
}
]
}
-]
+ // {
+ // path: '/error',
+ // name: 'error',
+ // redirect: '/404',
+ // component: () => import('@/modules/Error/index.vue'),
+ // meta: { config: ['fullScreen'] },
+ // children: [
+ // {
+ // name: '404',
+ // path: '/404',
+ // component: () => import('@/modules/Error/Error.vue'),
+ // props: { type: 404 },
+ // meta: { config: ['fullScreen'] }
+ // },
+ // {
+ // name: '403',
+ // path: '/403',
+ // component: () => import('@/modules/Error/Error.vue'),
+ // props: { type: 403 },
+ // meta: { config: ['fullScreen'] }
+ // },
+ // {
+ // name: '500',
+ // path: '/500',
+ // component: () => import('@/modules/Error/Error.vue'),
+ // props: { type: 500 },
+ // meta: { config: ['fullScreen'] }
+ // }
+ // ]
+ // }
+];
export function createRouter() {
//作为子应用运行时不加载基础路由
- let newBaseRoutes = Vue.prototype.$InQianKun ? microappRoutes : independentRoutes
+ let newBaseRoutes = Vue.prototype.$InQianKun ? microappRoutes : independentRoutes;
//加载自定义路由
- newBaseRoutes = newBaseRoutes.concat(constantRoutes)
+ newBaseRoutes = newBaseRoutes.concat(constantRoutes);
if (Vue.prototype.$subApp) {
for (let i = 0; i < newBaseRoutes.length; i++) {
- addAlias(newBaseRoutes[i])
+ addAlias(newBaseRoutes[i]);
}
}
return new Router({
@@ -264,85 +282,77 @@ export function createRouter() {
}),
routes: [...newBaseRoutes]
// base:'app'
- })
+ });
}
// Detail see: https://github.com/vuejs/vue-router/issues/1234#issuecomment-357941465
export function resetRouter() {
- let newRouter = createRouter()
- router.matcher = newRouter.matcher // reset router
- newRouter = null
+ let newRouter = createRouter();
+ router.matcher = newRouter.matcher; // reset router
+ newRouter = null;
}
export function setRoutes(routes) {
- resetRouter()
+ resetRouter();
if (Vue.prototype.$subApp) {
for (let i = 0; i < routes.length; i++) {
- addAlias(routes[i])
+ addAlias(routes[i]);
}
}
if (router.addRoutes) {
- router.addRoutes(routes)
- return
+ router.addRoutes(routes);
+ return;
}
- routes.forEach(item => router.addRoute(item))
+ routes.forEach((item) => router.addRoute(item));
}
// 重写Push方法
-const originalPush = Router.prototype.push
+const originalPush = Router.prototype.push;
Router.prototype.push = function push(location, onResolve, onReject) {
- let prefix = Vue.prototype.$appBasePath
+ let prefix = Vue.prototype.$appBasePath;
if (typeof location === 'string' && !location.includes(prefix)) {
- location = prefix + location
+ location = prefix + location;
}
- if (
- typeof location === 'object' &&
- !location.name &&
- !location.path.includes(prefix)
- ) {
+ if (typeof location === 'object' && !location.name && !location.path.includes(prefix)) {
if (!(location.meta?.keepOrigin || location.query?.keepOrigin)) {
- location.path = prefix + location.path
+ location.path = prefix + location.path;
}
}
if (onResolve || onReject) {
- return originalPush.call(this, location, onResolve, onReject)
+ return originalPush.call(this, location, onResolve, onReject);
}
- return originalPush.call(this, location).catch((err) => err)
-}
+ return originalPush.call(this, location).catch((err) => err);
+};
//重写Replace方法
-const originalReplace = Router.prototype.replace
+const originalReplace = Router.prototype.replace;
Router.prototype.replace = function replace(location, onResolve, onReject) {
- let prefix = Vue.prototype.$appBasePath
+ let prefix = Vue.prototype.$appBasePath;
if (typeof location === 'string' && !location.includes(prefix)) {
- location = prefix + location
+ location = prefix + location;
}
- if (
- typeof location === 'object' &&
- !location.name &&
- !location.path.includes(prefix)
- ) {
+ if (typeof location === 'object' && !location.name && !location.path.includes(prefix)) {
if (!(location.meta?.keepOrigin || location.query?.keepOrigin)) {
- location.path = prefix + location.path
+ location.path = prefix + location.path;
}
}
if (onResolve || onReject) {
- return originalReplace.call(this, location, onResolve, onReject)
+ return originalReplace.call(this, location, onResolve, onReject);
}
- return originalReplace.call(this, location).catch((err) => err)
-}
+ return originalReplace.call(this, location).catch((err) => err);
+};
-const router = createRouter()
+const router = createRouter();
-export default router
+export default router;
diff --git a/packages/robot-system/src/routerGuards.js b/packages/robot-system/src/routerGuards.js
index f5ede2e..9d9cc64 100644
--- a/packages/robot-system/src/routerGuards.js
+++ b/packages/robot-system/src/routerGuards.js
@@ -3,8 +3,8 @@
* @Version: 1.0
* @Autor: chen_yt
* @Date: 2022-03-09 14:34:47
- * @LastEditors: gaochao && bysft
- * @LastEditTime: 2024-11-15 17:17:18
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:42:50
*/
import NProgress from 'nprogress' // progress bar
import 'nprogress/nprogress.css' // progress bar style
@@ -108,11 +108,12 @@ class normalBeforeGuards {
}
//校验密码
- let status = await checkPwdStatus()
- if (status) {
- this.next({ path: status, replace: true })
- return true
- }
+ // let status = await checkPwdStatus()
+ // #delete 后续删除
+ // if (status) {
+ // this.next({ path: status, replace: true })
+ // return true
+ // }
this.next({ ...this.to, replace: true })
return true
diff --git a/packages/robot-system/src/saas/mixins.js b/packages/robot-system/src/saas/mixins.js
index 9ff1f4b..6052021 100644
--- a/packages/robot-system/src/saas/mixins.js
+++ b/packages/robot-system/src/saas/mixins.js
@@ -3,8 +3,8 @@
* @Version: 1.0
* @Autor: chen_yt
* @Date: 2022-06-01 14:44:06
- * @LastEditors: chen_yt
- * @LastEditTime: 2022-06-23 14:41:18
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:44:38
*/
import { saasPermission } from './util'
import { SAAS_TYPE } from '@/config/enums'
@@ -12,10 +12,11 @@ import { SAAS_TYPE } from '@/config/enums'
export default {
beforeRouteEnter(to, from, next) {
- if (saasPermission([SAAS_TYPE.TENANT])) {
- next('/404')
- return
- }
+ // #delete 后续删除
+ // if (saasPermission([SAAS_TYPE.TENANT])) {
+ // next('/404')
+ // return
+ // }
next()
return
diff --git a/packages/robot-system/src/utils/request/index.js b/packages/robot-system/src/utils/request/index.js
index 468f985..81486f5 100644
--- a/packages/robot-system/src/utils/request/index.js
+++ b/packages/robot-system/src/utils/request/index.js
@@ -1,8 +1,8 @@
/*
* @Author: wei_jt@ecidi.com
* @Date: 2019-11-01 11:53:07
- * @LastEditors: zhong_m
- * @LastEditTime: 2022-11-22 10:50:45
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:25:18
* @Description: 封装axios
*/
import axios from 'axios'
@@ -38,6 +38,7 @@ const request = axios.create({
// request interceptor
request.interceptors.request.use(
config => {
+ return
let FawkesBiz = {}
// 通过请求头传递时区
if (store.getters[types.TIMEZONE]) {
@@ -143,6 +144,7 @@ request.interceptors.response.use(
* You can also judge the status by HTTP Status Code
*/
response => {
+ throw new Error('test')
responseEncryptMap.get(response.config.url) && (response = decrypt(response))
if (response.config.responseType == 'blob') {
@@ -170,6 +172,7 @@ request.interceptors.response.use(
},
error => {
+ throw new Error('test')
let message = ''
if (error.response) {
switch (error.response.status) {
diff --git a/packages/robot-system/src/utils/route/index.js b/packages/robot-system/src/utils/route/index.js
index bfe19de..7ddd262 100644
--- a/packages/robot-system/src/utils/route/index.js
+++ b/packages/robot-system/src/utils/route/index.js
@@ -1,8 +1,8 @@
/*
* @Author: wei_jt@ecidi.com
* @Date: 2020-08-27 20:29:37
- * @LastEditors: chen_yt
- * @LastEditTime: 2022-09-06 15:49:49
+ * @LastEditors: XiaoJun
+ * @LastEditTime: 2025-08-26 17:51:28
* @Description: 路由加载
*/
import { setRoutes } from '@/router'
@@ -25,6 +25,7 @@ import { addWildcard, filterSubRoute, importComponent, addAlias } from './extra'
*/
const getLocalRoutes = async function () {
let routes = []
+ return false
const reqs = require.context('@/modules', true, /route\.js$/, 'lazy')
//根据路径载入route文件