Commit d22c5654 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化

parent 852fcaa9
...@@ -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: "状态", // {
dataIndex: "enabled", // title: "状态",
customRender: (text) => { // dataIndex: "enabled",
if (text === 1) { // customRender: (text) => {
return <a-tag color="green">启用</a-tag>; // if (text === 1) {
} else if (text === 0) { // return <a-tag color="green">启用</a-tag>;
return <a-tag color="red">停用</a-tag>; // } else if (text === 0) {
} // 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