Commit cc540568 by zhujian

'fix'

parent a240c246
......@@ -36,7 +36,7 @@ function ExamData(props: any) {
};
const userTypeEnum = {
WE_COM: '企业微信',
WORK_WE_CHAT: '企业微信',
WE_CHAT: '微信'
}
......
......@@ -30,7 +30,7 @@ function DataAnalysic(props: any) {
const [order, setOrder] = useState(sortStatus.type);
const userTypeEnum = {
WE_COM: '企业微信',
WORK_WE_CHAT: '企业微信',
WE_CHAT: '微信'
}
......@@ -117,7 +117,7 @@ function DataAnalysic(props: any) {
{
title: "用户",
dataIndex: "userName",
render: (text: any, record: any) => <span>{text}<span style={{ color: record.userSource === 'WE_COM' ? 'rgba(255, 157, 20, 1)' : 'rgba(29, 204, 101, 1)' }} >@{(userTypeEnum as any)[record.userSource]}</span></span>,
render: (text: any, record: any) => <span>{text}<span style={{ color: record.userSource === 'WORK_WE_CHAT' ? 'rgba(255, 157, 20, 1)' : 'rgba(29, 204, 101, 1)' }} >@{(userTypeEnum as any)[record.userSource]}</span></span>,
},
{
title: "手机号",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment