fix
13404089107
2025-06-28 19ede128b333c313e753651dfbd2437ee59a21a4
fix
1个文件已修改
79 ■■■■ 已修改文件
culture/src/views/middleground/index.vue 79 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/middleground/index.vue
@@ -179,15 +179,78 @@
      }
    },
    toDetail(item) {
      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',
      ]
      // 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',
      // ]
      read({ id: item.id }).then(res => {
        let url = urlList[item.noticeType * 1 - 1]
        this.$router.push({
          path: url,
        });
        if (item.noticeContent.includes('报告库1')) {
          this.$router.push({
            path: '/strainReportLibrary/reportLibraryOne',
          })
        }
        if (item.noticeContent.includes('报告库2')) {
          this.$router.push({
            path: '/strainReportLibrary/reportLibraryTwo',
          })
        }
        if (item.noticeContent.includes('报告库3')) {
          this.$router.push({
            path: '/strainReportLibrary/reportLibraryThree',
          })
        }
        if (item.noticeContent.includes('报告库4')) {
          this.$router.push({
            path: '/strainReportLibrary/reportLibraryFour',
          })
        }
        if (item.noticeContent.includes('原始细胞库验证资料')) {
          this.$router.push({
            path: '/strain/validation/primitive-cell',
          })
        }
        if (item.noticeContent.includes('主细胞库验证资料')) {
          this.$router.push({
            path: '/strain/validation/chief-cell',
          })
        }
        if (item.noticeContent.includes('菌种传代生产谱系图')) {
          this.$router.push({
            path: '/strain/pedigree-vhart',
          })
        }
        if (item.noticeContent.includes('【主细胞库】')) {
          this.$router.push({
            path: '/strain-library/main-cell-library',
          })
        }
        if (item.noticeContent.includes('【原始细胞库】')) {
          this.$router.push({
            path: '/strain-library/strain-library-manage',
          })
        }
        if (item.noticeContent.includes('【生产细胞库】')) {
          this.$router.push({
            path: '/strain-library/production-cell-library',
          })
        }
        if (item.noticeContent.includes('【菌种选育保藏记录】')) {
          this.$router.push({
            path: '/strain/breeding-record',
          })
        }
      })