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