|
@@ -566,7 +566,9 @@ class AccountDetails extends Component {
|
|
render: (text, record) => (
|
|
render: (text, record) => (
|
|
<span>
|
|
<span>
|
|
<div style={{ width: 70 }}>{text}</div>
|
|
<div style={{ width: 70 }}>{text}</div>
|
|
- <Tag color={["#F21212", "#34DE38", "#ffd400"][record.clockIn]}>{["未打卡", "已打卡", "异常打卡"][record.clockIn]}</Tag>
|
|
|
|
|
|
+ {record.alone == 2 && record.assist == 1
|
|
|
|
+ ? <Tag color="#58a3ff">无需打卡</Tag>
|
|
|
|
+ : <Tag color={["#F21212", "#34DE38", "#ffd400"][record.clockIn]}>{["未打卡", "已打卡", "异常打卡"][record.clockIn]}</Tag>}
|
|
</span>
|
|
</span>
|
|
)
|
|
)
|
|
},
|
|
},
|