fix : 修改细节

This commit is contained in:
2024-05-19 16:19:53 +08:00
parent 3bd6df74cc
commit 5421145583
7 changed files with 33 additions and 15 deletions

View File

@@ -3,17 +3,17 @@
</template>
<script setup lang="jsx">
import {getInfo} from "@/api/project-demand";
import {useProcessStore} from '@/stores/processStore.js';
import {getDetail} from "./api";
const route = useRoute()
const summaryData = ref({})
const summaryProcessViewer = ref(true)
const processStore = useProcessStore()
const getDemandSummaryInfo = async () => {
// if (!route.query.id) return
if (!route.query.id) return
// await getCompanyOption()
summaryProcessViewer.value = false
getInfo(101).then(res => {
getDetail(route.query.id).then(res => {
let data = res.data
summaryData.value = data;
processStore.setDesign(data)