fix : 修复需求汇总详情功能
This commit is contained in:
@@ -1,17 +1,19 @@
|
||||
<template>
|
||||
<summary-detail :formData="summaryData.formData" :data="summaryData" :processViewer="summaryProcessViewer"/>
|
||||
|
||||
</template>
|
||||
|
||||
<script setup lang="jsx">
|
||||
import {getInfo} from "@/api/project-demand";
|
||||
|
||||
import {useProcessStore} from '@/stores/processStore.js';
|
||||
const route = useRoute()
|
||||
const summaryData = ref({})
|
||||
const summaryProcessViewer = ref(false)
|
||||
const summaryProcessViewer = ref(true)
|
||||
const processStore = useProcessStore()
|
||||
const getDemandSummaryInfo = async () => {
|
||||
if (!route.query.id) return
|
||||
// if (!route.query.id) return
|
||||
// await getCompanyOption()
|
||||
getInfo(74).then(res => {
|
||||
summaryProcessViewer.value = false
|
||||
getInfo(101).then(res => {
|
||||
let data = res.data
|
||||
summaryData.value = data;
|
||||
processStore.setDesign(data)
|
||||
|
||||
Reference in New Issue
Block a user