| | |
| | | size="small" |
| | | type="primary" |
| | | inverted></uni-tag> |
| | | <uni-tag v-else="" |
| | | <uni-tag v-else |
| | | text="未巡检" |
| | | size="small" |
| | | type="warning" |
| | |
| | | |
| | | 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) { |
| | |
| | | icon: "error", |
| | | }); |
| | | }; |
| | | |
| | | |
| | | </script> |
| | | |
| | | <style scoped> |