项目初始化
This commit is contained in:
@@ -58,9 +58,9 @@ jdbc:
|
||||
# Mysql 数据库配置
|
||||
type: mysql
|
||||
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
|
||||
username: root
|
||||
password: 123456
|
||||
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: dream
|
||||
password: info_dream
|
||||
testSql: SELECT 1
|
||||
|
||||
# # Oracle 数据库配置
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<template>
|
||||
ggg
|
||||
</template>
|
||||
|
||||
<script>
|
||||
</script>
|
||||
|
||||
<style>
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -6,7 +6,6 @@ export const PAGE_NOT_FOUND_NAME = 'PageNotFound';
|
||||
* @description: default layout
|
||||
*/
|
||||
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_SIMPLE = () => import('@jeesite/core/layouts/iframe/FrameSimple.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
|
||||
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 { SCREEN_LAYOUT } from '@jeesite/core/router/constant';
|
||||
import type { AppRouteRecordRaw } from '@jeesite/core/router/types';
|
||||
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',
|
||||
name: 'BigScreen',
|
||||
component: SCREEN_LAYOUT,
|
||||
redirect: '/screen/analysis',
|
||||
redirect: '/bigScreen/Analysis',
|
||||
meta: {
|
||||
orderNo: 10,
|
||||
icon: 'i-ant-design:home-outlined',
|
||||
title: t('routes.dashboard.bigScreen'),
|
||||
ignoreAuth: false, // 需要登录权限
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'bigScreen',
|
||||
name: 'BigScreen',
|
||||
path: 'screenAnalysis',
|
||||
name: 'ScreenAnalysis',
|
||||
component: () => import('@jeesite/core/layouts/views/screen/analysis/index.vue'),
|
||||
meta: {
|
||||
icon: 'i-ant-design:home-outlined',
|
||||
tabIcon: 'i-ant-design:home-outlined',
|
||||
title: t('routes.dashboard.bigScreen'),
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
export default screen;
|
||||
|
||||
@@ -58,9 +58,9 @@ jdbc:
|
||||
# Mysql 数据库配置
|
||||
type: mysql
|
||||
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
|
||||
username: root
|
||||
password: 123456
|
||||
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: dream
|
||||
password: info_dream
|
||||
testSql: SELECT 1
|
||||
|
||||
# # Oracle 数据库配置
|
||||
|
||||
Reference in New Issue
Block a user