Giter Club home page Giter Club logo

leava's Introduction

Leava

基于Flask + MySQL的在线请假微信小程序

English Version

👋🏻仓库路径声明

  • frontend 为微信小程序源代码

  • backend 为后端源代码和db sql语句

  • docs 为文档,功能流程,架构设计,UI

💡如何启动

搭建指南

任何问题请在Discussions中提问

API

URL explanation
/login post ('userId', 'userPwd'); return (flag etc)
/student/ask_leave post ('student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure'); return (True \ False)
/student/search_leave post ('student_id'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure')
/student/search_leave_detail post('student_id'), return ('student_id','class','name','room')
/teacher/search_leave post('teacher_id'), return('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure')
/teacher/update_leave post('leave_num','flag'); return (True / False)
/teacher2/search_leave post('teacher_id'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure')
/teacher/search_id post('school'), return ('teacher_id','name','role')
/pwd post('userId','userPwd') return (True / False)
/name post('name'), return ('leave_num','student_id','start_time','end_time','reason','flag','teacher1_id','teacher2_id','type','ensure','class','school','room')

🗣用户需求:

  • 学生提交请假请求,查看自己的请假详情和请假是否被批准等情况

  • 辅导员管理学生的请假请求,查看学生请假记录

  • 任课老师接查看学生的请假请求和是否被批准情况

👥用户身份

  1. 学生,用户名为学号, 长度9位
  2. 辅导员,用户名为工号, 长度6位
  3. 任课教师,用户名为工号, 长度6位

🛠技术栈

前端:微信小程序

后端:Flask+微信云开发(上传图片功能使用云开发,其他功能使用Flask)

数据库:MySQL

📸最终效果

demo

More screen shots

🖇功能流程

功能流程

🔩架构设计

 架构设计

👍🏻致谢

Fuhaixu、ZYN、xuyongxiang

leava's People

Contributors

zzjoeyyy avatar zzjoey avatar fuheihei avatar mineidea 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.