From 8fc16c6f29bd098598a03e8306788d9b3d2a60ba Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期二, 27 八月 2024 16:04:41 +0800 Subject: [PATCH] agent --- src/views/dmx/model/components/addTableName.vue | 13 +++++++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/views/dmx/model/components/addTableName.vue b/src/views/dmx/model/components/addTableName.vue index 7ae55bd..e560d56 100644 --- a/src/views/dmx/model/components/addTableName.vue +++ b/src/views/dmx/model/components/addTableName.vue @@ -27,8 +27,8 @@ > <a-option v-for="(item, index) in modalList" - :value="index" - :label="index" + :value="item.name" + :label="item.name" :disabled="item.added" ></a-option> </a-select> @@ -43,6 +43,7 @@ <a-textarea v-model="form.tags" placeholder="璇疯緭鍏ユā鍨嬫弿杩�" + :max-length="50" allow-clear /> </a-form-item> @@ -85,7 +86,7 @@ computed, } from 'vue'; import { - modelmyLlms, + getFactories, addLlmFactory, getLlmDetail, editLlmFactory, @@ -162,7 +163,7 @@ }) .then((resData) => { if ((resData as any).code === 200) { - emit('refresh-parent'); + emit('refresh-parent',form.name); addTabVisible.value = false; } }) @@ -177,7 +178,7 @@ }) .then((resData) => { if ((resData as any).code === 200) { - emit('refresh-parent'); + emit('refresh-parent', form.name); addTabVisible.value = false; Message.success('娣诲姞鎴愬姛'); } @@ -233,7 +234,7 @@ }; const modalList = ref([]); const queryModel = async () => { - const res = await modelmyLlms(); + const res = await getFactories(); modalList.value = res.data; }; queryModel(); -- Gitblit v1.8.0