From 6761ce1a498e84a40324f3c4ced0fe6c6ee35680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=B0=91=E5=BA=B7?= Date: Wed, 19 Mar 2025 21:43:36 +0800 Subject: [PATCH] =?UTF-8?q?AI=E4=BF=AE=E5=A4=8D=E5=BB=BA=E8=AE=AE=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=AF=B9=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jyh/index.ts | 8 +-- src/views/Jyh/AIRepair/index.vue | 119 ++++++++++++++++++------------- 2 files changed, 70 insertions(+), 57 deletions(-) diff --git a/src/api/jyh/index.ts b/src/api/jyh/index.ts index 54a92d9..91d5d4a 100644 --- a/src/api/jyh/index.ts +++ b/src/api/jyh/index.ts @@ -98,15 +98,11 @@ export function getDepencyList(softwareId: string) { } // 获取AI修复建议 -export function getRepairInfo() { +export function getRepairInfo(data) { return request({ url: '/api/v1/repo/repair/info', method: 'POST', - data: { - "current": 1, - "size": 10, - "softwareId": 47 - } + data }); } diff --git a/src/views/Jyh/AIRepair/index.vue b/src/views/Jyh/AIRepair/index.vue index 106938c..6100d82 100644 --- a/src/views/Jyh/AIRepair/index.vue +++ b/src/views/Jyh/AIRepair/index.vue @@ -13,63 +13,67 @@
-
- - +
@@ -233,4 +250,4 @@ getInfo(); line-height: 22px; } } - \ No newline at end of file +