From 190d2d29617e6704438c5459479b7a56ed090191 Mon Sep 17 00:00:00 2001 From: Dong Xia Date: Thu, 31 Oct 2024 14:54:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E5=91=BD=E4=BB=A4=E5=88=97?= =?UTF-8?q?=E8=A1=A8=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/script.js | 9 +++ src/pages/script/command/index.vue | 114 +++++++++++++++++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 src/pages/script/command/index.vue diff --git a/src/api/script.js b/src/api/script.js index 873064b..3ad9605 100644 --- a/src/api/script.js +++ b/src/api/script.js @@ -30,6 +30,15 @@ export function executeScriptApi(data) { }) } +// 获取命令列表 +export function getCmommandListApi(data) { + return request({ + url: '/manageCommandPre/list', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} // 执行结果列表 export function getExecResApi(data) { return request({ diff --git a/src/pages/script/command/index.vue b/src/pages/script/command/index.vue new file mode 100644 index 0000000..b6d691a --- /dev/null +++ b/src/pages/script/command/index.vue @@ -0,0 +1,114 @@ + + + + + -- Gitee