Commit 5cd14aaa authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 9616571b
...@@ -88,10 +88,12 @@ export default { ...@@ -88,10 +88,12 @@ export default {
{ {
title: "密钥", title: "密钥",
dataIndex: "privatKey", dataIndex: "privatKey",
ellipsis: true,
}, },
{ {
title: "渠道密钥", title: "渠道密钥",
dataIndex: "key", dataIndex: "key",
ellipsis: true,
}, },
{ {
title: "机具编码", title: "机具编码",
...@@ -100,6 +102,7 @@ export default { ...@@ -100,6 +102,7 @@ export default {
{ {
title: "机具密钥", title: "机具密钥",
dataIndex: "sm4key", dataIndex: "sm4key",
ellipsis: true,
}, },
{ {
title: "排号认证码", title: "排号认证码",
...@@ -112,18 +115,19 @@ export default { ...@@ -112,18 +115,19 @@ export default {
{ {
title: "统一社会信用代码", title: "统一社会信用代码",
dataIndex: "orgCode", dataIndex: "orgCode",
ellipsis: true,
}, },
{ // {
title: "状态", // title: "状态",
dataIndex: "enabled", // dataIndex: "enabled",
customRender: (text) => { // customRender: (text) => {
if (text === 1) { // if (text === 1) {
return <a-tag color="green">启用</a-tag>; // return <a-tag color="green">启用</a-tag>;
} else if (text === 0) { // } else if (text === 0) {
return <a-tag color="red">停用</a-tag>; // return <a-tag color="red">停用</a-tag>;
} // }
}, // },
}, // },
{ {
title: "操作", title: "操作",
width: "120px", width: "120px",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment