项目初始化
This commit is contained in:
@@ -58,9 +58,9 @@ jdbc:
|
|||||||
# Mysql 数据库配置
|
# Mysql 数据库配置
|
||||||
type: mysql
|
type: mysql
|
||||||
driver: com.mysql.cj.jdbc.Driver
|
driver: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
url: jdbc:mysql://127.0.0.1:13306/my_app?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
||||||
username: root
|
username: dream
|
||||||
password: 123456
|
password: info_dream
|
||||||
testSql: SELECT 1
|
testSql: SELECT 1
|
||||||
|
|
||||||
# # Oracle 数据库配置
|
# # Oracle 数据库配置
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
|
ggg
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -6,7 +6,6 @@ export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
|
|||||||
* @description: default layout
|
* @description: default layout
|
||||||
*/
|
*/
|
||||||
export const LAYOUT = () => import('@jeesite/core/layouts/default/index.vue');
|
export const LAYOUT = () => import('@jeesite/core/layouts/default/index.vue');
|
||||||
export const SCREEN_LAYOUT = () => import('@jeesite/core/layouts/screen/index.vue');
|
|
||||||
export const IFRAME_BLANK = () => import('@jeesite/core/layouts/iframe/FrameBlank.vue');
|
export const IFRAME_BLANK = () => import('@jeesite/core/layouts/iframe/FrameBlank.vue');
|
||||||
export const IFRAME_SIMPLE = () => import('@jeesite/core/layouts/iframe/FrameSimple.vue');
|
export const IFRAME_SIMPLE = () => import('@jeesite/core/layouts/iframe/FrameSimple.vue');
|
||||||
export const EXCEPTION_COMPONENT = () => import('@jeesite/core/layouts/views/exception/Exception.vue');
|
export const EXCEPTION_COMPONENT = () => import('@jeesite/core/layouts/views/exception/Exception.vue');
|
||||||
|
|||||||
@@ -46,5 +46,15 @@ const ModPwdRoute: AppRouteModule = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const BigScreenRoute: AppRouteRecordRaw = {
|
||||||
|
path: '/bigScreen',
|
||||||
|
name: 'BigScreen',
|
||||||
|
component: () => import('@jeesite/core/layouts/screen/index.vue'),
|
||||||
|
meta: {
|
||||||
|
title: t('routes.dashboard.bigScreen'),
|
||||||
|
ignoreAuth: false,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
// Basic routing without permission
|
// Basic routing without permission
|
||||||
export const basicRoutes = [LoginRoute, ModPwdRoute, RootRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE];
|
export const basicRoutes = [LoginRoute, ModPwdRoute, RootRoute, BigScreenRoute, ...mainOutRoutes, REDIRECT_ROUTE, PAGE_NOT_FOUND_ROUTE];
|
||||||
|
|||||||
@@ -1,30 +1,24 @@
|
|||||||
import type { AppRouteModule } from '@jeesite/core/router/types';
|
import type { AppRouteRecordRaw } from '@jeesite/core/router/types';
|
||||||
|
|
||||||
import { SCREEN_LAYOUT } from '@jeesite/core/router/constant';
|
|
||||||
import { t } from '@jeesite/core/hooks/web/useI18n';
|
import { t } from '@jeesite/core/hooks/web/useI18n';
|
||||||
|
import { SCREEN_LAYOUT } from '@jeesite/core/layouts/screen/index.vue';
|
||||||
|
|
||||||
const screen: AppRouteModule = {
|
export const BigScreenRoute: AppRouteRecordRaw = {
|
||||||
path: '/bigScreen',
|
path: '/bigScreen',
|
||||||
name: 'BigScreen',
|
name: 'BigScreen',
|
||||||
component: SCREEN_LAYOUT,
|
component: SCREEN_LAYOUT,
|
||||||
redirect: '/screen/analysis',
|
redirect: '/bigScreen/Analysis',
|
||||||
meta: {
|
meta: {
|
||||||
orderNo: 10,
|
|
||||||
icon: 'i-ant-design:home-outlined',
|
|
||||||
title: t('routes.dashboard.bigScreen'),
|
title: t('routes.dashboard.bigScreen'),
|
||||||
|
ignoreAuth: false, // 需要登录权限
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'bigScreen',
|
path: 'screenAnalysis',
|
||||||
name: 'BigScreen',
|
name: 'ScreenAnalysis',
|
||||||
component: () => import('@jeesite/core/layouts/views/screen/analysis/index.vue'),
|
component: () => import('@jeesite/core/layouts/views/screen/analysis/index.vue'),
|
||||||
meta: {
|
meta: {
|
||||||
icon: 'i-ant-design:home-outlined',
|
|
||||||
tabIcon: 'i-ant-design:home-outlined',
|
|
||||||
title: t('routes.dashboard.bigScreen'),
|
title: t('routes.dashboard.bigScreen'),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
|
|
||||||
export default screen;
|
|
||||||
|
|||||||
@@ -58,9 +58,9 @@ jdbc:
|
|||||||
# Mysql 数据库配置
|
# Mysql 数据库配置
|
||||||
type: mysql
|
type: mysql
|
||||||
driver: com.mysql.cj.jdbc.Driver
|
driver: com.mysql.cj.jdbc.Driver
|
||||||
url: jdbc:mysql://127.0.0.1:3306/jeesite_v5?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
url: jdbc:mysql://127.0.0.1:13306/my_app?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true
|
||||||
username: root
|
username: dream
|
||||||
password: 123456
|
password: info_dream
|
||||||
testSql: SELECT 1
|
testSql: SELECT 1
|
||||||
|
|
||||||
# # Oracle 数据库配置
|
# # Oracle 数据库配置
|
||||||
|
|||||||
Reference in New Issue
Block a user