对接政策征求意见流程
This commit is contained in:
+1
-3
@@ -233,8 +233,6 @@
|
|||||||
this.$refs.processFileRef.getFile(this.sarStandardsInfoEO[this.fileListName])
|
this.$refs.processFileRef.getFile(this.sarStandardsInfoEO[this.fileListName])
|
||||||
},
|
},
|
||||||
uploadSuccess(fileList, fileId) {
|
uploadSuccess(fileList, fileId) {
|
||||||
console.log(fileList);
|
|
||||||
console.log(fileId);
|
|
||||||
this.sarStandardsInfoEO[this.fileListName] = fileList
|
this.sarStandardsInfoEO[this.fileListName] = fileList
|
||||||
this.sarStandardsInfoEO[this.fileName] = fileId
|
this.sarStandardsInfoEO[this.fileName] = fileId
|
||||||
this.sarStandardsInfoEO = {...this.sarStandardsInfoEO}
|
this.sarStandardsInfoEO = {...this.sarStandardsInfoEO}
|
||||||
@@ -262,7 +260,7 @@
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
let timestamp = new Date().getTime();
|
let timestamp = new Date().getTime();
|
||||||
if (!this.sarStandardsInfoEO.dataId) {
|
if (!this.sarStandardsInfoEO.dataId && !this.sarStandardsInfoEO.id) {
|
||||||
this.sarStandardsInfoEO.dataId = timestamp
|
this.sarStandardsInfoEO.dataId = timestamp
|
||||||
}
|
}
|
||||||
this.isSubmit = true
|
this.isSubmit = true
|
||||||
|
|||||||
+5
-1
@@ -298,7 +298,11 @@
|
|||||||
this.deleteList.push(val.id)
|
this.deleteList.push(val.id)
|
||||||
}
|
}
|
||||||
this.histortData = this.histortData.filter(res => {
|
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]
|
this.histortData = [...this.histortData]
|
||||||
|
|||||||
Reference in New Issue
Block a user