diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/addModel.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/addModel.vue index 2dd6cd68f..91e823422 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/addModel.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/addModel.vue @@ -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 diff --git a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue index b461f2cca..b9b56c28a 100644 --- a/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue +++ b/src/pages/processCenter/pages/creatProcess/policyConsultation/components/solicitationList.vue @@ -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]