|
@@ -206,7 +206,7 @@ func GetMixedTableCellData(mixedTableReq request.MixedTableReq) (newMixedTableCe
|
|
|
if val, ok2 := tmpDateValMap[relationDate]; ok2 {
|
|
|
//cell.ShowValue = fmt.Sprint(val)
|
|
|
cellKeyVal[cell.Uid] = val
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(val)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(val)
|
|
|
}
|
|
|
} else {
|
|
|
// 如果不是取得一个关联的日期,那么就是指定日期
|
|
@@ -237,7 +237,7 @@ func GetMixedTableCellData(mixedTableReq request.MixedTableReq) (newMixedTableCe
|
|
|
}
|
|
|
}
|
|
|
cellKeyVal[cell.Uid] = finalVal
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(finalVal)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(finalVal)
|
|
|
}
|
|
|
}
|
|
|
} else {
|
|
@@ -271,7 +271,7 @@ func GetMixedTableCellData(mixedTableReq request.MixedTableReq) (newMixedTableCe
|
|
|
if val, ok2 := tmpDateValMap[cell.DataTime]; ok2 {
|
|
|
//cell.ShowValue = fmt.Sprint(val)
|
|
|
cellKeyVal[cell.Uid] = val
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(val)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(val)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -382,7 +382,7 @@ func GetMixedTableCellData(mixedTableReq request.MixedTableReq) (newMixedTableCe
|
|
|
}
|
|
|
val := tmpDataMap[cellDateTime]
|
|
|
cellKeyVal[cell.Uid] = val
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(val)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(val)
|
|
|
case request.DateCalculateDataDT: //日期计算
|
|
|
dateCalculateList = append(dateCalculateList, cell.Uid)
|
|
|
// 遍历数组,根据公式进行计算,并将得到的结果放到对应的单元格中
|
|
@@ -436,7 +436,7 @@ func GetMixedTableCellData(mixedTableReq request.MixedTableReq) (newMixedTableCe
|
|
|
}
|
|
|
|
|
|
cellKeyVal[cell.Uid] = val
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(val)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(val)
|
|
|
config[cellPosition.Column][cellPosition.Row] = cell
|
|
|
|
|
|
}
|
|
@@ -1053,7 +1053,7 @@ func handlerDateCalculate(dateCalculateList []string, calculateCellMap map[strin
|
|
|
return
|
|
|
}
|
|
|
|
|
|
- cell.ShowValue = utils.FormatTableDataShowValue(val)
|
|
|
+ cell.ShowValue = utils.FormatMixTableDataShowValue(val)
|
|
|
config[cellPosition.Column][cellPosition.Row] = cell
|
|
|
}
|
|
|
}
|