| | |
| | | } |
| | | }, |
| | | toDetail(item) { |
| | | // read({ id: item.id }).then(res => { |
| | | |
| | | // }) |
| | | let urlList = ['/strainReportLibrary/reportLibraryOne', '/strainReportLibrary/reportLibraryOne', '/strain-library/strain-library-manage' |
| | | , '/strain/pedigree-vhart', '/strain/breeding-record', '/strain/validation/primitive-cell', |
| | | '/strainReportLibrary/reportLibraryOne', '/strainReportLibrary/reportLibraryOne', '/deliveryAssessment/projectTeamIntegral', |
| | | ] |
| | | , '/strain/pedigree-vhart', '/strain/breeding-record', '/strain/validation/primitive-cell', |
| | | '/strainReportLibrary/reportLibraryOne', '/strainReportLibrary/reportLibraryOne', '/deliveryAssessment/projectTeamIntegral', |
| | | ] |
| | | read({ id: item.id }).then(res => { |
| | | let url = urlList[item.noticeType * 1 - 1] |
| | | this.$router.push({ |
| | | path: url, |
| | | }); |
| | | }) |
| | | |
| | | |
| | | } |
| | | }, |
| | | computed: { |
| | |
| | | justify-content: center; |
| | | align-items: center; |
| | | min-height: 320px; |
| | | |
| | | .module-item { |
| | | width: 320px; |
| | | height: 320px; |
| | |
| | | border-radius: 1px; |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | // 根据布局调整图标和文字大小 |
| | | .layout-5 & { |