Coder Social home page Coder Social logo

hutubill's Introduction

一本糊涂账



一、功能一览

1、消费一览

统计本月的消费总数,今日消费,日均消费,本月剩余,日均可用,距离月末有多少天。

同时使用一个环形进度条,这个环形进度条不是JDK自带的,需要自己设计,并且随着消费用度,颜色从绿色渐变为红色。

消费一览

2、记一笔

记录本日的消费额度, 分类下拉框从 消费分类数据中读取,并且把经常消费的分类放在前面。

日期默认选中今天,也可以手动指定日期。

记一笔

3、消费分类管理

对消费进行经典的CRUD 增删改查管理,同时显示一个分类下的消费次数。

这里涉及到多表关系: 消费记录和消费分类是多对一关系。

消费分类管理

4、月度消费报表

使用第三方chart类生成柱状报表,显示本月的消费趋势。

月度消费报表

5、设置预算和数据库路径

在消费一览中需要显示本月可能多少金额,都是建立在预算的基础上的。

在设置页面,设置本月的预算金额。

后续的还原和备份,都需要用到数据库的命令mysql和mysqldump,需要在这里配置mysql的安装目录

设置预算和数据库路径

6、备份数据

把数据库中的所有数据,备份到.sql文件中

备份数据

7、恢复数据

根据.sql文件还原数据库

恢复数据

hutubill's People

Contributors

charliecat22 avatar

Watchers

 avatar

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.