main
黄海 2 years ago
parent 604e629819
commit 0020bc8b26

@ -359,10 +359,11 @@ def delFormType():
hm.delFormType(type_id)
return jsonify(success=True, message='保存成功')
# 显示某条任务的填报情况
# 根据单位代码获取单位信息
# http://127.0.0.1:8888/Mars/getBureauInfoByOrganizationNo?organizationno=1143014532
@app.route('/Mars/getBureauInfoByOrganizationNo', methods=['GET'])
def getBureauInfoByName():
def getBureauInfoByOrganizationNo():
organizationno = request.args.get("organizationno")
data = hm.getBureauInfoByOrganizationNo(organizationno)
return jsonify(data)

Loading…
Cancel
Save