Merge pull request 'refactor(project-demand): 优化方案总结提交逻辑' (#1012) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/1012
This commit is contained in:
@@ -553,10 +553,8 @@ const changeCollectData = () => {
|
||||
let params = {
|
||||
...formData.value,
|
||||
deploymentId: deploymentId.value,
|
||||
fileList: [],
|
||||
requirementId: route.query.id ? route.query.id : formData.value.requirementId ? formData.value.requirementId : null
|
||||
}
|
||||
params.fileList = otherFileList.value
|
||||
localStorage.setItem(`collectResubmitData-${route.query.projectId}`, JSON.stringify(params))
|
||||
} else {
|
||||
let params = {
|
||||
@@ -857,6 +855,7 @@ const getDetailInfo = async () => {
|
||||
let collectResubmitData = JSON.parse(localStorage.getItem(`collectResubmitData-${route.query.projectId}`))
|
||||
|
||||
if(formData.value.projectId==collectResubmitData.projectId){
|
||||
|
||||
if (collectResubmitData.fileList) {
|
||||
otherFileList.value = collectResubmitData.fileList
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user