|
@@ -122,9 +122,10 @@ class BasicLayout extends React.PureComponent {
|
|
|
}
|
|
}
|
|
|
if (newNotice.extra && newNotice.status) {
|
|
if (newNotice.extra && newNotice.status) {
|
|
|
const color = ({
|
|
const color = ({
|
|
|
|
|
+ todo: '',
|
|
|
processing: 'blue',
|
|
processing: 'blue',
|
|
|
urgent: 'red',
|
|
urgent: 'red',
|
|
|
- doing: 'yellow',
|
|
|
|
|
|
|
+ doing: 'gold',
|
|
|
})[newNotice.status];
|
|
})[newNotice.status];
|
|
|
newNotice.extra = <Tag color={color}>{newNotice.extra}</Tag>;
|
|
newNotice.extra = <Tag color={color}>{newNotice.extra}</Tag>;
|
|
|
}
|
|
}
|
|
@@ -243,13 +244,13 @@ class BasicLayout extends React.PureComponent {
|
|
|
list={noticeData['通知']}
|
|
list={noticeData['通知']}
|
|
|
title="通知"
|
|
title="通知"
|
|
|
emptyText="你已查看所有通知"
|
|
emptyText="你已查看所有通知"
|
|
|
- emptyImage="https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg"
|
|
|
|
|
|
|
+ emptyImage="https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk.svg"
|
|
|
/>
|
|
/>
|
|
|
<NoticeIcon.Tab
|
|
<NoticeIcon.Tab
|
|
|
list={noticeData['消息']}
|
|
list={noticeData['消息']}
|
|
|
title="消息"
|
|
title="消息"
|
|
|
emptyText="您已读完所有消息"
|
|
emptyText="您已读完所有消息"
|
|
|
- emptyImage="https://gw.alipayobjects.com/zos/rmsportal/wAhyIChODzsoKIOBHcBk.svg"
|
|
|
|
|
|
|
+ emptyImage="https://gw.alipayobjects.com/zos/rmsportal/sAuJeJzSKbUmHfBQRzmZ.svg"
|
|
|
/>
|
|
/>
|
|
|
<NoticeIcon.Tab
|
|
<NoticeIcon.Tab
|
|
|
list={noticeData['待办']}
|
|
list={noticeData['待办']}
|