fix : 附件上传修复
This commit is contained in:
@@ -189,6 +189,9 @@ const handleDownload = (row) => {
|
||||
})
|
||||
}
|
||||
|
||||
onActivated(()=>{
|
||||
handleSearch()
|
||||
})
|
||||
handleSearch()
|
||||
getTagsOption()
|
||||
</script>
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user