diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index f02c4a6..51723b1 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -92,13 +92,19 @@ const baseForm = ref() const schema = computed(() => { return [ + { + label: '征集名称', + prop: 'requirementName', + colProps: { + span: 12 + } + }, { label: '所属公司', prop: 'affiliatedCompany', colProps: { span: 12 } - // component: }, { label: '征集类型', @@ -106,7 +112,6 @@ const schema = computed(() => { colProps: { span: 12 } - // component: }, { label: '截止时间', @@ -114,16 +119,8 @@ const schema = computed(() => { colProps: { span: 12 } - // component: - }, - { - label: '需求名称', - prop: 'requirementName', - colProps: { - span: 12 - } - // component: }, + ] }) diff --git a/src/views/project-demand/summary/add.vue b/src/views/project-demand/summary/add.vue index 1aaf3bc..87aa3a1 100644 --- a/src/views/project-demand/summary/add.vue +++ b/src/views/project-demand/summary/add.vue @@ -319,22 +319,13 @@ const getIsFund = async () => { // loading.value = false formData.value.isSpecialFund = res.data.isSpecialFund if (res.data.isSpecialFund) { - res.data.specialFundId = getSpecialFundId(res.data.specialFund) formData.value.specialFundId = res.data.specialFundId formData.value.specialFund = res.data.specialFund } } }) } -const getSpecialFundId = (val) => { - let value - specialFundOption.value.forEach(item => { - if (item.label == val) { - value = item.value - } - }) - return value -} + const compositeParam = (item, type) => { let tag = '' if (name.value === 'Summary/add' || name.value === 'Summary/edit') { diff --git a/src/views/project-management/implementation/attachment.vue b/src/views/project-management/implementation/attachment.vue index 3d9f8d2..447fbf2 100644 --- a/src/views/project-management/implementation/attachment.vue +++ b/src/views/project-management/implementation/attachment.vue @@ -1,4 +1,6 @@