From c858ab5ac7ffe1a71afdb5edf969e84e5dfae6c8 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 13 Nov 2025 16:08:47 +0800 Subject: [PATCH] 1 --- src/api/system/instruction.js | 11 +++ src/views/system/jd-instruction/index.vue | 107 +++++++++++++++++++++- 2 files changed, 116 insertions(+), 2 deletions(-) diff --git a/src/api/system/instruction.js b/src/api/system/instruction.js index d96a110..889994b 100644 --- a/src/api/system/instruction.js +++ b/src/api/system/instruction.js @@ -8,6 +8,17 @@ export function executeInstruction(data) { }) } +export function executeInstructionWithForce(data) { + return request({ + url: '/jarvis/instruction/execute', + method: 'post', + data: { + ...data, + forceGenerate: true + } + }) +} + export function getHistory(type, limit) { return request({ url: '/jarvis/instruction/history', diff --git a/src/views/system/jd-instruction/index.vue b/src/views/system/jd-instruction/index.vue index d10ad97..fdd4d04 100644 --- a/src/views/system/jd-instruction/index.vue +++ b/src/views/system/jd-instruction/index.vue @@ -116,11 +116,43 @@ + + + +
+ +
+ {{ verifyCode }} +
+ +
+ +