平台件项目库修改bug

This commit is contained in:
zyx.net
2023-09-27 15:52:30 +08:00
parent c91ccf9b36
commit 49c675e1ee
2 changed files with 9 additions and 2 deletions
@@ -199,7 +199,7 @@
projectLibraryId: this.$route.query.id
}
downloadFile('/platform/projectLibraryBase/exportProjectProgressStatisticsXls',
this.queryForm.projectName+'-'+this.queryForm.projectVersion+'-'+this.$t('projectProgressStatistics') + '.xls', query)
this.queryForm.projectNameId+'-'+this.queryForm.projectVersion+'-'+this.$t('projectProgressStatistics') + '.xls', query)
},
versionStatisticsClick() {
@@ -115,9 +115,16 @@
},
handleOk() {
if(this.formInline.list){
this.formInline.list.forEach(item => {
this.formInline.list.forEach((item,index) => {
item.projectId = this.$route.query.id
console.log(item.nodeName)
console.log(item.nodeTime)
if((item.nodeName == '' || item.nodeName == undefined) && (item.nodeTime == ''| item.nodeTime == undefined)){
console.log(index)
this.formInline.list.splice(index, 1) // 调用splice方法删除指定的对象
}
})
this.formInline.list = this.formInline.list
}
this.$refs.ruleForm.validate(valid => {
if (valid) {