| | |
| | | |
| | | const getFileStatus = record => { |
| | | let _beforeProduction = |
| | | record.beforeProduction && record.beforeProduction.length; |
| | | (record.commonFileListBeforeVO && record.commonFileListBeforeVO.length) || |
| | | (record.commonFileListBefore && record.commonFileListBefore.length); |
| | | let _afterProduction = |
| | | record.afterProduction && record.afterProduction.length; |
| | | (record.commonFileListVO && record.commonFileListVO.length) || |
| | | (record.commonFileListAfter && record.commonFileListAfter.length); |
| | | let _productionIssues = |
| | | record.productionIssues && record.productionIssues.length; |
| | | (record.commonFileListAfterVO && record.commonFileListAfterVO.length) || |
| | | (record.commonFileListIssue && record.commonFileListIssue.length); |
| | | |
| | | if (_beforeProduction && _afterProduction && _productionIssues) { |
| | | return 2; |
| | | } else if (_beforeProduction || _afterProduction || _productionIssues) { |