fix : 新增(单选框)默认否,修复需求上报业务描述换行数据显示,选择框为远程搜索解决卡顿问题

This commit is contained in:
2024-08-07 22:37:41 +08:00
parent 5cdec2b677
commit cab7311cfb
15 changed files with 59 additions and 51 deletions

View File

@@ -169,7 +169,7 @@ const formData = ref({
deadline: '',
collectExplain: '',
fileList: [],
isSpecialFund: true
isSpecialFund: false
})
const routerName = ref(router.currentRoute.value.name)
const processDiagramViewer = ref(false)

View File

@@ -39,7 +39,6 @@
</el-col>
</el-row>
</el-form>
<!-- <fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>-->
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
<template #empty>
@@ -60,41 +59,6 @@ import {getRequirementStatePerm} from "@/api/project-demand";
const cacheStore = useCacheStore()
const authStore = useAuthStore()
const router = useRouter()
const collectTypeSelectRef=ref()
const searchConfig = reactive([
{
label: '征集名称',
prop: 'requirementName',
component: 'el-input',
props: {
placeholder: '请输入征集名称查询',
clearable: true,
filterable: true,
checkStrictly: true
}
},
{
label: '征集类型',
prop: 'collectType',
component: shallowRef(fvSelect),
props: {
placeholder: '请选择征集类型',
clearable: true,
filterable: true,
cacheKey: 'collect_type'
}
},
{
label: '状态',
prop: 'state',
component: shallowRef(fvSelect),
props: {
placeholder: '请选择状态',
clearable: true,
cacheKey: 'demand_collection'
}
},
])
const selectForm = ref({})
const tableIns = ref()
const formRef = ref()

View File

@@ -348,9 +348,9 @@ const showSingleTable = ref(false)
const otherFileList = ref([])
const singleList = ref([])
const formData = ref({
isSpecialFund: true,
industryUniversityResearch: '0',
governmentDeclaration: '0',
isSpecialFund: false,
industryUniversityResearch: '1',
governmentDeclaration: '1',
resultForm: []
})

View File

@@ -61,6 +61,7 @@ const searchConfig = reactive([
cacheKey: 'project_type',
clearable: true,
filterable: true,
remote: true
},
colProps: {}
},
@@ -73,6 +74,7 @@ const searchConfig = reactive([
placeholder: '请选择项目影响',
clearable: true,
filterable: true,
remote: true
},
colProps: {}
},
@@ -85,6 +87,7 @@ const searchConfig = reactive([
cacheKey: 'rd_subject',
clearable: true,
filterable: true,
remote: true
}
},
{
@@ -107,7 +110,8 @@ const searchConfig = reactive([
props: {
placeholder: '请选择状态',
clearable: true,
cacheKey: 'demand_summary'
cacheKey: 'demand_summary',
remote: true
}
},
// {