From 07c089ed290f264e48af3c980e28e5028d8d5944 Mon Sep 17 00:00:00 2001 From: odjbin <1042039504@qq.com> Date: Mon, 10 Jun 2024 15:25:28 +0800 Subject: [PATCH] =?UTF-8?q?fix=20:=20=E4=BF=AE=E5=A4=8D=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E5=9F=BA=E6=9C=AC=E4=BF=A1=E6=81=AF=E6=98=BE=E7=A4=BA=E4=BD=8D?= =?UTF-8?q?=E7=BD=AE=E3=80=81=E9=A1=B9=E7=9B=AE=E9=AA=8C=E6=94=B6=E3=80=81?= =?UTF-8?q?=E7=BB=93=E9=A1=B9=E6=93=8D=E4=BD=9C=E6=94=BE=E5=9C=A8=E8=AF=A6?= =?UTF-8?q?=E6=83=85=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DetailComponent/ProjectApply.vue | 202 ++++++++++-------- src/components/steps/index.vue | 20 +- .../implementation/attachment.vue | 11 +- .../implementation/detail.vue | 58 +++-- .../implementation/share.vue | 11 +- .../implementation/uploadFee.vue | 11 +- 6 files changed, 178 insertions(+), 135 deletions(-) diff --git a/src/components/DetailComponent/ProjectApply.vue b/src/components/DetailComponent/ProjectApply.vue index bc45b06..378b6be 100644 --- a/src/components/DetailComponent/ProjectApply.vue +++ b/src/components/DetailComponent/ProjectApply.vue @@ -1,6 +1,6 @@ { const loading = ElLoading.service({fullscreen: true}) try { commonProvessViewer.value = false - loading.value = true const {data, code, msg} = await getMapProjectStateInfo(route.query.projectId, state) - if (code === 1000) { - loading.value = false - } else { + if (code !== 1000) { ElNotification({ title: '提示', message: msg, @@ -92,13 +92,37 @@ const getAllInfo = async (state) => { } } const changeModel = (active) => { - if (route.query.state === '0' && active === '20') { - showApply.value = true - } else if (route.query.state === '3' && active === '20') { - showApply.value = true - getAllInfo(active) + if (route.query.step === '20' && active === '20') { + if (route.query.state === '0') { + showApply.value = true + } else if (route.query.state === '3') { + showApply.value = true + getAllInfo(active) + } else { + showApply.value = false + getAllInfo(active) + } + } else if (route.query.step === '40' && active === '40') { + if (route.query.state === '0') { + showCheck.value = true + } else if (route.query.state === '3') { + showCheck.value = true + getAllInfo(active) + } else { + showCheck.value = false + getAllInfo(active) + } + } else if (route.query.step === '50' && active === '50') { + if (route.query.state === '0') { + showFiling.value = true + } else if (route.query.state === '3') { + showFiling.value = true + getAllInfo(active) + } else { + showFiling.value = false + getAllInfo(active) + } } else { - showApply.value = false getAllInfo(active) } } diff --git a/src/views/project-management/implementation/share.vue b/src/views/project-management/implementation/share.vue index 200418f..edb71a6 100644 --- a/src/views/project-management/implementation/share.vue +++ b/src/views/project-management/implementation/share.vue @@ -26,8 +26,8 @@ const schema = computed(() => { } }, { - label: '所属公司', - prop: 'affiliatedCompany', + label: '征集类型', + prop: 'collectType', colProps: { span: 12 } @@ -40,13 +40,12 @@ const schema = computed(() => { } }, { - label: '征集类型', - prop: 'collectType', + label: '所属公司', + prop: 'affiliatedCompany', colProps: { span: 12 } - }, - + } ] }) const baseForm = ref() diff --git a/src/views/project-management/implementation/uploadFee.vue b/src/views/project-management/implementation/uploadFee.vue index 2930b3d..2faed30 100644 --- a/src/views/project-management/implementation/uploadFee.vue +++ b/src/views/project-management/implementation/uploadFee.vue @@ -103,8 +103,8 @@ const schema = computed(() => { } }, { - label: '所属公司', - prop: 'affiliatedCompany', + label: '征集类型', + prop: 'collectType', colProps: { span: 12 } @@ -117,13 +117,12 @@ const schema = computed(() => { } }, { - label: '征集类型', - prop: 'collectType', + label: '所属公司', + prop: 'affiliatedCompany', colProps: { span: 12 } - }, - + } ] }) const baseForm = ref()