From 1009cb7345110a4e5f4df0cffa2a68dd7d58cd25 Mon Sep 17 00:00:00 2001
From: odjbin <1042039504@qq.com>
Date: Mon, 10 Jun 2024 23:28:34 +0800
Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BA=8C=E7=BA=A7=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=B8=8A=E5=8A=A0=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../DetailComponent/CollectionDetail.vue | 4 +--
src/components/steps/index.vue | 11 ++-----
.../project-management/filing/attachment.vue | 31 ++++++++++++++++++
.../project-management/filing/upload.vue | 32 +++++++++++++++++++
.../implementation/account.vue | 32 +++++++++++++++++++
.../implementation/attachment.vue | 14 --------
.../implementation/phase.vue | 32 +++++++++++++++++++
.../implementation/phaseDetail.vue | 32 +++++++++++++++++++
.../implementation/share.vue | 14 --------
.../implementation/upload.vue | 32 +++++++++++++++++++
.../implementation/uploadFee.vue | 14 --------
11 files changed, 195 insertions(+), 53 deletions(-)
diff --git a/src/components/DetailComponent/CollectionDetail.vue b/src/components/DetailComponent/CollectionDetail.vue
index 721f7bd..e9f01a2 100644
--- a/src/components/DetailComponent/CollectionDetail.vue
+++ b/src/components/DetailComponent/CollectionDetail.vue
@@ -2,7 +2,7 @@
-
+
{{ formData.requirementName }}
@@ -17,7 +17,7 @@
{{ formData.companyIds }}
-
+
{{ formData.deadline }}
diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue
index 6352a5f..57b02ab 100644
--- a/src/components/steps/index.vue
+++ b/src/components/steps/index.vue
@@ -99,13 +99,6 @@ const schema = computed(() => {
span: 12
}
},
- {
- label: '征集类型',
- prop: 'collectType',
- colProps: {
- span: 12
- }
- },
{
label: '所属公司',
prop: 'affiliatedCompany',
@@ -114,8 +107,8 @@ const schema = computed(() => {
}
},
{
- label: '截止时间',
- prop: 'deadline',
+ label: '项目名称',
+ prop: 'projectName',
colProps: {
span: 12
}
diff --git a/src/views/project-management/filing/attachment.vue b/src/views/project-management/filing/attachment.vue
index b4e4a3f..a72ca42 100644
--- a/src/views/project-management/filing/attachment.vue
+++ b/src/views/project-management/filing/attachment.vue
@@ -1,4 +1,6 @@
+
+ baseForm = e">
import {searchFileList} from "@/api/project-manage/attachment.js";
import {ElNotification} from "element-plus";
+import {computed, ref} from "vue";
+import {getBaseInfoApi} from "@/components/steps/api";
const route = useRoute()
const router = useRouter()
@@ -20,6 +24,25 @@ const uploadState = ref(true)
const fileList = ref([])
const projectId = ref(route.query.id)
const requirementId = ref(route.query.requirementId)
+const schema = computed(() => {
+ return [
+ {
+ label: '征集名称',
+ prop: 'requirementName',
+ colProps: {
+ span: 12
+ }
+ },
+ {
+ label: '项目名称',
+ prop: 'projectName',
+ colProps: {
+ span: 12
+ }
+ }
+ ]
+})
+const baseForm = ref()
const paneList=ref([
{
label:'需求征集',
@@ -42,7 +65,15 @@ const paneList=ref([
name:'50'
}
])
+const getBaseInfo = async () => {
+ try {
+ const {code, data} = await getBaseInfoApi(route.query.id)
+ baseForm.value.setValues(data)
+ } catch {
+ }
+}
+getBaseInfo()
const handleClick = (tab) => {
activeName.value=tab.props.name
loading.value=true
diff --git a/src/views/project-management/filing/upload.vue b/src/views/project-management/filing/upload.vue
index 1621887..a93a3cf 100644
--- a/src/views/project-management/filing/upload.vue
+++ b/src/views/project-management/filing/upload.vue
@@ -1,4 +1,6 @@
+
+ baseForm = e">
@@ -18,6 +20,8 @@
import {ElNotification} from "element-plus";
import {useTagsView} from '@/stores/tagsview.js'
import {uploadFileList} from "@/api/project-manage/attachment";
+import {computed, ref} from "vue";
+import {getBaseInfoApi} from "@/components/steps/api";
const tagsViewStore = useTagsView()
const route = useRoute()
@@ -26,6 +30,25 @@ const fileList = ref([])
const formData = ref({
tagName:''
})
+const schema = computed(() => {
+ return [
+ {
+ label: '征集名称',
+ prop: 'requirementName',
+ colProps: {
+ span: 12
+ }
+ },
+ {
+ label: '项目名称',
+ prop: 'projectName',
+ colProps: {
+ span: 12
+ }
+ }
+ ]
+})
+const baseForm = ref()
const tableConfig = reactive({
columns: [
{
@@ -70,6 +93,15 @@ const name = ref(router.currentRoute.value.name)
const rules = reactive({
tagName: [{required: true, message: '请输入标签名称', trigger: 'blur'}],
})
+const getBaseInfo = async () => {
+ try {
+ const {code, data} = await getBaseInfoApi(route.query.id)
+ baseForm.value.setValues(data)
+ } catch {
+ }
+}
+
+getBaseInfo()
const compositeParam = (item) => {
let tag=''
switch (route.query.name) {
diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue
index f1b5111..9291a4e 100644
--- a/src/views/project-management/implementation/account.vue
+++ b/src/views/project-management/implementation/account.vue
@@ -1,4 +1,6 @@
+
+ baseForm = e">
@@ -10,9 +12,30 @@