GithubHelp home page GithubHelp logo

lyric777 / book-management-system Goto Github PK

View Code? Open in Web Editor NEW
301.0 8.0 81.0 19.26 MB

Flask + LayUI + SQLite,图书管理系统

Python 99.13% HTML 0.49% JavaScript 0.05% CSS 0.13% Tcl 0.19% PowerShell 0.01% Batchfile 0.01%
flask

book-management-system's Introduction

Book-Management-System

Flask + LayUI + SQLite

2020.8.6:请淘宝店家不要再盗用我的源码去卖钱了!

2019.8.6:2.0版本:https://github.com/lyric777/Book-Management-System-V2 ,使用蓝本,对项目文档结构进行了重组,没有任何功能或页面上的修改

2019.4.27:过段时间有空改成用蓝图写,堆一起写太乱了,顺便也重新理解一下蓝图

使用说明+功能演示:

下载整个程序包,确保系统有python3环境,打开cmd,输入命令(替换成本机的工程目录地址): python F:\book_management_sys\book_management_sys.py runserver

浏览器输入 http://127.0.0.1:5000/ 进入系统

系统分两类用户:普通读者用户,管理员用户。

普通读者用户可以查看图书信息和查看借阅记录,在登录页顶端导航栏切换功能,不用输入用户名、密码。

管理员用户可使用一切功能,账号、密码登陆后,进行日常业务操作。

测试数据: 图书信息书名可填写“学习”“机器”,类别可填写“计算机”等;学生借阅卡可填写:16000001,16000002,16000003(该卡无借阅记录);

管理员功能使用说明

登录页面: 账号:201801 密码:123456,后续页面增加路由保护功能,以下为登录页面演示: image

在主菜单栏点击查询图书信息,选择查询方式(书名,ISBN,作者,类别),并且输入查询内容,进行模糊搜索,渲染表格显示搜索结果;若无查询结果,则提示无结果: image

在主菜单栏点击查询学生信息,输入学生借阅卡号码,进行查询,显示学生基本信息,并且渲染表格显示该学生的借阅记录: image

在主菜单栏点击图书管理,展开二级菜单,点击新书入库,新书入库功能又分为两个子功能,如果采购的书之前图书馆没有,则先点击“新书登记”填写新书的信息,在对该书进行编号,在库存补充子功能里填写图书编号、位置等信息: image

点击图书管理下的“学生借书”,输入要借书的学生借阅卡号码,提供按书名查找、显示可借的图书列表,点击搜索,渲染表格,选中某一行进行借出操作,确认后,表格进行重载,可连续进行借出操作(如果该借阅卡欠费、到期或者已挂失,会给出相应提示信息): image

点击图书管理下的“学生还书”,输入要还书的学生借阅卡号码,点击,显示该学生未还的图书列表,选中某一行进行归还操作,确认后,表格重载,可连续进行归还操作: image

在侧边主菜单点击信息设置,可修改现在登录的管理员的信息,在顶端导航栏,光标移到管理员姓名或头像上,选择查看个人信息或者修改密码: image

普通用户功能使用说明

在登录页面顶端导航栏上选择,查询图书信息或者查询学生信息,页面及使用与管理员功能说明一致: image

book-management-system's People

Contributors

lyric777 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

book-management-system's Issues

flask等版本问题

麻烦可以说一下flask等用到的东西的版本吗?我一直报版本等级过高的错误。

小白不会运行

作者您好,我是一个小白,我把所有依赖都装上了,可以进到login的页面,但是输入账号密码后就Internal Server Error,我想知道完整的一个运行流程是什么样的呢。。。实在不好意思,太笨了

项目跑通一些心得

1.版本问题,主要应该是下面几个
Flask==1.1.4
Flask-Login==0.6.2
Flask-Script==2.0.6
Flask-SQLAlchemy==2.5.1
Flask-WTF==1.1.1
SQLAlchemy==1.4.0
2.用户名密码已经被修改了,建议用navicat连上SQLite查看,方便查看其他数据。SQLite环境也要装好
管理员:201801 123

其他应该就没啥了,还有问题可以加V 13736625256

English version

Please share me english version of the system, do you have ?

程序报错

您好,我用你的程序出现了No module named 'flask._compat'的错误,查找无果,寻求您的帮助

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.