in src/routes/System/Dict/index.js [301:333]
title: getIntlContent("SHENYU.DIC.NAME"),
dataIndex: "dictName",
key: "dictName",
ellipsis:true,
// width: 200,
render: (text,record) => {
let content =(
<div>
<p>
<span style={{color:"#204969"}}>{getIntlContent("SHENYU.DIC.DESCRIBE")}</span> :
<span style={{color:"#1f640a"}}>{record.desc}</span>
</p>
<p>
<span style={{color:"#204969"}}>{getIntlContent("SHENYU.DIC.CODE")}</span>:
<span style={{color:"#1f640a"}}>{record.dictCode}</span>
</p>
<p>
<span style={{color:"#204969"}}>{getIntlContent("SHENYU.DIC.TYPE")}</span> :
<span style={{color:"#1f640a"}}>{record.type}</span>
</p>
<p>
<span style={{color:"#204969"}}>{getIntlContent("SHENYU.SYSTEM.CREATETIME")}</span> :
<span style={{color:"#1f640a"}}>{record.dateCreated}</span>
</p>
<p>
<span style={{color:"#204969"}}>{getIntlContent("SHENYU.SYSTEM.UPDATETIME")}</span> :
<span style={{color:"#1f640a"}}>{record.dateUpdated}</span>
</p>
</div>
);
return <Popover placement="topLeft" content={content} title={getIntlContent("SHENYU.DIC.DESCRIBE")}><div style={{color: "#1f640a"}}>{text || "----"}</div></Popover>
}