对接政策征求意见流程

This commit is contained in:
范强强
2023-10-19 14:38:53 +08:00
parent 7af9a9dc1d
commit d256b7e608
2 changed files with 6 additions and 4 deletions
@@ -233,8 +233,6 @@
this.$refs.processFileRef.getFile(this.sarStandardsInfoEO[this.fileListName])
},
uploadSuccess(fileList, fileId) {
console.log(fileList);
console.log(fileId);
this.sarStandardsInfoEO[this.fileListName] = fileList
this.sarStandardsInfoEO[this.fileName] = fileId
this.sarStandardsInfoEO = {...this.sarStandardsInfoEO}
@@ -262,7 +260,7 @@
return
}
let timestamp = new Date().getTime();
if (!this.sarStandardsInfoEO.dataId) {
if (!this.sarStandardsInfoEO.dataId && !this.sarStandardsInfoEO.id) {
this.sarStandardsInfoEO.dataId = timestamp
}
this.isSubmit = true
@@ -298,7 +298,11 @@
this.deleteList.push(val.id)
}
this.histortData = this.histortData.filter(res => {
return res.dataId != val.dataId
if (res.id) {
return res.id != val.id
} else {
return res.dataId != val.dataId
}
})
})
this.histortData = [...this.histortData]