Esempio n. 1
0
def deleteOESProjectInter():
    oesProjectId = request.args.get('oesProjectId')
    oesInterId = request.args.get('oesInterId')
    deleteRes = oesController().deleteOESProjectInter(oesProjectId, oesInterId)
    return "done"
Esempio n. 2
0
def getOESProjectInterList():
    oesProjectId = request.args.get('oesProjectId')
    OESInterList = oesController().getOESProjectInterList(oesProjectId)
    return json.dumps(OESInterList)
Esempio n. 3
0
def getOESInterById():
    oesInterId = request.args.get('oesInterId')
    OESInterInfo = oesController().getOESInterById(oesInterId)
    return json.dumps(OESInterInfo)
Esempio n. 4
0
def saveOESInter():
    OESInterInfo = json.loads(request.get_data(as_text=True))
    saveRes = oesController().saveOESInter(OESInterInfo)
    return str(saveRes)
Esempio n. 5
0
def deleteOESProjectById():
    oesProjectId = request.get_data(as_text=True)
    deleteRes = oesController().deleteOESProjectById(oesProjectId)
    return "done"
Esempio n. 6
0
def getOESProjectById():
    oesProjectId = request.args.get('oesProjectId')
    res = oesController().getOESProjectById(oesProjectId)
    return json.dumps(res)
Esempio n. 7
0
def getOESProjectList():
    projectName = request.args.get('projectName')
    res = oesController().getOESProjectList(projectName)
    return json.dumps(res)
Esempio n. 8
0
def saveOESProject():
    oesProjectInfo = json.loads(request.get_data(as_text=True))
    res = oesController().saveOESProject(oesProjectInfo)
    return json.dumps(res)