From c56ea87b6dc102cc345ff7b0071e360d3b7102fc Mon Sep 17 00:00:00 2001 From: xjf <378266566@qq.com> Date: Sat, 6 Dec 2025 22:24:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9B=A0=E6=95=B0=E6=8D=AE=E5=BA=93instant?= =?UTF-8?q?=5Fcfg=E6=9B=B4=E6=94=B9=E5=AD=97=E6=AE=B5=EF=BC=8Cgroup=5Fview?= =?UTF-8?q?=E6=9B=B4=E6=94=B9=E8=A1=A8=E5=90=8D=EF=BC=8C=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E5=AE=9E=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/run/instant/CreateModal.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/run/instant/CreateModal.vue b/src/views/run/instant/CreateModal.vue index 246ebec..578e1f6 100644 --- a/src/views/run/instant/CreateModal.vue +++ b/src/views/run/instant/CreateModal.vue @@ -9,7 +9,7 @@ import {BasicModal, useModalInner} from '@/components/Modal' import {BasicForm, useForm} from '@/components/Form' import {getModelVersionList} from '@/api/alert/run/model/index' import {getCalcGroupList} from '@/api/alert/run/calcgroup/index' -import {createInstant} from '@/api/alert/run/instant/index' +import {createInstant, InstantVO} from '@/api/alert/run/instant/index' import {useMessage} from '@/hooks/web/useMessage' const emit = defineEmits(['success']) @@ -134,7 +134,8 @@ async function updatempName(selectedRowKeys, selectedRows) { const calcGroupList = [] as any // // 组名下拉框问题 calcGroupData.forEach((item) => { - calcGroupList.push({label: item.groupName, value: item.id}) + console.log(item) + calcGroupList.push({label: item.groupName, value: item.groupId}) }) // 将数据放入下拉框中 @@ -167,7 +168,7 @@ async function CompleteCreate() { // 由于自定义按钮的,所以confirmLoading失效 setModalProps({confirmLoading: true, loading: true}) - const values = await validate() + const values = await validate() console.log(values) // if (unref(isUpdate)) { // await updateDemo02Category(values) -- 2.30.2