fix : 重新提交全流程初步完成

This commit is contained in:
2024-05-20 23:01:53 +08:00
parent 6c80652416
commit 3270aeef06
12 changed files with 280 additions and 189 deletions

View File

@@ -229,7 +229,7 @@ const submitParam = (item) => {
deadline: item.deadline,
requirementId: item.requirementId ? item.requirementId : 0,
requirementName: item.requirementName,
files: files,
fileList: files,
deploymentId: processInstanceData.value.deploymentId
}
}

View File

@@ -1,5 +1,5 @@
<template>
<div class="detail-block">
<div class="detail-block" v-loading="loading">
<el-form :model="formData" ref="demandForm" label-width="auto" :rules="rules">
<baseTitle title="需求征集详情"></baseTitle>
<el-row>
@@ -87,6 +87,7 @@ const tagsViewStore = useTagsView()
const router = useRouter()
const route = useRoute()
const form = ref();
const loading = ref(false)
const demandForm = ref()
const processStore = useProcessStore()
const companyOption = ref([])
@@ -202,6 +203,7 @@ const init = async () => {
if (!route.query.id) return;
await getCompanyOption()
getInfo(route.query.id).then(res => {
loading.value=false
let data = res.data
formData.value = data.formData;
data.formData.companyIds = getDataSourceOptionItem(data.formData.companyIds)
@@ -218,7 +220,10 @@ const init = async () => {
})
})
}
init()
onMounted(async () => {
loading.value=true
await init()
})
</script>
<style lang="scss" scoped>