IO-2239 Removed total title

This commit is contained in:
swtmply
2023-04-14 23:33:14 +08:00
parent 86e909e4e9
commit 79e2fecb24
2 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
import { CalendarOutlined } from "@ant-design/icons";
import { Card, Col, Row, Statistic } from "antd";
import { Card, Col, Divider, Row, Statistic } from "antd";
import _ from "lodash";
import moment from "moment";
import React, { useMemo } from "react";
@@ -177,6 +177,9 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
<Statistic value={values.toDatePaint.toFixed(1)} />
</Col>
</Row>
<Row>
<Divider style={{ margin: 5 }} />
</Row>
<Row>
<Col {...statSpans}></Col>
<Col {...statSpans}>
@@ -186,7 +189,6 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
</Col>
<Col {...statSpans}>
<Statistic
title={t("general.labels.total")}
value={(
Util.WeeklyTargetHrs(
bodyshop.scoreboard_target.dailyBodyTarget,
@@ -206,7 +208,6 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
</Col>
<Col {...statSpans}>
<Statistic
title={t("general.labels.total")}
value={(
Util.MonthlyTargetHrs(
bodyshop.scoreboard_target.dailyBodyTarget,
@@ -221,7 +222,6 @@ export function ScoreboardTargetsTable({ bodyshop, scoreBoardlist }) {
</Col>
<Col {...statSpans}>
<Statistic
title={t("general.labels.total")}
value={(
Util.AsOfTodayTargetHrs(
bodyshop.scoreboard_target.dailyBodyTarget,