|
@@ -944,8 +944,9 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
{
|
|
|
firstCol := make([]LuckySheetDataValue, 0)
|
|
|
firstCol = append(firstCol, LuckySheetDataValue{
|
|
|
- Value: "日期",
|
|
|
- Monitor: "日期",
|
|
|
+ Value: "日期",
|
|
|
+ Monitor: "日期",
|
|
|
+ Background: "#505b78",
|
|
|
MergeCell: LuckySheetDataConfigMerge{
|
|
|
Row: 0, //行数
|
|
|
Column: 0, //列数
|
|
@@ -960,9 +961,10 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
edbName = v.EdbAliasName
|
|
|
}
|
|
|
firstCol = append(firstCol, LuckySheetDataValue{
|
|
|
- Value: edbName,
|
|
|
- Monitor: edbName,
|
|
|
- MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Value: edbName,
|
|
|
+ Monitor: edbName,
|
|
|
+ Background: "#505b78",
|
|
|
+ MergeCell: LuckySheetDataConfigMerge{},
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -977,9 +979,10 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
for _, v := range data.Data {
|
|
|
name := v.Unit + " / " + v.Frequency
|
|
|
secondCol = append(secondCol, LuckySheetDataValue{
|
|
|
- Value: name,
|
|
|
- Monitor: name,
|
|
|
- MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Value: name,
|
|
|
+ Monitor: name,
|
|
|
+ Background: "#505b78",
|
|
|
+ MergeCell: LuckySheetDataConfigMerge{},
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -1032,8 +1035,9 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
{
|
|
|
firstCol := make([]LuckySheetDataValue, 0)
|
|
|
firstCol = append(firstCol, LuckySheetDataValue{
|
|
|
- Value: "日期",
|
|
|
- Monitor: "日期",
|
|
|
+ Value: "日期",
|
|
|
+ Monitor: "日期",
|
|
|
+ Background: "#505b78",
|
|
|
MergeCell: LuckySheetDataConfigMerge{
|
|
|
Row: 0, //行数
|
|
|
Column: 0, //列数
|
|
@@ -1078,9 +1082,10 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
edbName = tmpEdbInfo.EdbAliasName
|
|
|
}
|
|
|
dataCol = append(dataCol, LuckySheetDataValue{
|
|
|
- Value: edbName,
|
|
|
- Monitor: edbName,
|
|
|
- MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Value: edbName,
|
|
|
+ Monitor: edbName,
|
|
|
+ Background: "#505b78",
|
|
|
+ MergeCell: LuckySheetDataConfigMerge{},
|
|
|
})
|
|
|
}
|
|
|
|
|
@@ -1088,9 +1093,10 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
{
|
|
|
name := tmpEdbInfo.Unit + " / " + tmpEdbInfo.Frequency
|
|
|
dataCol = append(dataCol, LuckySheetDataValue{
|
|
|
- Value: name,
|
|
|
- Monitor: name,
|
|
|
- MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Value: name,
|
|
|
+ Monitor: name,
|
|
|
+ Background: "#505b78",
|
|
|
+ MergeCell: LuckySheetDataConfigMerge{},
|
|
|
})
|
|
|
}
|
|
|
|