fix
13404089107
2025-06-28 f6a8b968dcf4c71aa5de45f26e7f91c83e353454
fix
3个文件已修改
20 ■■■■■ 已修改文件
culture/src/views/middleground/index.vue 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/middleground/service.js 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strain-library/breeding-record/SlantRecordDialog.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/middleground/index.vue
@@ -179,17 +179,18 @@
      }
    },
    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: {
@@ -371,6 +372,7 @@
        justify-content: center;
        align-items: center;
        min-height: 320px;
        .module-item {
          width: 320px;
          height: 320px;
@@ -482,7 +484,7 @@
        border-radius: 1px;
      }
    }
    // 根据布局调整图标和文字大小
    .layout-5 & {
culture/src/views/middleground/service.js
@@ -5,5 +5,5 @@
    return axios.get('/notice/list', { ...data })
}
export const read = (data) => {
    return axios.get(`/open/t-notice/read?id=${data.id}`, { ...data })
    return axios.get(`open/notice/editStatus?id=${data.id}`, { ...data })
}
culture/src/views/strain-library/breeding-record/SlantRecordDialog.vue
@@ -246,7 +246,7 @@
        onSuccess: (res) => {
          if (res.code === 200) {
            const fileObj = {
              name: file.name,
              name: file.name + new Date().getTime(),
              url: getFullUrl(res.msg || res.data || ''),
              uid: new Date().getTime()
            };