Beispiel #1
0
def ajax_show_task():
    results = {}
    task_name = request.args.get('task_name', '')
    submit_date = request.args.get('submit_date', '')
    state = request.args.get('state', '')
    status = request.args.get('status', '')
    results = search_task(task_name, submit_date, state, status)
    return json.dumps(results)
Beispiel #2
0
def ajax_show_task():
    results = {}
    task_name = request.args.get('task_name', '')
    submit_date = request.args.get('submit_date', '')
    state = request.args.get('state', '')
    status = request.args.get('status', '')
    results = search_task(task_name, submit_date, state, status)
    return json.dumps(results)