fix : 修复需求汇总详情功能

This commit is contained in:
2024-05-19 13:18:03 +08:00
parent 10bc019866
commit 89d5c86d8b
6 changed files with 383 additions and 93 deletions

View File

@@ -0,0 +1,33 @@
<template>
<summary-detail :formData="summaryData.formData" :data="summaryData" :processViewer="summaryProcessViewer"/>
</template>
<script setup lang="jsx">
import {getInfo} from "@/api/project-demand";
const summaryData = ref({})
const summaryProcessViewer = ref(false)
const getDemandSummaryInfo = async () => {
if (!route.query.id) return
// await getCompanyOption()
getInfo(74).then(res => {
let data = res.data
summaryData.value = data;
processStore.setDesign(data)
processStore.runningList.value = data.runningList;
processStore.endList.value = data.endList;
processStore.noTakeList.value = data.noTakeList;
processStore.refuseList.value = data.refuseList;
processStore.passList.value = data.passList;
nextTick(() => {
summaryProcessViewer.value = true
})
})
}
getDemandSummaryInfo()
</script>
<style scoped>
</style>