fix : 修复项目实施-归档列表页附件项目实施/验收展示及上传附件功能,修复需求上报资金名称传参

This commit is contained in:
2024-08-28 22:55:40 +08:00
parent 060f6e0fd8
commit d4d7601bae
8 changed files with 24 additions and 16 deletions

View File

@@ -79,7 +79,7 @@ const singleList = ref([])
const name = ref(router.currentRoute.value.name)
const loading = ref(false)
const formData = ref({
changeState:'1'
changeState:'0'
})
const file = ref({})
const deploymentId = ref()

View File

@@ -449,7 +449,7 @@ const handleSubmit = async (instance) => {
let params = {
fileList: fileList.value,
projectId: route.query.projectId,
targetState: "40"
targetState: "30"
}
let res = await uploadFileList(params)
ElNotification({
@@ -459,12 +459,13 @@ const handleSubmit = async (instance) => {
})
if (res.code === 1000) {
tagsViewStore.delVisitedViews(router.currentRoute.value.path)
if (route.query.type === '40') {
if (route.query.type === '30') {
console.log('归档实施')
await router.push({
name: 'Filing/attachment',
query: {
id: route.query.projectId,
name:route.query.type,
requirementId: route.query.requirementId
}
})