diff --git a/src/pages/atdTable/components/index.less b/src/pages/atdTable/components/index.less index 4703822..62325c9 100644 --- a/src/pages/atdTable/components/index.less +++ b/src/pages/atdTable/components/index.less @@ -77,6 +77,11 @@ } } + .danger { + font-size: 12px; + color: rgb(217, 0, 27) + } + :global { .ant-btn-link, .ant-dropdown-trigger { padding: 0; diff --git a/src/pages/employeeDeclareTable/index.tsx b/src/pages/employeeDeclareTable/index.tsx index 5c41423..198a38c 100644 --- a/src/pages/employeeDeclareTable/index.tsx +++ b/src/pages/employeeDeclareTable/index.tsx @@ -4,6 +4,7 @@ import { ExclamationCircleFilled } from "@ant-design/icons"; import { exceptStr, paginationFun } from "@/utils/common"; import { defaultPage, IPage } from "@/common/types"; import styles from "@/pages/atdTable/components/index.less"; +import cs from "classnames"; const { Text } = Typography; const CommonTable: FC = (props) => { @@ -89,10 +90,13 @@ const CommonTable: FC = (props) => { return { ...it, render: (text: string, record: any) => ( - - - - + {text} + { + record?.declareErrorMsg && + + + + } ) }; }