|
|
@ -67,18 +67,14 @@ const onIntegrationChange = async (newFkINtegrationId?: string) => { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onMounted(async () => { |
|
|
|
onMounted(async () => { |
|
|
|
if (isEditColumn.value) { |
|
|
|
if (!vFkIntegrationId.value && !isEditColumn.value) { |
|
|
|
return |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!vFkIntegrationId.value) { |
|
|
|
|
|
|
|
if (aiIntegrations.value.length > 0 && aiIntegrations.value[0].id) { |
|
|
|
if (aiIntegrations.value.length > 0 && aiIntegrations.value[0].id) { |
|
|
|
vFkIntegrationId.value = aiIntegrations.value[0].id |
|
|
|
vFkIntegrationId.value = aiIntegrations.value[0].id |
|
|
|
nextTick(() => { |
|
|
|
nextTick(() => { |
|
|
|
onIntegrationChange() |
|
|
|
onIntegrationChange() |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
|
} else { |
|
|
|
} else if (vFkIntegrationId.value) { |
|
|
|
lastIntegrationId.value = vFkIntegrationId.value |
|
|
|
lastIntegrationId.value = vFkIntegrationId.value |
|
|
|
|
|
|
|
|
|
|
|
if (!vModel.value || !availableModels.value.length) { |
|
|
|
if (!vModel.value || !availableModels.value.length) { |
|
|
|