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()