@ -85,6 +85,32 @@ const index: FunctionComponent<Props> = (props) => {
<Button type="link" onClick={() => handleEdit(record?.id)}>
{i18nRes["编辑"]}
</Button>
{optWidth && (
<>
<Button
type="link"
onClick={() =>
handleLockEmp({
lockStatus: "LOCK",
acctEmpIds: [record?.id]
})
}
>
{i18nRes["锁定"]}
lockStatus: "UNLOCK",
{i18nRes["解锁"]}
</>
)}
{record?.lockTime && <Text>{record?.lockTime}</Text>}
</Space>
)