|
@@ -451,20 +451,20 @@ function nextYear() {
|
|
|
function monthStatusStyle(row, month) {
|
|
|
const index = row.details.findIndex((v) => v.month === month);
|
|
|
if (index >= 0) {
|
|
|
- pageSize: 20
|
|
|
- backgroundColor: getStatusColor(row.details[index].status),
|
|
|
+ return {
|
|
|
+ backgroundColor: getStatusColor(row.details[index].status),
|
|
|
verticalAlign: "middle",
|
|
|
- width: "14px",
|
|
|
- height: "14px",
|
|
|
+ width: "14px",
|
|
|
+ height: "14px",
|
|
|
};
|
|
|
-} else {
|
|
|
- return {
|
|
|
- backgroundColor: getStatusColor(0),
|
|
|
- verticalAlign: "middle",
|
|
|
- width: "14px",
|
|
|
- height: "14px",
|
|
|
- };
|
|
|
-}
|
|
|
+ } else {
|
|
|
+ return {
|
|
|
+ backgroundColor: getStatusColor(0),
|
|
|
+ verticalAlign: "middle",
|
|
|
+ width: "14px",
|
|
|
+ height: "14px",
|
|
|
+ };
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
function getStatusColor(status) {
|