|
@@ -562,8 +562,6 @@ func Report(c *gin.Context) {
|
|
currentLine := 0.0
|
|
currentLine := 0.0
|
|
// 3. 线上扣分详情
|
|
// 3. 线上扣分详情
|
|
{
|
|
{
|
|
- //columnNumber := 3.0 // 列数
|
|
|
|
- //tableCellWidth := tableWidth / columnNumber // 单元格宽度
|
|
|
|
tableCellWidth := 450.0 // 单元格宽度
|
|
tableCellWidth := 450.0 // 单元格宽度
|
|
{
|
|
{
|
|
pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)
|
|
pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)
|
|
@@ -599,8 +597,7 @@ func Report(c *gin.Context) {
|
|
currentLine := 0.0
|
|
currentLine := 0.0
|
|
// 3. 线上扣分详情
|
|
// 3. 线上扣分详情
|
|
{
|
|
{
|
|
- columnNumber := 3.0 // 列数
|
|
|
|
- tableCellWidth := tableWidth / columnNumber // 单元格宽度
|
|
|
|
|
|
+ tableCellWidth := 450.0 // 单元格宽度
|
|
for i := 8; i < 10; i++ {
|
|
for i := 8; i < 10; i++ {
|
|
{
|
|
{
|
|
pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)
|
|
pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)
|