Browse Source

update

add_mode
DengBiao 1 year ago
parent
commit
c4b9dcd385
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go

+ 4
- 2
app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go View File

@@ -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)
//表头被第一行用了,只能从第二行开始


Loading…
Cancel
Save