fix : 修复项目实施附件查询及上传功能、代码文件优化
This commit is contained in:
@@ -132,27 +132,14 @@ const upload = () => {
|
||||
})
|
||||
} else {
|
||||
router.push({
|
||||
name: switchUpload(activeName.value),
|
||||
name: 'Filing/upload',
|
||||
query: {
|
||||
id: route.query.id
|
||||
id: route.query.id,
|
||||
name: activeName.value
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
const switchUpload = (index) => {
|
||||
switch (index) {
|
||||
case '00':
|
||||
return 'Requirement/upload';
|
||||
case '10':
|
||||
return 'Summary/upload';
|
||||
case '20':
|
||||
return 'Initiation/upload';
|
||||
case '40':
|
||||
return 'Implementation/upload';
|
||||
case '50':
|
||||
return 'Filing/upload';
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user