fix : 新增(单选框)默认否,修复需求上报业务描述换行数据显示,选择框为远程搜索解决卡顿问题
This commit is contained in:
@@ -46,12 +46,12 @@
|
|||||||
<el-row gutter="20" style="margin-left: 5px;margin-bottom: -18px;">
|
<el-row gutter="20" style="margin-left: 5px;margin-bottom: -18px;">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="现有业务描述" prop="serviceDescription">
|
<el-form-item label="现有业务描述" prop="serviceDescription">
|
||||||
<span>{{ localFormData.serviceDescription }}</span>
|
<span style="white-space: pre-wrap">{{ localFormData.serviceDescription }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="研发项目关键内容描述" prop="contentDescription">
|
<el-form-item label="研发项目关键内容描述" prop="contentDescription">
|
||||||
<span>{{ localFormData.contentDescription }}</span>
|
<span style="white-space: pre-wrap">{{ localFormData.contentDescription }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
@@ -119,3 +119,24 @@ onMounted(() => {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<style lang="scss">
|
||||||
|
.el-select {
|
||||||
|
.el-select__wrapper {
|
||||||
|
.el-select__suffix::before {
|
||||||
|
content: "";
|
||||||
|
width: 6px;
|
||||||
|
height: 6px;
|
||||||
|
border: solid #a8abb2;
|
||||||
|
border-width: 0 0 1px 1px;
|
||||||
|
transform: translate(-50%, -50%) rotate(-45deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.is-focused {
|
||||||
|
.el-select__suffix::before {
|
||||||
|
margin-top: 10px;
|
||||||
|
transform: translate(-50%, -50%) rotate(-225deg) !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
cacheKey: 'project_cost',
|
cacheKey: 'project_cost',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -72,6 +73,7 @@ const searchConfig = ref([
|
|||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true,
|
checkStrictly: true,
|
||||||
cacheKey: 'fee_stage',
|
cacheKey: 'fee_stage',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -169,7 +169,7 @@ const formData = ref({
|
|||||||
deadline: '',
|
deadline: '',
|
||||||
collectExplain: '',
|
collectExplain: '',
|
||||||
fileList: [],
|
fileList: [],
|
||||||
isSpecialFund: true
|
isSpecialFund: false
|
||||||
})
|
})
|
||||||
const routerName = ref(router.currentRoute.value.name)
|
const routerName = ref(router.currentRoute.value.name)
|
||||||
const processDiagramViewer = ref(false)
|
const processDiagramViewer = ref(false)
|
||||||
|
|||||||
@@ -39,7 +39,6 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</el-form>
|
</el-form>
|
||||||
<!-- <fvSearchForm :searchConfig="searchConfig" @search="search"></fvSearchForm>-->
|
|
||||||
|
|
||||||
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
|
<fvTable ref="tableIns" :tableConfig="tableConfig" @headBtnClick="headBtnClick">
|
||||||
<template #empty>
|
<template #empty>
|
||||||
@@ -60,41 +59,6 @@ import {getRequirementStatePerm} from "@/api/project-demand";
|
|||||||
const cacheStore = useCacheStore()
|
const cacheStore = useCacheStore()
|
||||||
const authStore = useAuthStore()
|
const authStore = useAuthStore()
|
||||||
const router = useRouter()
|
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 selectForm = ref({})
|
||||||
const tableIns = ref()
|
const tableIns = ref()
|
||||||
const formRef = ref()
|
const formRef = ref()
|
||||||
|
|||||||
@@ -348,9 +348,9 @@ const showSingleTable = ref(false)
|
|||||||
const otherFileList = ref([])
|
const otherFileList = ref([])
|
||||||
const singleList = ref([])
|
const singleList = ref([])
|
||||||
const formData = ref({
|
const formData = ref({
|
||||||
isSpecialFund: true,
|
isSpecialFund: false,
|
||||||
industryUniversityResearch: '0',
|
industryUniversityResearch: '1',
|
||||||
governmentDeclaration: '0',
|
governmentDeclaration: '1',
|
||||||
resultForm: []
|
resultForm: []
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
@@ -61,6 +61,7 @@ const searchConfig = reactive([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -73,6 +74,7 @@ const searchConfig = reactive([
|
|||||||
placeholder: '请选择项目影响',
|
placeholder: '请选择项目影响',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -85,6 +87,7 @@ const searchConfig = reactive([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -107,7 +110,8 @@ const searchConfig = reactive([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'demand_summary'
|
cacheKey: 'demand_summary',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -76,6 +76,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -87,6 +88,7 @@ const searchConfig = ref([
|
|||||||
placeholder: '请选择项目影响',
|
placeholder: '请选择项目影响',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -99,6 +101,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -121,7 +124,8 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_filing'
|
cacheKey: 'project_filing',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -324,6 +324,7 @@ const searchConfig = reactive([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
cacheKey: 'project_cost',
|
cacheKey: 'project_cost',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -336,6 +337,7 @@ const searchConfig = reactive([
|
|||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true,
|
checkStrictly: true,
|
||||||
cacheKey: 'fee_stage',
|
cacheKey: 'fee_stage',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -75,6 +75,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -86,6 +87,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_impact',
|
cacheKey: 'project_impact',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -98,6 +100,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -120,7 +123,8 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_implementation'
|
cacheKey: 'project_implementation',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -73,6 +73,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -84,6 +85,7 @@ const searchConfig = ref([
|
|||||||
placeholder: '请选择项目影响',
|
placeholder: '请选择项目影响',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -96,6 +98,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -118,7 +121,8 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_initiation'
|
cacheKey: 'project_initiation',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -47,12 +47,12 @@
|
|||||||
<el-row gutter="20" style="margin-bottom: -18px;margin-left: 5px;">
|
<el-row gutter="20" style="margin-bottom: -18px;margin-left: 5px;">
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="现有业务描述" prop="serviceDescription">
|
<el-form-item label="现有业务描述" prop="serviceDescription">
|
||||||
<span>{{ localFormData.serviceDescription }}</span>
|
<span style="white-space: pre-wrap">{{ localFormData.serviceDescription }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<el-form-item label="研发项目关键内容描述" prop="contentDescription">
|
<el-form-item label="研发项目关键内容描述" prop="contentDescription">
|
||||||
<span>{{ localFormData.contentDescription }}</span>
|
<span style="white-space: pre-wrap">{{ localFormData.contentDescription }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
|
|||||||
@@ -31,7 +31,8 @@ const searchConfig = reactive([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'special_fund'
|
cacheKey: 'special_fund',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -82,7 +82,8 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择',
|
placeholder: '请选择',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'normal_disable'
|
cacheKey: 'normal_disable',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -71,7 +71,8 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请输入',
|
placeholder: '请输入',
|
||||||
cacheKey: 'normal_disable',
|
cacheKey: 'normal_disable',
|
||||||
clearable: true
|
clearable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
])
|
])
|
||||||
|
|||||||
Reference in New Issue
Block a user