示例#1
0
def doctorsList():
    """
    get doctor list
    :return:render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('clerk/doctors.html',
                           **clerkSetting(),
                           doctors=data)
示例#2
0
def doctorsCalendar():
    """
    get doctor calendar
    :return: render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('clerk/doctors_calendar.html',
                           **clerkSetting(),
                           doctors=data)
示例#3
0
文件: views.py 项目: jasonshere/MAPS
def makeAppointment():
    """
    make an appointment
    :return: render page
    """
    ds = DoctorService()
    res, doctors = ds.getAll()
    data = doctors['data']
    return render_template('patient/calendar.html',
                           **patientSetting(),
                           doctors=data)