update 修改信息技术业报告生成bug
This commit is contained in:
parent
fcedf198ca
commit
dc3068ca3a
|
@ -522,5 +522,4 @@ def infomation_technology(questionnaire):
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
scores = infomation_technology()
|
|
@ -50,9 +50,9 @@ class ReportModel:
|
|||
|
||||
|
||||
if __name__ == '__main__':
|
||||
with open('../Report/static/test/report_data.json', 'r', encoding='utf-8') as f:
|
||||
with open('../Report/static/test/report_data_info.json', 'r', encoding='utf-8') as f:
|
||||
data = json.load(f)
|
||||
with open('../Report/static/ReportTemplates/制造业.json', 'r', encoding='utf-8') as f:
|
||||
with open('../Report/static/ReportTemplates/信息技术业.json', 'r', encoding='utf-8') as f:
|
||||
doc = json.load(f)
|
||||
model = ReportModel(data, doc)
|
||||
model.report_values()
|
||||
|
|
|
@ -165,7 +165,7 @@ def handle_information_content(param1, param2):
|
|||
d_2 = report_data[num][p_value][section][2]
|
||||
report_content[num]['章节内容'][c_num]['小节内容'][2]['段落'] = p_2.format(**d_2)
|
||||
# 第五段数据(表格)
|
||||
report_content[num]['章节内容'][c_num]['小节内容'][4]['表格'] = report_data[num][p_value][section][2]
|
||||
report_content[num]['章节内容'][c_num]['小节内容'][5]['表格'] = report_data[num][p_value][section][3]
|
||||
# 再判断第一段、第二段、第三段数据是否为无数据,为无则删除
|
||||
report_content[num]['章节内容'][c_num]['小节内容'].remove({"段落": "无数据"})
|
||||
length = len(report_content[num]['章节内容'][c_num]['小节内容']) - 1
|
||||
|
|
|
@ -239,17 +239,8 @@
|
|||
],
|
||||
"股东实力": [
|
||||
{
|
||||
"company": "中开民服健康管理有限公司",
|
||||
"found_date": "2020-09-30",
|
||||
"registered_capital": "5000万人民币",
|
||||
"share_holders": "中开民服健康养老产业发展有限公司",
|
||||
"share_rates": "100.00%",
|
||||
"business_scope": "健康管理(须经审批的诊疗活动除外);健康咨询(须经审批的诊疗活动除外);医院管理(须经审批的诊疗活动除外);家庭服务(不符合家政服务通用要求不得开展经营活动);居家养老服务;企业管理咨询;组织文化艺术交流活动(不含演出);承办展览展示活动;销售化妆品、卫生用品、日用品、机械设备、电子产品、第一类医疗器械、第二类医疗器械、计算机、软件及辅助设备;企业管理;技术咨询、技术开发、技术服务、技术转让;计算机系统服务;零售食品;餐饮服务(禁限制售冷热饮)(禁止在居民住宅楼、未配套设立专用烟道的商住综合楼、商住综合楼内与居住层相邻的商业楼层内,新建、改建、扩建产生油烟、异味、废气的饮食服务;禁止新建与居住、医疗卫生、文化教育、科研、行政办公等为主要功能的场所边界水平距离小于9米的项目)。(市场主体依法自主选择经营项目,开展经营活动;零售食品、餐饮服务以及依法须经批准的项目,经相关部门批准后依批准的内容开展经营活动;不得从事国家和本市产业政策禁止和限制类项目的经营活动。)"
|
||||
},
|
||||
{
|
||||
"establish_time": "较短",
|
||||
"capital_strength": "尚可",
|
||||
"support_strength": "对公司的支持力度或较弱"
|
||||
"name": "陈丽华",
|
||||
"enterprise_amount": "旗下无资本实力较强的子公司,对公司支持力度偏弱"
|
||||
}
|
||||
],
|
||||
"对外投资": [
|
||||
|
@ -401,8 +392,142 @@
|
|||
],
|
||||
"资质荣誉": [
|
||||
{
|
||||
"describe": "经查询,公司无技术、服务资质或品牌等方面的荣誉资质。"
|
||||
}
|
||||
"describe": "公司是中国软件协会会员,为高新技术企业,被评为AAA级中国科技创新优秀企业,属于新一代信息技术业企业。"
|
||||
},
|
||||
{
|
||||
"describe": "无数据"
|
||||
},
|
||||
{
|
||||
"describe": "公司品牌知名度较高,被评为中国著名品牌,市场形象较好,有利于业务开展。"
|
||||
},
|
||||
[
|
||||
[
|
||||
"证书类型",
|
||||
"证书编号",
|
||||
"发证日期",
|
||||
"截至日期"
|
||||
],
|
||||
[
|
||||
"药品生产企业",
|
||||
"川20170440",
|
||||
"2020-12-10",
|
||||
"2025-12-09"
|
||||
],
|
||||
[
|
||||
"境内生产药品备案信息公示",
|
||||
"川备201700048",
|
||||
"2017-03-30",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"GMP认证",
|
||||
"SC20170011",
|
||||
"2017-03-03",
|
||||
"2022-02-22"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021503",
|
||||
"2015-06-03",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021502",
|
||||
"2015-06-03",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021500",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021496",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021504",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021497",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021498",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字Z51021501",
|
||||
"2015-06-02",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021605",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021614",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021811",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021817",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021612",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021616",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021602",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021604",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
],
|
||||
[
|
||||
"国产药品",
|
||||
"国药准字H51021603",
|
||||
"2015-05-25",
|
||||
"-"
|
||||
]
|
||||
]
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue