fix : 修复项目实施-归档列表页附件项目实施/验收展示及上传附件功能,修复需求上报资金名称传参
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user