Commit d58a9e55 by 赵宇

fix

parent 5b2cd250
...@@ -514,7 +514,7 @@ def enterprise_detail(): ...@@ -514,7 +514,7 @@ def enterprise_detail():
"company_info": company.company_info if company.company_info else "-", # 企业信息 "company_info": company.company_info if company.company_info else "-", # 企业信息
"business_scope": company.business_scope if company.business_scope else "-", "business_scope": company.business_scope if company.business_scope else "-",
# 经营范围 # 经营范围
"high_new": "高新技术企业" if company.high_new else "-", # 高新技术企业 # "high_new": "高新技术企业" if company.high_new else "-", # 高新技术企业
"legal": company.legal if company.legal else "-", # 法定代表人 "legal": company.legal if company.legal else "-", # 法定代表人
"status": company.status if company.status else "-", # 状态 "status": company.status if company.status else "-", # 状态
"build_date": str(company.build_date)[:10] if company.build_date else "-", # 创建时间 "build_date": str(company.build_date)[:10] if company.build_date else "-", # 创建时间
...@@ -529,6 +529,16 @@ def enterprise_detail(): ...@@ -529,6 +529,16 @@ def enterprise_detail():
# "choice": "3" # "choice": "3"
"tax_code": company.tax_code if company.tax_code else "-", "tax_code": company.tax_code if company.tax_code else "-",
"register_code": company.register_code if company.register_code else "-", "register_code": company.register_code if company.register_code else "-",
"high_new": '高新技术企业' if company.high_new == 1 else "-",
"tbe": '科技型中小企业' if company.tbe == 1 else "-",
# "fianacing": '融资企业' if company.fianacing == 1' else "-",
"quoted_company": '上市企业' if company.quoted_company == 1 else "-",
# "patent": '专利企业' if company.patent == 1' else "-",
"unicorn": '独角兽企业' if company.unicorn == 1 else "-",
"dengl": '瞪羚' if company.dengl == 1 else "-",
"isfive": '中国500强' if company.isfive == 1 else "-",
"zjtg": '中国500强' if company.zjtg == 1 else "-",
}, },
# 经营状况数据封装 # 经营状况数据封装
"select2_info": { "select2_info": {
......
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