Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

My #33

Open
wants to merge 94 commits into
base: master
Choose a base branch
from
Open

My #33

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
f103a4d
v1.0.0
1024-lab Nov 16, 2019
2246e8a
v1.0.0
1024-lab Nov 16, 2019
f21cd29
v1.0.0
Nov 17, 2019
877ec4c
v1.0.0
1024-lab Nov 18, 2019
8215740
v1.0.0
Nov 18, 2019
78da1d7
v1.0.0
Nov 23, 2019
44694f5
v1.0.0
1024-lab Nov 23, 2019
cac6c45
v1.0.0
1024-lab Nov 23, 2019
1862a08
v1.0.0
1024-lab Nov 29, 2019
9b3d2a7
v1.0.0
1024-lab Dec 7, 2019
6dbb9ec
java/fix orderby clause which not in SELECT for mysql8
Dec 11, 2019
384613c
java/fix orderby clause which not in SELECT for mysql8
Dec 11, 2019
e613e86
add LICENSE.
1024-lab Dec 11, 2019
a5279ac
Revert "add LICENSE."
Jan 5, 2020
19c82a2
v1.0.1
zhuoluodada Jan 5, 2020
23c2082
add LICENSE.
1024-lab Jan 9, 2020
e55e1b2
v1.0.2 优化home页面的name取值方式
zhuoluodada Jan 11, 2020
215556f
v1.0.4
zhuoluodada Jan 11, 2020
8c3c273
完善后端readme
zhuoluodada Jan 11, 2020
bcc376e
v1.0.5 修复权限保存按钮的显示
zhuoluodada Jan 13, 2020
94873f8
v1.0.6 优化代码生成模板
zhuoluodada Jan 13, 2020
f4eeabe
添加演示图
1024-lab Jan 13, 2020
c9b6aa7
添加演示图
1024-lab Jan 13, 2020
b83e692
添加演示图
1024-lab Jan 13, 2020
53ce005
完善readme
1024-lab Jan 13, 2020
695d336
更新readme
1024-lab Jan 13, 2020
0084a09
更新readme,添加代码规范截图
zhuoluodada Jan 13, 2020
9a23f48
添加部署文档
zhuoluodada Jan 14, 2020
f9a4917
更新readme
zhuoluodada Jan 14, 2020
07f4bbf
v1.0.7 优化权限的单词命名,以及中文命名
zhuoluodada Feb 5, 2020
37172a5
add vue-enum version
zhuoluodada Feb 5, 2020
081555c
v1.0.8
zhuoluodada Feb 12, 2020
478b39d
update readme
zhuoluodada Feb 20, 2020
a6d3ace
v1.0.9
Mar 19, 2020
4d745de
update README.md.
1024-lab Mar 25, 2020
741a002
update README.md.
1024-lab Mar 25, 2020
8394525
v1.1.0
zhuoluodada Apr 7, 2020
a34f5d5
v1.1.0
zhuoluodada Apr 8, 2020
e540cd7
v1.1.0
zhuoluodada Apr 8, 2020
8d70747
v1.1.0
zhuoluodada Apr 8, 2020
1a42250
v1.1.0
zhuoluodada Apr 8, 2020
d53f271
v1.1.0
zhuoluodada Apr 8, 2020
0646df4
v1.1.0
1024-lab Apr 8, 2020
e486c1f
v1.1.0
zhuoluodada Apr 20, 2020
6c0fbbc
v1.1.0
zhuoluodada Apr 20, 2020
029d9b0
去掉qq群
1024-lab May 26, 2020
486cc02
v1.2.0
zhuoluodada Sep 6, 2020
3e95e29
修改单词错误;修改Date为LocalDateTime;修改PageUtil工具类;添加.gitignore;
Turbolisten Sep 7, 2020
418e206
update smart-admin-web/src/views/login/login.less.
my1313677 Sep 10, 2020
68015d3
更新枚举类swagger注解ApiModelPropertyEnum -增加是否隐藏属性hidden默认展示
Turbolisten Sep 18, 2020
2a72e34
还原date
Turbolisten Sep 18, 2020
291674d
!3 【轻量更新修复】修改单词错误;修改PageUtil工具类等等
1024-lab Sep 21, 2020
8f32765
!2 update smart-admin-web/src/views/login/login.less.
1024-lab Sep 21, 2020
70173eb
v1.2.1
zhuoluodada Sep 22, 2020
5811384
git commit
Oct 16, 2020
7211874
git commit
Oct 16, 2020
3b1603a
git commit
Oct 16, 2020
701d956
优化枚举类校验;Decimal工具类增加max,min
Turbolisten Oct 24, 2020
01fe8a7
1.修改quartz问题。2完善数据范围添加策略支持。3修改swaggerbug。4取消验证码
Nov 28, 2020
fa21afa
employee bug修改
Nov 28, 2020
80bee09
!4 EmployeeMapper.xml动态平台修改
1024-lab Nov 29, 2020
b03a911
Merge branch 'master' of gitee.com:lab1024/smart-admin into master
yandygit Nov 29, 2020
fb33580
!5 smartadmin问题修改
zhuoluodada Nov 29, 2020
49da08d
smart-admin-h5
zhuoluodada Nov 29, 2020
29789e2
update README.md.
1024-lab Dec 8, 2020
56df084
update README.md.
1024-lab Dec 8, 2020
0ba5226
update README.md.
1024-lab Dec 8, 2020
46645e5
修复同电话员工校验
lzl-anonym Dec 9, 2020
653f4c2
fix code
zhuoluodada Dec 14, 2020
7e58044
v1.10.0
zhuoluodada Dec 14, 2020
063190c
update .gitignore
Turbolisten Jan 8, 2021
f7155ac
Merge remote-tracking branch 'origin/master'
Turbolisten Jan 9, 2021
ea0159d
优化枚举类校验;优化Swagger配置,添加默认参数;fix删除部门;优化ResponseDTO;
Turbolisten Jan 9, 2021
21cd668
修改数据库字符编码统一为utf8mb4_unicode_ci
Turbolisten Jan 9, 2021
606e763
优化h5项目
zhuoluodada Jan 10, 2021
02560ea
package lock
zhuoluodada Jan 11, 2021
835076c
!7 bug修复及优化
yandygit Jan 18, 2021
111d930
!6 修复同电话员工校验
yandygit Jan 18, 2021
8fc8338
update README.md.
1024-lab Mar 5, 2021
5249c2f
update README.md.
1024-lab Mar 5, 2021
5e43679
update README.md.
1024-lab Mar 5, 2021
355643c
update README.md.
zhuoluodada Apr 15, 2021
b072b9e
update README.md.
zhuoluodada Apr 16, 2021
a135715
去掉引导和修改默认登录账号
zhuoluodada May 2, 2021
c530d8d
add 代码规范/api接口规范.md.
zhuoluodada May 19, 2021
0c0da77
更新api接口规范
zhuoluodada May 19, 2021
fe6ab37
update 代码规范/api接口规范.md.
zhuoluodada May 19, 2021
2d61c21
update 代码规范/api接口规范.md.
zhuoluodada May 19, 2021
1204787
update 代码规范/api接口规范.md.
zhuoluodada May 19, 2021
c692d0e
增加缺失依赖
NexusLi0208 Aug 10, 2021
4fc2976
update
zhuoluodada Sep 13, 2021
b782b95
update README.md.
zhuoluodada Apr 26, 2022
a0f302d
test
Anyuei Sep 21, 2022
7839349
test
Anyuei Sep 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
31 changes: 31 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
HELP.md
target/
!.mvn/wrapper/maven-wrapper.jar
!**/src/main/**
!**/src/test/**

### STS ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache

### IntelliJ IDEA ###
.idea
*.iws
*.iml
*.ipr

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
build/

### VS Code ###
.vscode/
42 changes: 21 additions & 21 deletions front/LICENSE → LICENSE
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
MIT License

Copyright (c) 2017 iView

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
MIT License
Copyright (c) 2020 1024-lab
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
114 changes: 77 additions & 37 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
### SmartAdmin 2.0 (即 vue3 的 js版本和ts版本 )正在火热开发中,欢迎持续关注 !
#### 简介
SmartAdmin由河南·洛阳 [1024创新实验室](https://www.1024lab.net/) (钢圈网旗下)团队研发的一套互联网企业级的通用型中后台前端解决方案! 使用最前沿的前后台技术栈 SpringBoot 和 Vue,开发出的一套简洁、易用的后台管理系统,为广大开发者们节省时间
SmartAdmin由河南·洛阳 [1024创新实验室](https://www.1024lab.net/)团队研发的一套互联网企业级的通用型中后台解决方案!使用最前沿的前后台技术栈SpringBoot和Vue,前后端分离,<font color="#DC143C">**我们开源一套漂亮的代码和一套整洁的代码规范**</font>,让大家在这浮躁的代码世界里感受到一股把代码写好的清流!同时又让开发者节省大量的时间,减少加班,快乐工作,热爱生活。SmartAdmin 让你从认识到忘不了,绝对是你最想要的

我们希望用一套漂亮优雅的代码和一套整洁高效的代码规范,让大家在这浮躁的代码世界里感受到一股把代码写好的清流! 同时对我们而言,这不仅是一套系统,也是我们团队的一次自我审视与成长。身为开发者,我们希望在一次次的披荆斩棘之后,能收获和留下些什么,这正是我们存在的意义!
#### 开源地址 (*欢迎 Star ~ ~ ╰( ̄▽ ̄)╭*)
github: [https://github.com/1024-lab/smart-admin](https://github.com/1024-lab/smart-admin)
gitee: [https://gitee.com/lab1024/smart-admin](https://gitee.com/lab1024/smart-admin)
在线预览: [http://preview.smartadmin.1024lab.net](http://preview.smartadmin.1024lab.net)
部署文档:[http://smartadmin.1024lab.net](http://smartadmin.1024lab.net)

保持谦逊,不断学习,热爱代码,热爱生活 !

#### 在线预览

在线预览: [http://smartadmin.1024lab.net](http://smartadmin.1024lab.net)

演示用户1:demo 密码:123456

演示用户2:demo2 密码:123456

#### 疑惑
有人问:又是个“轮子”? 轮子靠谱吗?为什么要选择你这个轮子?

**1024Lab**回答:它不是“轮子”,而是一套代码,一套规范,一套开发理念,一套思想。
<font color="#DC143C">**1024Lab**回答:
它不是“轮子”,目的不是为了重复造轮子! 我们开源的是一套 “漂亮的代码” 和 “代码规范”。
</font>

#### 理念与思想
- 我们分享的不是代码,不是徒劳无功的堆砌功能,而是你必须的基础功能,比如Vue前端权限、心跳、动态Reload、Keepalived标签页等等,可能还有一些正是你当前项目中缺失的功能。
Expand All @@ -26,42 +23,67 @@ SmartAdmin由河南·洛阳 [1024创新实验室](https://www.1024lab.net/) (
- 我们热爱编程,热爱代码,保持谦逊,不断学习,快乐工作,热爱生活。
- **请相信并认真阅读下面的每一个点,让你感受不一样的编码体验**

#### 技术体系
#### 演示图
<table>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180453_252f5e9f_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180630_ee5b4f46_5469596.png"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180737_9363e283_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180802_aefb78f4_5469596.png"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180821_30fc7aaf_5469596.png")"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180844_01ebd7d2_5469596.png")"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180902_02c8d838_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180918_ff1f7ff5_5469596.png"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180938_86b39645_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/180956_69e25a9c_5469596.png"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181013_791d92f0_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181032_9f0dbbee_5469596.png"/></td>
</tr>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181049_099d0169_5469596.png"/></td>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181104_914c457a_5469596.png"/></td>
</tr>
</table>

- 前端:Vue + Vue-Router + Vuex + ViewUI(iview) + vue-enum
- 后端:SpringBoot2 + Mybatis-plus + jwt + druid + mysql
- 前端代码规范smart-front-standard -guide
- 基于阿里规范之上的后端规范smart-backend-standard-guide

#### 技术体系
- 前端:Vue + Vue-Router + Vuex + ViewUI + vue-enum
- 后端:SpringBoot2 + Mybatis-plus + jwt + druid + mysql
- 前端代码规范smart-front-standard -guide(大力推荐)
- 基于阿里规范之上的后端规范smart-backend-standard-guide(大力推荐)

#### 前端特点
- 高质量的代码、代码结构、和代码注释
- 漂亮的UI,菜单栏、标签页等等
- 漂亮的UI,菜单栏、标签页,体验、交互更好用的员工、部门、角色、菜单管理等等
- 优化基于Keepalive的标签页,做到标签页该缓存的时候缓存,比如左右切换等,不该缓存的时候不缓存,比如新建,表单提交结束等
- 前端常量维护: vue-enum,拒绝出现魔法数字,代码不可维护的现象
- 全新的基于前端的权限设计(忘掉传统的权限设计吧,已经不适合这个前端时代)
- 体验、交互更好用的员工、部门、角色、菜单管理
- 基于websocket的在线人数
- 支持一级、二级、三级菜单
- 支持菜单搜索功能
- 支持一级、二级、三级菜单,四级菜单以及搜索功能
- 其他功能:邮件、富文本、消息、系统配置等等
- 定时任务
- 写不完了,太多好的细节需要你的发现
- 写不完了,太多好的细节需要你的发现......

#### 后端特点
- 高质量的Java代码、分包结构、和代码注释
- 业内独创的请求返回码维护,非常值得一看
- 基于一个注解和controller的权限设计放弃更复杂的shiro
- 完整的数据权限支持
- 基于一个注解和controller的权限设计放弃更复杂的shiro,以及一套数据权限支持
- 四层架构(controller, service, manager, dao)
- 代码阅读性强、扩展性极高的员工、部门、角色、菜单管理
- 基于LRU策略的内存级权限缓存
- 自定义枚举表单验证,BigDecimal验证等
- 配合前端vue-enum的swagger文档注解
- 心跳服务,让你发现有哪些机器再跑,哪些人在偷偷的跑你的Job
- 自定义的quartz job添加和修改,方便测试人员测试
- smart-reload,为系统预留钩子,动态加载,在不重启程序前提下执行一些代码,你懂的
- 其他功能:邮件、富文本、消息、系统配置等等
- 以上只是一些举例,更多灿若繁星的惊喜和细节,等待着你的发现!

#### 前端代码规范
Expand All @@ -73,28 +95,46 @@ SmartAdmin由河南·洛阳 [1024创新实验室](https://www.1024lab.net/) (
- 以及更多,数不胜数让你觉得实用,同时身心愉悦的规范

#### 后端代码规范
- 好多种分包,哪种更合理一些
- 四层架构(controller, service, manager, dao) 是什么,为什么要有四层
- 各个层的代码该怎么写才能让团队配合默契,高度一致
- vo, bo, dto, entity 怎么区分和使用
- vo, bo, dto, entity ,各种javabean 怎么区分和使用
- spring的 @Transactional 你用对了吗
- 方法参数个数、注释、todo这些也要有规范,你遵守过吗
- 以上举例,只是沧海一粟,更多的细节等待你的发现!

ps:以上规范基础都是以团队出发,让团队开心快乐的写代码,而不是为了代码规范而规范。
ps:以上规范基础都是以团队出发,让团队开心快乐的写代码,而不是为了代码规范而规范,不喜勿喷!谢谢

#### 联系我们

[1024创新实验室](https://www.1024lab.net/)
公众号
<table>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2021/0305/210257_cd96d824_5469596.jpeg"/></td>
</tr>
</table>

SmartAdmin微信群(**加我微信拉你入群!**)

1024Lab官方微信号:
<table>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181125_2ab89aa9_5469596.jpeg"/></td>
</tr>
</table>

![](http://cdn.1024lab.net/img/smart-admin/1024lab-wechat.png)

SmartAdmin 官方QQ群:914442584

![](http://cdn.1024lab.net/img/smart-admin/smart-admin-qq-group.png)

官方捐助(微信)

![](http://cdn.1024lab.net/img/smart-admin/zhuoda-wechat-money.jpg)
#### 捐赠
开源不易,感谢捐赠
>*佛祖保佑捐赠这些人写程序永无bug,工资翻倍,迎娶白富美,走上人生巅峰!*
<table>
<tr>
<td><img src="https://images.gitee.com/uploads/images/2020/1208/181143_b6804a87_5469596.jpeg"/></td>
</tr>
</table>

---
作者简介:
[卓大](https://zhuoluodada.cn), 1024创新实验室主任,混迹于各个技术圈,研究过计算机,熟悉点java,略懂点前端。
4 changes: 0 additions & 4 deletions front/.env.development

This file was deleted.

39 changes: 0 additions & 39 deletions front/src/components/main/components/header-bar/header-bar.vue

This file was deleted.

91 changes: 0 additions & 91 deletions front/src/lib/http.js

This file was deleted.

Loading