2022-03-23 15:35:59 +08:00
|
|
|
from company.company_impl import get_head_info_impl, get_industry_analysis_impl, esg_analysis_impl, get_cc_rating_impl
|
2021-12-13 16:04:10 +08:00
|
|
|
|
|
|
|
|
|
|
|
class CompanyIndex:
|
2022-01-27 17:01:38 +08:00
|
|
|
"""
|
|
|
|
企业主页
|
|
|
|
"""
|
2021-12-13 16:04:10 +08:00
|
|
|
|
|
|
|
def __init__(self):
|
|
|
|
self.cid = None
|
2022-01-27 17:01:38 +08:00
|
|
|
self.tab = None
|
2022-02-09 17:34:42 +08:00
|
|
|
self.industry = None
|
2022-01-27 17:01:38 +08:00
|
|
|
|
|
|
|
def get_head_info(self):
|
|
|
|
result = get_head_info_impl(self.cid)
|
|
|
|
return "查询成功", result
|
2021-12-13 16:04:10 +08:00
|
|
|
|
2022-03-23 15:35:59 +08:00
|
|
|
def get_cc_rating(self):
|
|
|
|
return get_cc_rating_impl(self.cid)
|
2021-12-17 17:15:20 +08:00
|
|
|
|
2022-03-23 15:35:59 +08:00
|
|
|
def get_industry_analysis(self):
|
|
|
|
return get_industry_analysis_impl(self.cid)
|
2022-02-24 16:15:04 +08:00
|
|
|
|
|
|
|
def esg_analysis(self):
|
|
|
|
return esg_analysis_impl(self.cid)
|