From 7ff5962e3a163eabf56191193765ce02afeb2a3d Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Thu, 31 Oct 2024 13:45:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=84=9A=E6=9C=AC=E4=B8=8B?= =?UTF-8?q?=E5=8F=91=E7=BB=93=E6=9E=9C=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 10 +++++++++ src/pages/script/components/execResult.vue | 23 ++++++++++++++++++++ src/pages/script/script/index.vue | 25 ++++++++++++++++++++++ 3 files changed, 58 insertions(+) diff --git a/src/api/script.js b/src/api/script.js index 8aacba4..873064b 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -29,3 +29,13 @@ export function executeScriptApi(data) { data }) } + +// 执行结果列表 +export function getExecResApi(data) { + return request({ + url: '/manageCommand/list', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} diff --git a/src/pages/script/components/execResult.vue b/src/pages/script/components/execResult.vue index 0e6edbf..9ac71a8 100644 --- a/src/pages/script/components/execResult.vue +++ b/src/pages/script/components/execResult.vue @@ -18,6 +18,8 @@