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

This commit is contained in:
2024-05-19 13:23:10 +08:00
parent 206a024f4b
commit 670c8a5653
9 changed files with 11 additions and 1196 deletions

View File

@@ -31,8 +31,8 @@ const route = useRoute()
const activeName = ref('first')
const collectionData = ref({})
const summaryData = ref({})
const collectionProcessViewer = ref(false)
const summaryProcessViewer = ref(false)
const collectionProcessViewer = ref(true)
const summaryProcessViewer = ref(true)
const processStore = useProcessStore()
const companyOption = ref([])
const rules = reactive({
@@ -46,6 +46,7 @@ const getCompanyOption = async () => {
const getDemandCollectionInfo = async () => {
if (!route.query.id) return
await getCompanyOption()
collectionProcessViewer.value = false
getInfo(route.query.id).then(res => {
let data = res.data
collectionData.value = data;
@@ -63,6 +64,7 @@ const getDemandCollectionInfo = async () => {
const getDemandSummaryInfo = async () => {
if (!route.query.id) return
// await getCompanyOption()
summaryProcessViewer.value = false
getInfo(route.query.id).then(res => {
let data = res.data
summaryData.value = data;