Git Product home page Git Product logo

gardens's Introduction

gardens

QQ 群

简介

基于Beego开发的易用、易扩展、界面友好的轻量级功能权限管理系统。前端框架基于AdminLTE2进行资源整合,包含了多款优秀的插件,是笔者对多年后台管理系统开发经验精华的萃取。 本系统非常适合进行后台管理系统开发,统一的代码和交互给二次开发带来极大的方便,在没有前端工程师参与的情况下就可以进行快速的模块式开发,并保证用户使用的友好性和易用性。系统里整合了众多优秀的资源,在此感谢各位大神的无私奉献。

非原创

特点

  • 分页列表页面的搜索条件、搜索面板、PageSize、当前页数、显示/隐藏列在变化时自动保存,页面刷新后、重新进入时,这些状态依然保持;
  • TreeTabe列表节点展开/收缩状态、滚动条位置时自动保存,页面刷新后、重新进入时,这些状态依然保持;
  • 编辑分页列表、TreeTabe列表中数据后,当前数据行背景闪烁,如果当前数据行由于顺序变化跳出可视区域,则滚动条自动滚动,将当前数据行移动至可视区域;
  • 精确至Action的轻量级功能权限控制,后台用户与角色、角色与资源(菜单、按钮)都是多对多关系,可以灵活配置用户可访问的资源。

后端框架

  • 基于Beego,使用官方的orm、cache、session、logs等模块,感谢原作者提供了如此简单易用的框架(更多信息);
  • 代码风格源自笔者本人其他语言的风格,但参考了多个开源系统的代码风格如 PPGo_ApiAdmin(更多信息)、ERP系统(更多信息)等。

前端框架

  • 基于AdminLTE2(更多信息);
  • 弹出层插件使用了Layer(更多信息);
  • 分页列表使用Bootstrap-table(更多信息),并集成cookie、x-editable等辅助插件(更多信息)实现状态保持、快速编辑等功能。对Bootstrap-table进行了扩展使分页导航可以通过下拉迅速定位。修复Bootstrap-table-cookie的若干Bug;
  • TreeTable列表使用jQuery-treetable插件,按照Boostrap风格进行了样式调整(更多信息);
  • 下拉框使用Bootstrap-select(更多信息);
  • 高亮显示使用的是笔者自已开发的插件;
  • 分页列表里搜索条件、搜索面板状态自动保存使用的是笔者自已开发的插件。

增加部分

  • 增加了font-awesome图标选择的功能;
  • 增加了font-awesome图标显示页面;
  • 增加了d3.js展示客户树信息和可全屏展示(更多信息);
  • 增加了用户登陆信息日志显示;
  • 增加了eCharts和百度地图的展示和全屏展示;
  • 增加了BoxWidget.prototype.maximize功能;
  • 增加了websocket测试实例;
  • 增加了nprogress(更多信息);
  • 增加了bootstrapTable控件表头合并列显示方式(更多信息);
  • 修改dashborad中增加connectedSortable可移动box;
  • 增加了bootstrap-table列宽手工调整功能(更多信息);
  • 对百度地图做了动态线功能
  • 对eCharts拆线图增加了扩大缩小比例尺
  • 增加了对https的支持

安装方法

本系统基于beego开发,默认使用mysql数据库,缓存redis

  • 安装golang环境( 略)
  • 运行MySQL和Redis

使用

  • 安装本系统

    • go get github.com/yunnet/gardens
  • 将doc目录下的gardens.sql和kxtimingdata.sql导入mysql(业务需求,分库治理)

  • 修改配置文件 conf/app.conf

  • 运行在gardens目录使用beego官方提供的命令运行

    • bee run
  • 访问方式

    • http: 在浏览器里打开 http://localhost:8080 进行访问
    • https: 在浏览器里打开 https://localhost:10443 进行访问
  • 升级

    • go 1.17
    • beego v2.0.1

    使用goland请设置代理

    https://goproxy.cn/

系统截图

登陆页面 仪表板

License

  • MIT

gardens's People

Contributors

yunnet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gardens's Issues

数据库导入报错

数据 导入报错,不知道作者用的是啥 mysql 客户端管理工具,以及 mysql 的版本 呢?

run erro--- gardens:runtime error: invalid memory address or nil pointer dereference ?

gardens:runtime error: invalid memory address or nil pointer dereference
stack:
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/asm_amd64.s:573
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/panic.go:502
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/panic.go:63
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/signal_windows.go:167
C:/Users/zhao/go/src/github.com/yunnet/gardens/controllers/HomeController.go:95
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/asm_amd64.s:573
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/reflect/value.go:447
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/reflect/value.go:308
C:/Users/zhao/go/src/github.com/astaxie/beego/router.go:852
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/net/http/server.go:2694
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/net/http/server.go:1830
D:/360极速浏览器下载/go1.10.3.windows-amd64/go/src/runtime/asm_amd64.s:2361

bug

image
这里是不是有问题,参数传不了

初始化SQL

hello,初始化SQL 是不是忘记push了?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.