From 52b49696109fa062eb790a677800cb1dc039c065 Mon Sep 17 00:00:00 2001
From: junleea <354425203@qq.com>
Date: Mon, 31 Mar 2025 13:58:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E9=80=9A=E7=94=A8=E9=80=89?=
=?UTF-8?q?=E6=8B=A9=E6=A8=A1=E5=9E=8B=EF=BC=8C=E4=BF=AE=E5=A4=8D=E5=A4=9A?=
=?UTF-8?q?=E9=80=89=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/function.ts | 12 +++++++
src/components/table-edit.vue | 47 ++++++++++++++--------------
src/types/function.ts | 2 +-
src/types/model.ts | 14 +++++++++
src/views/system/gen-chat.vue | 38 +++++++++++++++++++++-
src/views/system/manage-function.vue | 22 +++++++++++--
6 files changed, 106 insertions(+), 29 deletions(-)
diff --git a/src/api/function.ts b/src/api/function.ts
index c16e720..ad88b3c 100644
--- a/src/api/function.ts
+++ b/src/api/function.ts
@@ -46,4 +46,16 @@ export const DelFunctionService = (Data) => {
'token': Data.token, //token
}
})
+}
+
+export const FindModelListByFunctionName= (Data) => {
+ const params = new URLSearchParams();
+ for (let key in Data) {
+ params.append(key, Data[key])
+ }
+ return request.post('/func/find_models_by_function', params,{
+ headers: {
+ 'token': Data.token, //token
+ }
+ })
}
\ No newline at end of file
diff --git a/src/components/table-edit.vue b/src/components/table-edit.vue
index d8184de..7cf2478 100644
--- a/src/components/table-edit.vue
+++ b/src/components/table-edit.vue
@@ -39,7 +39,6 @@