...
|
...
|
@@ -626,11 +626,15 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (* |
|
|
continue
|
|
|
}
|
|
|
xlsxFile.SetCellStr(v, "B2", v)
|
|
|
xlsxFile.MergeCell(v, "B2", "B4")
|
|
|
//填充第一列数据
|
|
|
xlsxFile.SetCellStr(v, "A2", cycleName)
|
|
|
xlsxFile.SetCellStr(v, "A1", tableHeader.Name)
|
|
|
xlsxFile.SetCellStr(v, "A2", cycleName)
|
|
|
xlsxFile.MergeCell(v, "A2", "A4")
|
|
|
xlsxFile.SetCellStr(v, "A5", "权重")
|
|
|
xlsxFile.MergeCell(v, "A5", "B5")
|
|
|
xlsxFile.SetCellStr(v, "A6", "评估标准")
|
|
|
xlsxFile.MergeCell(v, "A6", "B6")
|
|
|
//日期
|
|
|
dayList := eData.userDayMap[v]
|
|
|
for ii, vv := range dayList {
|
...
|
...
|
@@ -638,7 +642,7 @@ func (srv StaffAssessServeice) ExportUserAssess2(param *query.SummaryCommand) (* |
|
|
axisNum := 7 + 3*ii
|
|
|
axis := fmt.Sprintf("A%d", axisNum)
|
|
|
xlsxFile.SetCellStr(v, axis, vv)
|
|
|
axisEnd := fmt.Sprintf("A%d", axisNum+2)
|
|
|
axisEnd := fmt.Sprintf("B%d", axisNum+2)
|
|
|
xlsxFile.MergeCell(v, axis, axisEnd) //单元格高度按三个单元格合并
|
|
|
}
|
|
|
//第一行
|
...
|
...
|
|