|
@@ -903,10 +903,10 @@ var LuckyFontFamilyMap = map[int]string{
|
|
2: "Tahoma",
|
|
2: "Tahoma",
|
|
3: "Verdana",
|
|
3: "Verdana",
|
|
4: "微软雅黑",
|
|
4: "微软雅黑",
|
|
- 5: "宋体", //宋体(Song)、
|
|
|
|
- 6: "黑体", // 黑体(ST Heiti)
|
|
|
|
- 7: "楷体", //楷体(ST Kaiti),
|
|
|
|
- 8: "仿宋", //仿宋(ST FangSong),
|
|
|
|
|
|
+ 5: "宋体", //宋体(Song)、
|
|
|
|
+ 6: "黑体", // 黑体(ST Heiti)
|
|
|
|
+ 7: "楷体", //楷体(ST Kaiti),
|
|
|
|
+ 8: "仿宋", //仿宋(ST FangSong),
|
|
9: "新宋体", //新宋体(ST Song),
|
|
9: "新宋体", //新宋体(ST Song),
|
|
10: "华文新魏",
|
|
10: "华文新魏",
|
|
11: "华文行楷",
|
|
11: "华文行楷",
|
|
@@ -1684,11 +1684,16 @@ func GetTableDataByMixedTableData(config [][]request.MixedTableCellDataReq) (sel
|
|
for _, row := range config {
|
|
for _, row := range config {
|
|
dataCol := make([]LuckySheetDataValue, 0)
|
|
dataCol := make([]LuckySheetDataValue, 0)
|
|
for _, cell := range row {
|
|
for _, cell := range row {
|
|
- dataCol = append(dataCol, LuckySheetDataValue{
|
|
|
|
|
|
+ tmp := LuckySheetDataValue{
|
|
Value: cell.Value,
|
|
Value: cell.Value,
|
|
Monitor: cell.ShowValue,
|
|
Monitor: cell.ShowValue,
|
|
MergeCell: LuckySheetDataConfigMerge{},
|
|
MergeCell: LuckySheetDataConfigMerge{},
|
|
- })
|
|
|
|
|
|
+ }
|
|
|
|
+ if cell.ShowStyle != "" {
|
|
|
|
+ showFormatValue := fmt.Sprintf("%v", cell.ShowFormatValue)
|
|
|
|
+ tmp.Monitor = showFormatValue
|
|
|
|
+ }
|
|
|
|
+ dataCol = append(dataCol, tmp)
|
|
}
|
|
}
|
|
tableDataList = append(tableDataList, dataCol)
|
|
tableDataList = append(tableDataList, dataCol)
|
|
}
|
|
}
|