diff --git a/src/components/Common/CommonTable/index.js b/src/components/Common/CommonTable/index.js index a5fbc82..cffc435 100644 --- a/src/components/Common/CommonTable/index.js +++ b/src/components/Common/CommonTable/index.js @@ -2184,12 +2184,12 @@ class CommonTableRc extends React.Component { if (!bEnabled) return; let newValue = ""; - if (!value) { + if (!value || value ==='/') { newValue = "✓"; } else if (["1", "✓"].includes(value)) { newValue = "✗"; - } else { - newValue = "✓"; + }else if (["0", "✗"].includes(value)) { + newValue = "/"; } const dataNew = [...this.props.data]; @@ -2260,6 +2260,22 @@ class CommonTableRc extends React.Component { ✗ ); + } else if (value === "3" || value === '/') { + return ( +