diff --git a/README.md b/README.md index aa6570e..a25b88e 100644 --- a/README.md +++ b/README.md @@ -18,12 +18,33 @@ Kinit 是一套全部开源的快速开发平台,毫无保留给个人及企业免费使用。 - 🧑🤝🧑前端采用 [vue-element-plus-admin](https://gitee.com/kailong110120130/vue-element-plus-admin) 、[Vue3](https://cn.vuejs.org/guide/introduction.html)、[Element Plus](https://element-plus.gitee.io/zh-CN/guide/design.html)、[TypeScript](https://www.tslang.cn/),等主流技术开发。 -- 👭后端采用 Python 语言高性能 [FastAPI](https://fastapi.tiangolo.com/zh/) 框架以及强大的 Mysql 数据库。 +- 👭后端采用 Python 语言以及现代、快速(高性能) [FastAPI](https://fastapi.tiangolo.com/zh/) 框架。 - 👫权限认证使用[(哈希)密码和 JWT Bearer 令牌的 OAuth2](https://fastapi.tiangolo.com/zh/tutorial/security/oauth2-jwt/),支持多终端认证系统。 - 👬支持加载动态权限菜单,多方式轻松权限控制。 -- 💏特别鸣谢:[django-vue-admin](https://gitee.com/liqianglog/django-vue-admin) 、 [vue-element-plus-admin](https://gitee.com/kailong110120130/vue-element-plus-admin)。 - 开箱即用的中后台解决方案,可以用来作为新项目的启动模版,也可用于学习参考。并且时刻关注着最新技术动向,尽可能的第一时间更新。 +## 💏特别鸣谢 + +[ELADMIN](https://eladmin.vip/demo):项目基于 Spring Boot 2.1.0 、 Jpa、 Spring Security、redis、Vue的前后端分离的后台管理系统。 + +[django-vue-admin](https://gitee.com/liqianglog/django-vue-admin):基于RBAC模型的权限控制的一整套基础开发平台,前后端分离,后端采用 django+django-rest-framework,前端采用 vue+ElementUI。 + +[vue-element-plus-admin](https://gitee.com/kailong110120130/vue-element-plus-admin):一套基于vue3、element-plus、typescript4、vite3的后台集成方案 + +[Ant Design Pro](https://preview.pro.ant.design/dashboard/analysis):开箱即用的中台前端/设计解决方案 + +[Gin-Vue-Admin](https://demo.gin-vue-admin.com):基于vite+vue3+gin搭建的开发基础平台(支持TS,JS混用),集成jwt鉴权,权限管理,动态路由,显隐可控组件,分页封装,多点登录拦截,资源权限,上传下载,代码生成器,表单生成器等开发必备功能。 + +[Vben Admin (vvbin.cn)](https://vvbin.cn/next):Vue Vben Admin 是一个免费开源的中后台模版。使用了最新的`vue3`,`vite2`,`TypeScript`等主流技术开发,开箱即用的中后台前端解决方案,也可用于学习参考。 + +[中华人民共和国行政区划 (github.com)](https://github.com/modood/Administrative-divisions-of-China):省级(省份)、 地级(城市)、 县级(区县)、 乡级(乡镇街道)、 村级(村委会居委会) ,中国省市区镇村二级三级四级五级联动地址数据。 + +[Vue Admin Plus](https://vue-admin-beautiful.com/admin-plus/#/index):vue-admin-better是github开源admin中最优秀的集成框架之一,它是国内首个基于vue3.0的开源admin项目,同时支持电脑,手机,平板,默认分支使用vue3.x+antdv开发,master分支使用的是vue2.x+element开发。 + +[小诺开源技术 (xiaonuo.vip)](https://www.xiaonuo.vip/):国内首个国密前后端分离快速开发平台 + +[my-web:](https://gitee.com/newgateway/my-web):MyWeb 是一个企业级中后台前端/设计解决方案的的项目工程模板,它可以帮助你快速搭建企业级中后台产品原型 + ## 在线体验 👩👧👦演示地址:http://kinit.ktianc.top/ @@ -49,11 +70,7 @@ github地址:https://github.com/vvandk/kinit 👩👦👦 - [x] 📚字典管理:对系统中经常使用的一些较为固定的数据进行维护。 -- [ ] 📁附件管理:对平台上所有文件、图片等进行统一管理。 - -- [ ] 🗓️登录日志:用户登录日志记录和查询。 - -- [ ] 🗓️操作日志:系统正常操作日志记录和查询;系统异常信息日志记录和查询。 +- [ ] 📁附件管理:对平台上所有文件、图片等进行统一管理,对接阿里云OSS。 - [x] 🔒登录认证:目前支持用户使用手机号+密码方式登录。 @@ -61,6 +78,32 @@ github地址:https://github.com/vvandk/kinit 👩👦👦 说明:用户在第一次登录时,必须修改当前用户密码。 +- [x] 系统配置:对本系统环境信息进行动态配置 + + 网站标题,LOGO,描述,ICO,备案号,底部内容,百度统计代码,等等 + +- [ ] 数据分析:根据用户的登录用户地址分析出哪个地区的人最多 + +- [x] 🗓️登录日志:用户登录日志记录和查询。 + +- [x] 🗓️操作日志:系统用户每次操作功能时的详细记录。 + +- [ ] **🗓️异常日志:获取并展示接口异常日志** + +- [x] 🧾接口文档:提供自动生成的交互式 API 文档,与 ReDoc 文档 + +- [x] 导入导出:灵活支持数据导入导出功能 + +- [x] 手机验证码登录功能’ + +## TODO + +- [ ] 考虑支持多机部署方案,如果接口使用多机,那么用户是否支持统一认证 +- [ ] **自动化编排服务:使用docker-compose部署项目** +- [ ] **数据库备份:自动备份数据库** +- [ ] **接入数据大屏** +- [ ] **可视化低代码表单:接入低代码表单,https://vform666.com/vform3.html?from=element_plus** + ## 前序准备 - [FastAPI](https://fastapi.tiangolo.com/zh/) - 熟悉后台接口 Web 框架 @@ -73,6 +116,18 @@ github地址:https://github.com/vvandk/kinit 👩👦👦 - [Element-Plus](https://gitee.com/link?target=https%3A%2F%2Felement-plus.org%2F) - element-plus 基本使用 - [Mock.js](https://gitee.com/link?target=https%3A%2F%2Fgithub.com%2Fnuysoft%2FMock) - mockjs 基本语法 +### 依赖包 + +#### 前端 + +- [vue3-json-viewer](https://gitee.com/isfive/vue3-json-viewer):简单易用的json内容展示组件,适配vue3和vite。 +- [vue3-slide-verify](https://github.com/monoplasty/vue3-slide-verify):滑块验证码插件 vue3 + typescript +- [SortableJS/vue.draggable.next](https://github.com/SortableJS/vue.draggable.next):Vue 组件 (Vue.js 3.0) 允许拖放和与视图模型数组同步。 + +#### 后端 + +- [iP查询接口文档](https://user.ip138.com/ip/doc):IP查询第三方服务,有1000次的免费次数 + ## 安装和使用 获取代码 diff --git a/images/1.png b/images/1.png index ed824a5..f098268 100644 Binary files a/images/1.png and b/images/1.png differ diff --git a/images/2.png b/images/2.png index d06955b..a3beeb3 100644 Binary files a/images/2.png and b/images/2.png differ diff --git a/images/3.png b/images/3.png index e6fd10c..253f5a0 100644 Binary files a/images/3.png and b/images/3.png differ diff --git a/images/4.png b/images/4.png index 0e7eb9b..321ead8 100644 Binary files a/images/4.png and b/images/4.png differ diff --git a/images/5.png b/images/5.png index 91a681e..7f7bffe 100644 Binary files a/images/5.png and b/images/5.png differ diff --git a/kinit-admin/.env.base b/kinit-admin/.env.base deleted file mode 100644 index 71f37f1..0000000 --- a/kinit-admin/.env.base +++ /dev/null @@ -1,11 +0,0 @@ -# 环境 -NODE_ENV=development - -# 接口前缀 -VITE_API_BASEPATH=base - -# 打包路径 -VITE_BASE_PATH=/ - -# 标题 -VITE_APP_TITLE=Kinit diff --git a/kinit-admin/.env.dev b/kinit-admin/.env.dev index e6876bf..3e2b7d0 100644 --- a/kinit-admin/.env.dev +++ b/kinit-admin/.env.dev @@ -1,11 +1,8 @@ # 环境 -NODE_ENV=production +NODE_ENV=development -# 接口前缀 -VITE_API_BASEPATH=dev - -# 打包路径 -VITE_BASE_PATH=/dist-dev/ +# 访问基础路径 +VITE_BASE_PATH=/ # 是否删除debugger VITE_DROP_DEBUGGER=false @@ -16,8 +13,8 @@ VITE_DROP_CONSOLE=false # 是否sourcemap VITE_SOURCEMAP=true -# 输出路径 +# 打包输出路径 VITE_OUT_DIR=dist-dev # 标题 -VITE_APP_TITLE=Kinit +VITE_APP_TITLE=后台系统-开发 diff --git a/kinit-admin/.env.gitee b/kinit-admin/.env.gitee deleted file mode 100644 index 0b509d8..0000000 --- a/kinit-admin/.env.gitee +++ /dev/null @@ -1,23 +0,0 @@ -# 环境 -NODE_ENV=production - -# 接口前缀 -VITE_API_BASEPATH=pro - -# 打包路径 -VITE_BASE_PATH=/kinit/ - -# 是否删除debugger -VITE_DROP_DEBUGGER=true - -# 是否删除console.log -VITE_DROP_CONSOLE=true - -# 是否sourcemap -VITE_SOURCEMAP=false - -# 输出路径 -VITE_OUT_DIR=dist-pro - -# 标题 -VITE_APP_TITLE=Kinit diff --git a/kinit-admin/.env.pro b/kinit-admin/.env.pro index 8b687fe..d8206ac 100644 --- a/kinit-admin/.env.pro +++ b/kinit-admin/.env.pro @@ -1,10 +1,7 @@ # 环境 NODE_ENV=production -# 接口前缀 -VITE_API_BASEPATH=pro - -# 打包路径 +# 访问基础路径 VITE_BASE_PATH=/ # 是否删除debugger @@ -16,8 +13,8 @@ VITE_DROP_CONSOLE=true # 是否sourcemap VITE_SOURCEMAP=false -# 输出路径 +# 打包输出路径 VITE_OUT_DIR=dist-pro # 标题 -VITE_APP_TITLE=Kinit +VITE_APP_TITLE=后台系统 diff --git a/kinit-admin/.env.test b/kinit-admin/.env.test deleted file mode 100644 index 47fc83d..0000000 --- a/kinit-admin/.env.test +++ /dev/null @@ -1,23 +0,0 @@ -# 环境 -NODE_ENV=production - -# 接口前缀 -VITE_API_BASEPATH=test - -# 打包路径 -VITE_BASE_PATH=/dist-test/ - -# 是否删除debugger -VITE_DROP_DEBUGGER=false - -# 是否删除console.log -VITE_DROP_CONSOLE=false - -# 是否sourcemap -VITE_SOURCEMAP=true - -# 输出路径 -VITE_OUT_DIR=dist-test - -# 标题 -VITE_APP_TITLE=Kinit diff --git a/kinit-admin/CHANGELOG.md b/kinit-admin/CHANGELOG.md index e41e0c3..bd72fa1 100644 --- a/kinit-admin/CHANGELOG.md +++ b/kinit-admin/CHANGELOG.md @@ -2,6 +2,86 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.8.3](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.8.2...v1.8.3) (2022-10-28) + + +### Performance Improvements + +* 优化描述组件 ([73ecc98](https://github.com/kailong321200875/vue-element-plus-admin/commit/73ecc98671d430013920246d98ce9ab1752e56eb)) + +## [1.8.2](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.8.1...v1.8.2) (2022-10-18) + + +### Bug Fixes + +* Correct spelling of words(aciton →action) ([eb405b2](https://github.com/kailong321200875/vue-element-plus-admin/commit/eb405b2a9041ca0ad4455db79bf617ec910dc485)) +* Correct spelling of words(tigger →trigger) ([c2ca2d7](https://github.com/kailong321200875/vue-element-plus-admin/commit/c2ca2d736c92e02380923a6741450844acb41a38)) + +## [1.8.1](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.8.0...v1.8.1) (2022-10-11) + + +### Bug Fixes + +* 修复cutMenu收起时 ([993af6b](https://github.com/kailong321200875/vue-element-plus-admin/commit/993af6bb6576249e66e0c0ea592ebf851f65ab8c)) + + +### Styling + +* cutMenu层级样式 ([32d2408](https://github.com/kailong321200875/vue-element-plus-admin/commit/32d2408588c487cff2cf73e3cc132e5105ff4459)) + +## [1.8.0](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.7.1...v1.8.0) (2022-10-10) + + +### Features + +* types优化 ([3351155](https://github.com/kailong321200875/vue-element-plus-admin/commit/33511553cd9055b036b2d7491f9c2eda123f8b22)) + + +### Styling + +* 优化第四种布局 ([122fa62](https://github.com/kailong321200875/vue-element-plus-admin/commit/122fa62d859413d16175e0d97c7bf13f232dbb3a)) + +## [1.7.1](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.7.0...v1.7.1) (2022-10-10) + + +### Bug Fixes + +* 修正types提示错误 ([ef3e006](https://github.com/kailong321200875/vue-element-plus-admin/commit/ef3e006859dcd8b93ffb7cffcaeae24cbb330f2a)) + +## [1.7.0](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.6.6...v1.7.0) (2022-10-09) + + +### Features + +* type抽离 ([8b4fa1a](https://github.com/kailong321200875/vue-element-plus-admin/commit/8b4fa1aa21aa2c1379288315ccd64a6f3375be51)) + +## [1.6.6](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.6.5...v1.6.6) (2022-10-09) + + +### Bug Fixes + +* table search params ([a62929a](https://github.com/kailong321200875/vue-element-plus-admin/commit/a62929a8dac21028d3dd1cddf98189492c33b093)) + +## [1.6.5](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.6.4...v1.6.5) (2022-10-08) + + +### Bug Fixes + +* The attribute of option does not work ([d946920](https://github.com/kailong321200875/vue-element-plus-admin/commit/d946920e61ed81beacf9f1f8be7ee1f50505f64d)) + + +### Performance Improvements + +* perf store ([d416178](https://github.com/kailong321200875/vue-element-plus-admin/commit/d416178d69ca6100be4b635922b1a22d27629f08)) +* token test ([b320e65](https://github.com/kailong321200875/vue-element-plus-admin/commit/b320e658d1a559a6eaebdf374d63649c223c2ecd)) + +## [1.6.4](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.6.3...v1.6.4) (2022-09-21) + + +### Bug Fixes + +* fix bug ([da39f3b](https://github.com/kailong321200875/vue-element-plus-admin/commit/da39f3bc904ca2d80f432a31709725f9a57deb19)) + ## [1.6.3](https://github.com/kailong321200875/vue-element-plus-admin/compare/v1.6.2...v1.6.3) (2022-08-20) diff --git a/kinit-admin/README.md b/kinit-admin/README.md index f7a0340..8ea862b 100644 --- a/kinit-admin/README.md +++ b/kinit-admin/README.md @@ -56,6 +56,12 @@ git clone https://github.com/kailong321200875/vue-element-plus-admin.git - 安装依赖 ```bash +临时修改 +pnpm --registry https://registry.npm.taobao.org install any-touch + +持久使用 +pnpm config set registry https://registry.npm.taobao.org + cd vue-element-plus-admin pnpm install diff --git a/kinit-admin/index.html b/kinit-admin/index.html index 507d616..0dd08ca 100644 --- a/kinit-admin/index.html +++ b/kinit-admin/index.html @@ -1,8 +1,8 @@ - +
- +