Commit 4f657920 authored by wang zhengwei's avatar wang zhengwei

统一json化

parent 5f8e0dd6
...@@ -157,7 +157,8 @@ def edit_report(args): ...@@ -157,7 +157,8 @@ def edit_report(args):
id = args.get('id') id = args.get('id')
type = args.get('type') type = args.get('type')
ifa_id = args.get('ifa_id') ifa_id = args.get('ifa_id')
report_data = args.get('report_data') # report_data = args.get('report_data')
report_data = json.loads(args.get('report_data'))
pdf_name = str(uuid.uuid4()) + '.pdf' pdf_name = str(uuid.uuid4()) + '.pdf'
res = [] res = []
with TAMP_SQL(tamp_diagnose_app_engine) as tamp_diagnose_app: with TAMP_SQL(tamp_diagnose_app_engine) as tamp_diagnose_app:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment