|
|
@@ -7,6 +7,7 @@ import { getLicenseCodeListApi, GetLicenseCodeListProps } from "@/pages/weComTas
|
|
|
import { copy } from '@/utils/utils';
|
|
|
import ActiveCode from './activeCode';
|
|
|
import TransferCode from './transferCode';
|
|
|
+import dayjs from 'dayjs';
|
|
|
|
|
|
const typeEnum = {
|
|
|
1: <Tag color="#f50">基础账号</Tag>,
|
|
|
@@ -171,7 +172,9 @@ const SeatDetails: React.FC = () => {
|
|
|
key: 'expireTime',
|
|
|
width: 155,
|
|
|
align: 'center',
|
|
|
- render: (text) => text || '--'
|
|
|
+ render: (text) => {
|
|
|
+ return <span style={dayjs(text).diff(dayjs(), 'day') < 7 ? { color: 'red' } : {}}>{text || '--'}</span>
|
|
|
+ }
|
|
|
},
|
|
|
{
|
|
|
title: '数据更新时间',
|