Skip to content
This repository has been archived by the owner on Oct 31, 2022. It is now read-only.

Latest commit

 

History

History
65 lines (44 loc) · 3 KB

README_en.md

File metadata and controls

65 lines (44 loc) · 3 KB

Leava

Leave Management Wechat-MiniProgram based on Flask

Feature

Student ask for leave

Staff manage requests

Faculty receive request

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')

Start Wechat miniprogram frontend

Screenshots

demo

More screen shots