From c4b9dcd38589889206e661724933cbf3174bb6cf Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 8 Nov 2023 16:47:26 +0800 Subject: [PATCH] update --- .../hdl/enterprise_manage/hdl_self_support_for_school.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go index 121c38e..7ac6e59 100644 --- a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go +++ b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go @@ -1394,10 +1394,12 @@ func SelfSupportForSchoolOrdListExport(c *gin.Context) { return } xlsx.SetCellStyle("Sheet1", "A1", "M1", style) - xlsx.SetColWidth("Sheet1", "A", "B", 35) + xlsx.SetColWidth("Sheet1", "A", "A", 35) + xlsx.SetColWidth("Sheet1", "B", "B", 30) xlsx.SetColWidth("Sheet1", "C", "E", 15) xlsx.SetColWidth("Sheet1", "F", "I", 10) - xlsx.SetColWidth("Sheet1", "J", "K", 20) + xlsx.SetColWidth("Sheet1", "J", "J", 20) + xlsx.SetColWidth("Sheet1", "K", "K", 10) xlsx.SetColWidth("Sheet1", "L", "L", 25) xlsx.SetColWidth("Sheet1", "M", "M", 15) //表头被第一行用了,只能从第二行开始