Merge pull request 'dd' (#680) from dd into master
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/680
This commit is contained in:
@@ -588,3 +588,23 @@ html, body, #app, .el-container, .el-aside, .el-main {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
//绘制下拉选择框远程搜索时右侧的箭头
|
||||||
|
.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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-form :model="attachmentParam" inline style="margin-top: 15px;margin-left: 15px">
|
<el-form :model="attachmentParam" inline style="margin-top: 15px;margin-left: 15px">
|
||||||
<el-form-item label="标签" prop="tag">
|
<el-form-item label="标签" prop="tag">
|
||||||
<el-select v-model="attachmentParam.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
<el-select v-model="attachmentParam.tag" placeholder="请选择标签" clearable filterable remote style="width: 300px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in tagsOption"
|
v-for="item in tagsOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<el-input v-model="attachment.fileName" placeholder="请输入附件名称查询" clearable filterable style="width: 300px"/>
|
<el-input v-model="attachment.fileName" placeholder="请输入附件名称查询" clearable filterable style="width: 300px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="标签" prop="tag" v-if="type==='40'">
|
<el-form-item label="标签" prop="tag" v-if="type==='40'">
|
||||||
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable remote filterable style="width: 300px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in tagsOption"
|
v-for="item in tagsOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -23,7 +23,8 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
data: [],
|
data: [],
|
||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true
|
checkStrictly: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -60,6 +61,7 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
cacheKey: 'project_cost',
|
cacheKey: 'project_cost',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -72,6 +74,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,9 @@ const searchConfig = reactive([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'demand_summary'
|
filterable:true,
|
||||||
|
cacheKey: 'demand_summary',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -54,7 +54,8 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
data: [],
|
data: [],
|
||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true
|
checkStrictly: true,
|
||||||
|
remote:true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -76,6 +77,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -87,6 +89,7 @@ const searchConfig = ref([
|
|||||||
placeholder: '请选择项目影响',
|
placeholder: '请选择项目影响',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -99,6 +102,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -121,7 +125,9 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_filing'
|
cacheKey: 'project_filing',
|
||||||
|
filterable: true,
|
||||||
|
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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left"></fvForm>
|
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e" label-position="left" label-width="left"></fvForm>
|
||||||
<el-form :model="attachment" inline style="margin-top: 15px">
|
<el-form :model="attachment" inline style="margin-top: 15px">
|
||||||
<el-form-item label="标签" prop="tag">
|
<el-form-item label="标签" prop="tag">
|
||||||
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable style="width: 300px">
|
<el-select v-model="attachment.tag" placeholder="请选择标签" clearable filterable remote style="width: 300px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in tagsOption"
|
v-for="item in tagsOption"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
|
|||||||
@@ -52,7 +52,8 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
data: [],
|
data: [],
|
||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true
|
checkStrictly: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -75,6 +76,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -86,6 +88,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_impact',
|
cacheKey: 'project_impact',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -98,6 +101,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -120,7 +124,9 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_implementation'
|
filterable: true,
|
||||||
|
cacheKey: 'project_implementation',
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -51,7 +51,8 @@ const searchConfig = ref([
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
data: [],
|
data: [],
|
||||||
filterable: true,
|
filterable: true,
|
||||||
checkStrictly: true
|
checkStrictly: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -73,6 +74,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'project_type',
|
cacheKey: 'project_type',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -84,6 +86,7 @@ const searchConfig = ref([
|
|||||||
placeholder: '请选择项目影响',
|
placeholder: '请选择项目影响',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
},
|
},
|
||||||
colProps: {}
|
colProps: {}
|
||||||
},
|
},
|
||||||
@@ -96,6 +99,7 @@ const searchConfig = ref([
|
|||||||
cacheKey: 'rd_subject',
|
cacheKey: 'rd_subject',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
filterable: true,
|
filterable: true,
|
||||||
|
remote: true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -118,7 +122,9 @@ const searchConfig = ref([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'project_initiation'
|
filterable: true,
|
||||||
|
remote: true,
|
||||||
|
cacheKey: 'project_initiation',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// {
|
// {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -322,4 +322,8 @@ onMounted(async () => {
|
|||||||
:deep(.el-table--fit ) {
|
:deep(.el-table--fit ) {
|
||||||
height: 300px !important;
|
height: 300px !important;
|
||||||
}
|
}
|
||||||
|
.add-block{
|
||||||
|
|
||||||
|
padding: 0 30px 30px 15px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -31,7 +31,9 @@ const searchConfig = reactive([
|
|||||||
props: {
|
props: {
|
||||||
placeholder: '请选择状态',
|
placeholder: '请选择状态',
|
||||||
clearable: true,
|
clearable: true,
|
||||||
cacheKey: 'special_fund'
|
filterable:true,
|
||||||
|
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