|
|
|
@ -86,10 +86,13 @@ const index: FunctionComponent<Props> = (props) => {
|
|
|
|
|
render: (text: string, record: any) => (
|
|
|
|
|
<span className={styles.contentSpan}>
|
|
|
|
|
<span title={text} className={styles.contentTitle}>{text}</span>
|
|
|
|
|
<Icon type="icon-piliangfenpei" title={i18n["查看拓扑图"]}
|
|
|
|
|
className={styles.diagramIcon}
|
|
|
|
|
onClick={() => handleDiagramTd(item?.dataIndex, record?.id)}
|
|
|
|
|
/>
|
|
|
|
|
{
|
|
|
|
|
(item.lockStatus === "LOCK" || record.lockStatus === "LOCK") ?
|
|
|
|
|
<Icon type="icon-piliangfenpei" title={i18n["查看拓扑图"]}
|
|
|
|
|
className={styles.diagramIcon}
|
|
|
|
|
onClick={() => handleDiagramTd(item?.dataIndex, record?.id)}
|
|
|
|
|
/> : null
|
|
|
|
|
}
|
|
|
|
|
{
|
|
|
|
|
(item.lockStatus === "LOCK" || record.lockStatus === "LOCK") ?
|
|
|
|
|
<LockOutlined title={i18n["锁定的项目值"]}/> : null
|
|
|
|
|