fix : 附件上传修复

This commit is contained in:
2024-07-18 16:15:11 +08:00
parent 203b53936f
commit 8e91feb616
7 changed files with 41 additions and 12 deletions

View File

@@ -189,6 +189,9 @@ const handleDownload = (row) => {
})
}
onActivated(()=>{
handleSearch()
})
handleSearch()
getTagsOption()
</script>

View File

@@ -75,7 +75,6 @@ route.query.step == '50' && (currentStep.value = 4)
const showActive = ref()
const detailData = ref({})
const commonProvessViewer = ref(true)
console.log('刷新详情')
localStorage.removeItem('singleFile')
localStorage.removeItem('otherFileList')
localStorage.removeItem('preProcess')
@@ -143,6 +142,8 @@ const stepChange = (data) => {
showActive.value = data.active
getAllInfo(data.active)
}
</script>
<style scoped lang="scss">

View File

@@ -352,10 +352,11 @@ const handleStandingBook = (row) => {
})
}
const handleAttachment = (row) => {
console.log('row',row)
router.push({
name: 'Implementation/attachment',
query: {
id: row.projectId
id: row.projectId,
}
})
}

View File

@@ -247,11 +247,11 @@ const handleSubmit = async (instance) => {
}
})
} else {
if (router.query.type !== '40') {
if (router.query.type || router.query.type !== '40') {
router.push({
name: 'Implementation/attachment',
query: {
id: route.query.id
projectId: route.query.projectId
}
})
} else {