修改禅道已知bug

This commit is contained in:
sunFlower
2022-09-30 11:53:50 +08:00
parent e9075d72c0
commit ac49267c7f
3 changed files with 7 additions and 1 deletions
+1
View File
@@ -1316,4 +1316,5 @@ module.exports = {
viewConsistentAssessment:'View Consistent Assessment',
viewAll:'View All',
endProcess:'End Process',
thereForTheCurrentlySelectedData:'There is no standard breakdown for the currently selected data',
}
+1
View File
@@ -1417,4 +1417,5 @@ module.exports = {
viewConsistentAssessment:'查看一致评估',
viewAll:'查看全部',
endProcess:'结束流程',
thereForTheCurrentlySelectedData:'当前所选数据暂无标准分解单',
}
@@ -491,7 +491,11 @@
},
standardDecompositionDocumentClick() {
if (this.standardDecomposition && this.standardDecomposition.length > 0) {
this.$refs.standardDecompositionSheetRef.getData(JSON.parse(JSON.stringify(this.standardDecomposition[0])), this.standardList)
if (this.standardDecomposition[0].sarFileSplitInfoList && this.standardDecomposition[0].sarFileSplitInfoList.length > 0) {
this.$refs.standardDecompositionSheetRef.getData(JSON.parse(JSON.stringify(this.standardDecomposition[0])), this.standardList)
} else {
this.$message.warning(this.$t('thereForTheCurrentlySelectedData'))
}
} else {
this.$message.warning(this.$t('pleaseSelectStandardFirst'))
}