Merge branch 'ps' into 'master'

Ps

See merge request root/tfse_rating!1
This commit is contained in:
FECR-IBD 2022-03-09 09:00:39 +00:00
commit 9e8e227fad
2 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ class CertificateGenerator:
self.doc.setFont('SIMSUN', 12, leading=5)
self.doc.drawString(2.8 * inch, 433, '统一社会信用代码:{}'.format(self.text_data['统一社会信用代码']))
# ESG得分
self.doc.setFont('SIMSUN', 12, leading=5)
self.doc.setFont('SourceHanSerifCN-Bold', 12, leading=5)
self.doc.setFillColor('#B79249')
self.doc.drawString(5.35 * inch, 357, '{}'.format(self.text_data['ESG得分']))
self.doc.drawString(5.84 * inch, 366, '{}'.format(self.text_data['ESG得分']))
# 评价等级
self.doc.setFont('SourceHanSerifCN-Bold', 35)
self.doc.drawString(3.2 * inch, 285, '{}级企业'.format(self.text_data['评价等级']))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 MiB

After

Width:  |  Height:  |  Size: 191 KiB