fix : 修复阶段变更编辑回显

This commit is contained in:
2024-06-29 15:51:03 +08:00
parent 58d6a8f567
commit 54e50de6b1

View File

@@ -1,5 +1,5 @@
<template>
<div class="apply-block">
<div class="apply-block" v-loading="loading">
<baseTitle title="基础信息"></baseTitle>
<fvForm :schema="schema" @getInstance="(e)=>baseForm = e"></fvForm>
<el-form :model="formData" label-width="auto">
@@ -47,7 +47,7 @@ const route = useRoute()
const attachment = ref()
const userPicker = ref()
const name = ref(router.currentRoute.value.name)
const loading = ref(false)
const loading = ref(true)
const formData = ref({})
const file = ref({})
const deploymentId = ref()
@@ -269,6 +269,7 @@ const getDetailInfo = async () => {
type: res.code === 1000 ? 'success' : 'error'
})
if (res.code === 1000) {
userList.value=res.data.userInfoList
formData.value = res.data
loading.value = false
}