|
@@ -13,7 +13,7 @@ import CtForm from '@/components/CtForm'
|
|
|
import { getEnterpriseBusiness, updateEnterpriseBusiness } from '@/api/enterprise'
|
|
|
import Snackbar from '@/plugins/snackbar'
|
|
|
import { reactive, ref } from 'vue'
|
|
|
-import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
+// import { getDict } from '@/hooks/web/useDictionaries'
|
|
|
const emit = defineEmits(['complete'])
|
|
|
|
|
|
defineOptions({name: 'informationSettingsComponents-businessInformation'})
|
|
@@ -165,6 +165,7 @@ let completeStatus = false
|
|
|
const getBaseInfo = async () => {
|
|
|
try {
|
|
|
const data = await getEnterpriseBusiness()
|
|
|
+ emit('complete', { status: data && Object.keys(data).length ? true : false, id: 'businessInformation' })
|
|
|
if (!data) return
|
|
|
query.id = data.id
|
|
|
completeStatus = true
|