初始化项目

This commit is contained in:
2026-03-19 21:55:47 +08:00
parent e963bfb9d5
commit fe408e4906
45 changed files with 8260 additions and 668 deletions

View File

@@ -29,10 +29,12 @@
"@ant-design/icons-vue": "7.0.1",
"@element-plus/icons-vue": "^2.3.2",
"@jeesite/assets": "workspace:*",
"@jeesite/biz": "workspace:*",
"@jeesite/cms": "workspace:*",
"@jeesite/core": "workspace:*",
"@jeesite/dbm": "workspace:*",
"@jeesite/dfm": "workspace:*",
"@jeesite/erp": "workspace:*",
"@jeesite/test": "workspace:*",
"@jeesite/types": "workspace:*",
"@jeesite/vite": "workspace:*",

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 31 KiB

View File

@@ -0,0 +1,22 @@
- 官方网站:<https://jeesite.com>
- 使用文档:<https://jeesite.com/docs>
- 后端代码:<https://gitee.com/thinkgem/jeesite5>
- 前端代码:<https://gitee.com/thinkgem/jeesite-vue>
------
<div align="center">
如果你喜欢 JeeSite请给她一个 ⭐️ Star您的支持将是我们前行的动力。
</div>
------
- 问题反馈:<https://gitee.com/thinkgem/jeesite-vue/issues> [【新手必读】](https://gitee.com/thinkgem/jeesite5/issues/I18ARR)
- 需求收集:<https://gitee.com/thinkgem/jeesite-vue/issues/new>
- QQ 群:`127515876``209330483``223507718``709534275``730390092``1373527``183903863(外包)`
- 微信群:添加客服微信 <http://s.jeesite.com> 邀请您进群
- 关注微信公众号,了解最新动态:
<p style="padding-left:40px">
<img alt="JeeSite微信公众号" src="https://jeesite.com/assets/images/mp.png" width="220" height="220">
</p>

View File

@@ -0,0 +1,30 @@
{
"name": "@jeesite/biz",
"version": "5.15.1",
"private": true,
"type": "module",
"scripts": {
"type:check": "vue-tsc --noEmit --skipLibCheck",
"uninstall": "rimraf node_modules",
"update": "ncu -u"
},
"dependencies": {
"qs": "6.14.0"
},
"devDependencies": {
"@types/qs": "6.9.18"
},
"homepage": "https://jeesite.com",
"repository": {
"type": "git",
"url": "https://gitee.com/thinkgem/jeesite-vue.git"
},
"bugs": {
"url": "https://gitee.com/thinkgem/jeesite-vue/issues"
},
"author": {
"name": "ThinkGem",
"email": "thinkgem@163.com",
"url": "https://gitee.com/thinkgem"
}
}

View File

@@ -0,0 +1,20 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@jeesite/biz/*": ["./*"]
}
},
"include": [
"./**/*.ts",
"./**/*.tsx",
"./**/*.vue"
],
"exclude": [
"node_modules",
"vite.config.ts",
"_lib",
"dist"
]
}

View File

@@ -4,7 +4,7 @@
-->
<template>
<div class="anticon" :class="getAppLogoClass" @click="goHome">
<img src="@jeesite/assets/images/logo.png" v-show="!!!showTitle" />
<img src="@jeesite/assets/images/logo.png" v-show="showTitle" />
<div class="ml-2 truncate md:opacity-100" :class="getTitleClass" v-show="showTitle">
{{ getTitle }}
</div>

View File

@@ -1,19 +1,6 @@
<template>
<RouterView>
<template #default="{ Component, route }">
<!--<transition
:name="
getTransitionName({
route,
openCache,
enableTransition: getEnableTransition,
cacheTabs: getCaches,
def: getBasicTransition,
})
"
mode="out-in"
appear
>-->
<keep-alive v-if="openCache" :include="getCaches">
<component :is="Component" :key="route.fullPath" />
</keep-alive>

View File

@@ -38,20 +38,15 @@
<Button type="link" size="small" @click="setLoginState(LoginStateEnum.RESET_PASSWORD)">
{{ t('sys.login.forgetPassword') }}
</Button>
<!--<Button type="link" size="small" @click="setLoginState(LoginStateEnum.REGISTER)">
{{ t('sys.login.registerButton') }}
</Button>-->
</FormItem>
</ACol>
</ARow>
<FormItem class="enter-x">
<Button type="primary" size="large" block @click="handleLogin" :loading="loading">
<Button type="primary" size="defult" block @click="handleLogin" :loading="loading">
{{ t('sys.login.loginButton') }}
</Button>
</FormItem>
</Form>
</div>
</template>
@@ -94,7 +89,7 @@
const emit = defineEmits(['demoMode']);
const formData = reactive({
account: 'system',
account: '',
password: '',
validCode: '',
});

View File

