Commit 2152bf34 by dong

fix

parent efc13e20
...@@ -567,7 +567,8 @@ def industry_zaiti(): ...@@ -567,7 +567,8 @@ def industry_zaiti():
# if inid: # if inid:
# name = Industry.query.filter_by(nid=inid).first().oname # 获取导航对应的真名 # name = Industry.query.filter_by(nid=inid).first().oname # 获取导航对应的真名
name = IndustryChain.query.filter_by(id=inid).first().industry_name # name = IndustryChain.query.filter_by(id=inid).first().industry_name
name = IndustryChain.query.filter_by(id=inid).first().oname
try: try:
data = get_data(name, industry_level, select_flag, page, perpage) data = get_data(name, industry_level, select_flag, page, perpage)
...@@ -602,7 +603,7 @@ def industry_policy(): ...@@ -602,7 +603,7 @@ def industry_policy():
size = '' size = ''
name = '' name = ''
if inid: if inid:
name = IndustryChain.query.filter_by(id=inid).first().industry_name # 获取导航对应的真名 name = IndustryChain.query.filter_by(id=inid).first().oname # 获取导航对应的真名
# name = '煤层气' # name = '煤层气'
# print(name) # print(name)
if industry_level == 1: if industry_level == 1:
......
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