|
|
@@ -832,11 +832,11 @@ export default { |
|
|
|
const time = new Date().getTime(); |
|
|
|
const params = { |
|
|
|
"ArchId": this.currentFile.id, |
|
|
|
"CreateTime": historyFile.createTime, |
|
|
|
// "CreateTime": historyFile.createTime, |
|
|
|
"CreateUserId": historyFile.creator, |
|
|
|
"CurrentIpfsCid": currentIpfsCid, |
|
|
|
"Id": historyFile.currentHash, |
|
|
|
"ModifyTime": time, |
|
|
|
// "ModifyTime": time, |
|
|
|
"ModifyUserId": sessionStorage.userId, |
|
|
|
"PrevIpfsCid": historyFile.parentHash |
|
|
|
} |
|
|
@@ -2173,7 +2173,7 @@ export default { |
|
|
|
this.fileMilestoneInfo.path = filePath; |
|
|
|
const res = await services.queryProjArchiveHistory(file.id); |
|
|
|
if(res.Code == 0){ |
|
|
|
this.fileMilestoneInfo.hash = res.Data.CurrentIpfsCid; |
|
|
|
this.fileMilestoneInfo.hash = res.Data?.CurrentIpfsCid || ''; |
|
|
|
} |
|
|
|
this.getHistoryFileList(this.fileMilestoneInfo); |
|
|
|
this.currentFile = file; |
|
|
|