fix : 优化需求征集详情页面

This commit is contained in:
2024-06-04 16:41:28 +08:00
parent 6597506435
commit 1d66c44edb
16 changed files with 162 additions and 429 deletions

View File

@@ -20,7 +20,7 @@
</el-form>
<el-card style="width: 100%">
<fvTable style="width: 100%;max-height: 250px" v-if="showTable" :tableConfig="tableConfig"
:data="otherFileList" :isSettingCol="false" :pagination="false">
:data="fileList" :isSettingCol="false" :pagination="false">
<template #empty>
<el-empty :image-size="90" description="暂无数据" style="padding: 0"/>
</template>
@@ -38,7 +38,7 @@ const router = useRouter()
const attachment = reactive({})
const emit = defineEmits(['search'])
const props = defineProps({
otherFileList: {
fileList: {
type: Array,
default: []
},
@@ -123,12 +123,12 @@ const handleDownload = (row) => {
watch(() => props.type, (val) => {
props.type = val
})
watch(() => props.otherFileList, (val) => {
watch(() => props.fileList, (val) => {
showTable.value = false
nextTick(() => {
showTable.value = true
})
props.otherFileList = val
props.fileList = val
})
if (props.type === '40') {
getTagsOption()