fix : 修复项目实施/归档上传附件显示,

This commit is contained in:
2024-06-21 17:15:01 +08:00
parent bce9b2d8d2
commit 4bee8bf9e4
9 changed files with 151 additions and 112 deletions

View File

@@ -29,15 +29,14 @@
<script setup lang="jsx">
import {downloadFile} from "@/api/project-demand";
import {searchFileList} from "@/api/project-manage/attachment.js";
import {getTags} from "@/api/project-manage";
import {ElLoading, ElNotification} from "element-plus";
import {computed, ref} from "vue";
import {ElNotification} from "element-plus";
import {getBaseInfoApi} from "@/components/steps/api";
import {searchImplementationFileList} from "@/api/project-manage/attachment";
const route = useRoute()
const router = useRouter()
const uploadState = ref(true)
const uploadState = ref(false)
const attachment = reactive({
tag: ''
})
@@ -140,7 +139,7 @@ const handleSearch = () => {
})
params.tag = attachment.tag
}
searchFileList(params).then(res => {
searchImplementationFileList(params).then(res => {
showTable.value = false
if (res.code === 1000) {
otherFileList.value = res.data.fileList