项目初始化

This commit is contained in:
2026-03-19 14:05:43 +08:00
parent 2b5863a739
commit 6501f775d6
6 changed files with 26 additions and 22 deletions

View File

@@ -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 数据库配置

View File

@@ -1,8 +1,9 @@
<template>
ggg
</template>
<script>
</script>
<style>
</style>
</style>

View File

@@ -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');

View File

@@ -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];

View File

@@ -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;

View File

@@ -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 数据库配置