Commit f7694656 by dong

fix20230712

parent 40d16fe8
......@@ -74,7 +74,8 @@ def get_jjzb(district, flag):
"people_out": '%.2f元' % datas.people_out if datas.people_out else "-元", # 居民人均可支配收入
"people_per": '%.2f' % datas.people_per if datas.people_per else "-",
"question": datas.question,
"year": str(datas.year) + '年' if flag == 1 else datas.question
# "year": str(datas.year) + '年' if flag == 1 else datas.question
"year": datas.question
} # 居民消费价格指数
else:
df_dic = {"GDP": '', # 地区生产总值
......@@ -86,7 +87,8 @@ def get_jjzb(district, flag):
"people_out": '', # 居民人均可支配收入
"people_per": '',
"question": '',
"year": str(datas.year) + '年' if flag == 1 else datas.question
# "year": str(datas.year) + '年' if flag == 1 else datas.question
"year": datas.question
} # 居民消费价格指数
return df_dic
except Exception as e:
......
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