8.2 供应商解密页解密状态未同步问题修复

This commit is contained in:
jl-zhoujl2
2022-08-02 14:36:40 +08:00
parent 7c41bc48f2
commit 6676fb5943

View File

@ -100,7 +100,7 @@ const FileDecode: React.FC<{}> = () => {
if (JSON.stringify(record) == "{}") { if (JSON.stringify(record) == "{}") {
return ''; return '';
} else { } else {
const status = record?.registerInfoVOList[0].decryptStatus; const status = record?.quoteOrOther == "1" ? record?.registerInfoVOList[0].decryptOtherStatus : record?.registerInfoVOList[0].decryptStatus;
if (status == null || status === '1') { return '未解密' } if (status == null || status === '1') { return '未解密' }
else if (status === '2') { return '解密成功' } else if (status === '2') { return '解密成功' }
else if (status === '3') { return '解密失败' } else if (status === '3') { return '解密失败' }