|
@@ -1648,10 +1648,15 @@ func GetTableDataByCustomData(excelType int, data request.TableDataReq) (selfTab
|
|
|
|
|
|
// 指标数据列
|
|
|
for _, tmpData := range tmpEdbInfo.Data {
|
|
|
+ background := ``
|
|
|
+ if tmpData.DataType == 5 {
|
|
|
+ background = "#ffefdd"
|
|
|
+ }
|
|
|
dataCol = append(dataCol, LuckySheetDataValue{
|
|
|
- Value: tmpData.Value,
|
|
|
- Monitor: tmpData.ShowValue,
|
|
|
- MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Value: tmpData.Value,
|
|
|
+ Monitor: tmpData.ShowValue,
|
|
|
+ MergeCell: LuckySheetDataConfigMerge{},
|
|
|
+ Background: background,
|
|
|
})
|
|
|
}
|
|
|
|