From e43213d9a7ae0bb0a7f8f26597edcf04aa93a460 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 30 Jun 2024 17:21:00 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix=20:=20=E4=BC=98=E5=8C=96=E5=88=86?= =?UTF-8?q?=E6=91=8A=E6=B1=87=E6=80=BB=E9=A1=B9=E7=9B=AE=E9=98=B6=E6=AE=B5?= =?UTF-8?q?=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DetailComponent/AllocationSummaryDetail.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/DetailComponent/AllocationSummaryDetail.vue b/src/components/DetailComponent/AllocationSummaryDetail.vue index d5459d7..e4d866c 100644 --- a/src/components/DetailComponent/AllocationSummaryDetail.vue +++ b/src/components/DetailComponent/AllocationSummaryDetail.vue @@ -14,9 +14,9 @@ From fd3231db4d2cb3d191a276e0a5f736b73786209a Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Sun, 30 Jun 2024 19:17:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix=20:=20=E6=B7=BB=E5=8A=A0=E5=BE=81?= =?UTF-8?q?=E9=9B=86=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/steps/index.vue | 21 ++++++--- .../project-management/filing/attachment.vue | 16 ++++++- .../project-management/filing/upload.vue | 16 ++++++- .../implementation/account.vue | 45 ++++++++++--------- .../implementation/attachment.vue | 14 ++++++ .../implementation/phase.vue | 16 ++++++- .../implementation/phaseDetail.vue | 16 ++++++- .../implementation/share.vue | 18 ++++++-- .../implementation/upload.vue | 16 ++++++- .../implementation/uploadFee.vue | 34 +++++++++----- .../mobledetail/StepsMoblie.vue | 28 +++++++----- 11 files changed, 182 insertions(+), 58 deletions(-) diff --git a/src/components/steps/index.vue b/src/components/steps/index.vue index 18d09df..24b2a05 100644 --- a/src/components/steps/index.vue +++ b/src/components/steps/index.vue @@ -103,6 +103,20 @@ const schema = computed(() => { span: 12 } }, + { + label: '项目名称', + prop: 'projectName', + colProps: { + span: 12 + } + }, + { + label: '征集描述', + prop: 'collectExplain', + colProps: { + span: 12 + } + }, { label: '所属公司', prop: 'affiliatedCompany', @@ -110,13 +124,6 @@ const schema = computed(() => { span: 12 } }, - { - 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 a5b4949..8099ef4 100644 --- a/src/views/project-management/filing/attachment.vue +++ b/src/views/project-management/filing/attachment.vue @@ -39,7 +39,21 @@ const schema = computed(() => { colProps: { span: 12 } - } + }, + { + label: '征集描述', + prop: 'collectExplain', + colProps: { + span: 12 + } + }, + { + label: '所属公司', + prop: 'affiliatedCompany', + colProps: { + span: 12 + } + }, ] }) const baseForm = ref() diff --git a/src/views/project-management/filing/upload.vue b/src/views/project-management/filing/upload.vue index 52dd235..80198f4 100644 --- a/src/views/project-management/filing/upload.vue +++ b/src/views/project-management/filing/upload.vue @@ -45,7 +45,21 @@ const schema = computed(() => { colProps: { span: 12 } - } + }, + { + label: '征集描述', + prop: 'collectExplain', + colProps: { + span: 12 + } + }, + { + label: '所属公司', + prop: 'affiliatedCompany', + colProps: { + span: 12 + } + }, ] }) const baseForm = ref() diff --git a/src/views/project-management/implementation/account.vue b/src/views/project-management/implementation/account.vue index d52f14d..251d593 100644 --- a/src/views/project-management/implementation/account.vue +++ b/src/views/project-management/implementation/account.vue @@ -38,35 +38,35 @@ const formDataArray = ref([ label: '征集名称', prop: 'requirementName', colProps: { - span: 12 + span: 8 } }, { label: '项目名称', prop: 'projectName', colProps: { - span: 12 + span: 8 } }, { label: '项目负责人', prop: 'projectChargePerson', colProps: { - span: 12 + span: 8 } }, { label: '项目开始时间', prop: 'startTime', colProps: { - span: 12 + span: 8 } }, { label: '项目预计持续时间', prop: 'endTime', colProps: { - span: 12 + span: 8 } }, { @@ -84,7 +84,7 @@ const formDataArray = ref([ } }, { - label: '项目总体完成率(%)', + label: '项目总体完成率', prop: 'projectCompletionRate', colProps: { span: 6 @@ -257,10 +257,25 @@ const getBaseInfo = async () => { try { const {code, data} = await getBaseInfoApi(route.query.id) baseForm.value.setValues(data) + await init() } catch { } } - +const init = async () => { + const {code, msg, data} = await searchUpdateLedgerData(route.query.id) + console.log('data',data) + if (data) { + tableData.value = data + baseForm.value.setValues(data) + } + // if (code !== 1000) { + // ElNotification({ + // title: '提示', + // message: msg, + // type: 'error' + // }) + // } +} getBaseInfo() const headBtnClick = (key) => { switch (key) { @@ -308,21 +323,7 @@ const search = (val) => { tableConfig.params = {...val, projectId: route.query.id} tableIns.value.refresh() } -const init = async () => { - const {code, msg, data} = await searchUpdateLedgerData(route.query.id) - if (data) { - tableData.value = data - baseForm.value.setValues(data) - } - // if (code !== 1000) { - // ElNotification({ - // title: '提示', - // message: msg, - // type: 'error' - // }) - // } -} -init() +