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

@@ -4,7 +4,7 @@
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left" style="margin-left: 15px"></fvForm>
<el-tabs v-model="activeName" class="demo-tabs" @tab-click="handleClick">
<el-tab-pane v-for="item in paneList" :label="item.label" :name="item.name">
<search-files-by-tag @search="search" @upload="upload" :type="item.name==='40'?'40':''"
<search-files-by-tag @search="search" @upload="upload" :type="item.name==='30'?'30':''"
:fileList="fileList" :uploadState="uploadState" v-model:loading="loading"/>
</el-tab-pane>
</el-tabs>
@@ -247,6 +247,10 @@ const paneList = ref([
},
{
label: '项目实施',
name: '30'
},
{
label: '项目验收',
name: '40'
},
{
@@ -318,13 +322,13 @@ const changeFileList = (res) => {
}
const upload = () => {
if (activeName.value === '40') {
if (activeName.value === '30') {
router.push({
name: 'Implementation/upload',
query: {
projectId: route.query.id,
requirementId: requirementId.value,
type: '40'
type: '30'
}
})
} else {