culture/src/views/deliveryAssessment/projectTeamIntegral/detail.vue
@@ -131,9 +131,12 @@ }, created() { getDetailData(this.$route.query.id).then(res => { if(!res.detailExperimentVOS){ res.detailExperimentVOS = []; } this.detailData = res; // 确保detailExperimentVOS存在且是数组 this.detailData.detailExperimentVOS = this.detailData.detailExperimentVOS || []; // this.detailData.detailExperimentVOS = this.detailData.detailExperimentVOS || []; if (this.detailData.detailExperimentVOS.length) { this.selectedExperimenter = this.detailData.detailExperimentVOS[0]; this.activeNameTab = this.selectedExperimenter.userName; culture/src/views/strainReportLibrary/reportLibraryOneFour/add.vue
@@ -325,7 +325,7 @@ add(params).then(res => { if (res.code == 200) { this.$message.success('发送成功'); this.$router.push('/strainReportLibrary/reportLibraryOne'); this.$router.push('/strainReportLibrary/reportLibraryFour'); } }) }); @@ -353,7 +353,7 @@ add(params).then(res => { if (res.code == 200) { this.$message.success('保存成功'); this.$router.push('/strainReportLibrary/reportLibraryOneFour'); this.$router.push('/strainReportLibrary/reportLibraryFour'); } }) } catch (e) { culture/src/views/strainReportLibrary/reportLibraryOneFour/index.vue
@@ -202,7 +202,7 @@ }) }, handleAddProject() { this.$router.push('/strainReportLibrary/addThree') this.$router.push('/strainReportLibrary/addFour') }, handleCurrentChange(page) { this.queryForm.pageNum = page culture/src/views/strainReportLibrary/reportLibraryOneThree/add.vue
@@ -323,7 +323,7 @@ add(params).then(res => { if (res.code == 200) { this.$message.success('发送成功'); this.$router.push('/strainReportLibrary/reportLibraryOneThree'); this.$router.push('/strainReportLibrary/reportLibraryThree'); } }) });