From fc3ef2d1c47e287cbd8eeda7aaa76e7b888b4c84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BA=8C=E4=B8=AB=E8=AE=B2=E6=A2=B5?= Date: Fri, 1 Jul 2022 16:26:26 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9README=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=BB=A5=E5=8F=8A=E6=81=A2=E5=A4=8D=E6=90=9C=E7=B4=A2?= =?UTF-8?q?=E7=9A=84=E4=B8=80=E4=B8=AA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 71 +++++++++++++++++--------- src/views/groupUser/userList/index.vue | 6 +-- 2 files changed, 50 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 6547ee3..47c470d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,8 @@ -

- - Project logo -

Go Ldap Admin

-
- +[![Auth](https://img.shields.io/badge/Auth-eryajf-ff69b4)](https://github.com/eryajf) [![Go Version](https://img.shields.io/github/go-mod/go-version/eryajf-world/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin) [![Gin Version](https://img.shields.io/badge/Gin-1.6.3-brightgreen)](https://github.com/eryajf/go-ldap-admin) [![Gorm Version](https://img.shields.io/badge/Gorm-1.20.12-brightgreen)](https://github.com/eryajf/go-ldap-admin) @@ -15,30 +10,34 @@ [![GitHub Issues](https://img.shields.io/github/issues/eryajf/go-ldap-admin.svg)](https://github.com/eryajf/go-ldap-admin/issues) [![GitHub Pull Requests](https://img.shields.io/github/issues-pr/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/pulls) [![GitHub Pull Requests](https://img.shields.io/github/stars/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/stargazers) -[![License](https://img.shields.io/badge/license-MIT-blue.svg)](/LICENSE) +[![GitHub license](https://img.shields.io/github/license/eryajf/go-ldap-admin)](https://github.com/eryajf/go-ldap-admin/blob/main/LICENSE)
- ---

🌉 基于Go+Vue实现的openLDAP后台管理项目。

+

+ + Project logo +

+ **目录** -- [在线体验](#%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C) -- [项目地址](#%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80) -- [文档快链](#%E6%96%87%E6%A1%A3%E5%BF%AB%E9%93%BE) -- [感谢](#%E6%84%9F%E8%B0%A2) -- [另外](#%E5%8F%A6%E5%A4%96) -- [加群](#%E5%8A%A0%E7%BE%A4) -- [捐赠](#%E6%8D%90%E8%B5%A0) -- [使用登记](#%E4%BD%BF%E7%94%A8%E7%99%BB%E8%AE%B0) -- [贡献者](#%E8%B4%A1%E7%8C%AE%E8%80%85) +- [🏊 在线体验](#-%E5%9C%A8%E7%BA%BF%E4%BD%93%E9%AA%8C) +- [👨‍💻 项目地址](#-%E9%A1%B9%E7%9B%AE%E5%9C%B0%E5%9D%80) +- [🔗 文档快链](#-%E6%96%87%E6%A1%A3%E5%BF%AB%E9%93%BE) +- [🥰 感谢](#-%E6%84%9F%E8%B0%A2) +- [🤗 另外](#-%E5%8F%A6%E5%A4%96) +- [⚡ 加群](#-%E5%8A%A0%E7%BE%A4) +- [🤑 捐赠](#-%E6%8D%90%E8%B5%A0) +- [📝 使用登记](#-%E4%BD%BF%E7%94%A8%E7%99%BB%E8%AE%B0) +- [🤝 贡献者](#-%E8%B4%A1%E7%8C%AE%E8%80%85) @@ -53,6 +52,37 @@ 在线环境可能不稳,如果遇到访问异常,或者数据错乱,请联系我进行修复。 +**页面功能概览:** + +
👉 展开查看 + +`登陆页` + +![image_20220608_103118](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103118.png) + +- 登录页背景图秉持go-ldap-admin项目定位,以一座抽象的高架桥梁作为背景。 + +- 注意红框中的忘记密码,此处是普通用户在忘记密码的情况下,可通过输入邮箱对密码进行重置,重置成功之后,系统会自动生成密码,并发送到用户邮箱。 + + - 部分公司的企业邮箱也是基于ldap进行认证的,那么这里可能会是个死循环,目前暂时不兼容考虑这种情况,后续如果这个场景的需求比较多,可以考虑再集成其他收信方式。 + + > 以上方式是用户忘记密码之后的自助修改密码方式,还有一种修改密码方式,是用户登录个人账号之后,在个人中心,通过输入原密码以及新密码进行密码重置。 + +`首页` + +![image_20220608_103823](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103823.png) + +目前首页中红框部分内容仅作为占位,并无实际数据含义。 + +`用户管理` + +![image_20220608_103925](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_103925.png) + +`分组管理` + +![image_20220608_104609](https://cdn.staticaly.com/gh/eryajf/tu/main/img/image_20220608_104609.png) +
+ ## 👨‍💻 项目地址 | 分类 | GitHub | Gitee | @@ -118,13 +148,6 @@ 二丫讲梵 - - - OTR37 -
- OTR37 -
- xinyuandd diff --git a/src/views/groupUser/userList/index.vue b/src/views/groupUser/userList/index.vue index ef3e8ce..a6a6a5c 100644 --- a/src/views/groupUser/userList/index.vue +++ b/src/views/groupUser/userList/index.vue @@ -102,7 +102,7 @@ export default { }, methods: { handleClick(tab, event) { - if (tab.index === 0) { + if (tab.index === '0') { this.transParams.nickname = '' this.tabIndex = tab.index this.getTableData() @@ -114,7 +114,7 @@ export default { }, // 搜索框查询 onInput(e) { - if (this.tabIndex === 0) { + if (this.tabIndex === '0') { this.transParams.nickname = e this.getTableData() } else { @@ -124,7 +124,7 @@ export default { }, // 搜索框查询 search() { - if (this.tabIndex === 0) { + if (this.tabIndex === '0') { this.getTableData() } else { this.getNoMenu()