@@ -253,12 +253,7 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
authenticationHeader: 'x-token',
authenticationScheme: '',
// 请求超时时间默认3分钟
timeout: 3 * 60 * 1000,
// 基础接口地址
// baseURL: globSetting.apiUrl,
// 默认请求头设置
// headers: { 'Content-Type': ContentTypeEnum.JSON },
// 如果是form-data格式
timeout: 15 * 60 * 1000,
headers: {
'content-type': ContentTypeEnum.FORM_URLENCODED,
'x-requested-with': 'XMLHttpRequest',
@@ -297,11 +292,3 @@ function createAxios(opt?: Partial<CreateAxiosOptions>) {
);
}
export const defHttp = createAxios();
// other api url
// export const otherHttp = createAxios({
// requestOptions: {
// apiUrl: 'xxx',
// urlPrefix: 'xxx',
// },
// });

View File

@@ -0,0 +1,22 @@
- 官方网站:<https://jeesite.com>
- 使用文档:<https://jeesite.com/docs>
- 后端代码:<https://gitee.com/thinkgem/jeesite5>
- 前端代码:<https://gitee.com/thinkgem/jeesite-vue>
------
<div align="center">
如果你喜欢 JeeSite请给她一个 ⭐️ Star您的支持将是我们前行的动力。
</div>
------
- 问题反馈:<https://gitee.com/thinkgem/jeesite-vue/issues> [【新手必读】](https://gitee.com/thinkgem/jeesite5/issues/I18ARR)
- 需求收集:<https://gitee.com/thinkgem/jeesite-vue/issues/new>
- QQ 群:`127515876``209330483``223507718``709534275``730390092``1373527``183903863(外包)`
- 微信群:添加客服微信 <http://s.jeesite.com> 邀请您进群
- 关注微信公众号,了解最新动态:
<p style="padding-left:40px">
<img alt="JeeSite微信公众号" src="https://jeesite.com/assets/images/mp.png" width="220" height="220">
</p>

View File

@@ -0,0 +1,30 @@
{
"name": "@jeesite/erp",
"version": "5.15.1",
"private": true,
"type": "module",
"scripts": {
"type:check": "vue-tsc --noEmit --skipLibCheck",
"uninstall": "rimraf node_modules",
"update": "ncu -u"
},
"dependencies": {
"qs": "6.14.0"
},
"devDependencies": {
"@types/qs": "6.9.18"
},
"homepage": "https://jeesite.com",
"repository": {
"type": "git",
"url": "https://gitee.com/thinkgem/jeesite-vue.git"
},
"bugs": {
"url": "https://gitee.com/thinkgem/jeesite-vue/issues"
},
"author": {
"name": "ThinkGem",
"email": "thinkgem@163.com",
"url": "https://gitee.com/thinkgem"
}
}

View File

@@ -0,0 +1,20 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@jeesite/erp/*": ["./*"]
}
},
"include": [
"./**/*.ts",
"./**/*.tsx",
"./**/*.vue"
],
"exclude": [
"node_modules",
"vite.config.ts",
"_lib",
"dist"
]
}

31
web-vue/pnpm-lock.yaml generated
View File

@@ -23,6 +23,9 @@ importers:
'@jeesite/assets':
specifier: workspace:*
version: link:packages/assets
'@jeesite/biz':
specifier: workspace:*
version: link:packages/biz
'@jeesite/cms':
specifier: workspace:*
version: link:packages/cms
@@ -35,6 +38,9 @@ importers:
'@jeesite/dfm':
specifier: workspace:*
version: link:packages/dfm
'@jeesite/erp':
specifier: workspace:*
version: link:packages/erp
'@jeesite/test':
specifier: workspace:*
version: link:packages/test
@@ -213,6 +219,16 @@ importers:
packages/assets: {}
packages/biz:
dependencies:
qs:
specifier: 6.14.0
version: 6.14.0
devDependencies:
'@types/qs':
specifier: 6.9.18
version: 6.9.18
packages/cms:
dependencies:
'@jeesite/cms-lib':
@@ -385,6 +401,16 @@ importers:
specifier: 4.0.15
version: 4.0.15(@types/node@24.10.2)(jiti@2.6.1)(less@4.4.2)(terser@5.44.1)(yaml@2.8.2)
packages/erp:
dependencies:
qs:
specifier: 6.14.0
version: 6.14.0
devDependencies:
'@types/qs':
specifier: 6.9.18
version: 6.9.18
packages/test: {}
packages/tests:
@@ -2297,6 +2323,9 @@ packages:
'@types/qs@6.14.0':
resolution: {integrity: sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==}
'@types/qs@6.9.18':
resolution: {integrity: sha512-kK7dgTYDyGqS+e2Q4aK9X3D7q234CIZ1Bv0q/7Z5IwRDoADNU81xXJK/YVyLbLTZCoIwUoDoffFeF+p/eIklAA==}
'@types/range-parser@1.2.7':
resolution: {integrity: sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ==}
@@ -8088,6 +8117,8 @@ snapshots:
'@types/qs@6.14.0': {}
'@types/qs@6.9.18': {}
'@types/range-parser@1.2.7': {}
'@types/resolve@1.20.2': {}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 53 KiB