diff --git a/.env.development b/.env.development
index 06cec22..65c718e 100644
--- a/.env.development
+++ b/.env.development
@@ -9,6 +9,6 @@ VUE_APP_BASE_API = ''
# 路由懒加载
VUE_CLI_BABEL_TRANSPILE_MODULES = true
-VUE_APP_BASE_API = 'http://134.175.126.60:30313'
+# VUE_APP_BASE_API = 'http://134.175.126.60:30313'
# VUE_APP_BASE_API = 'http://127.0.0.1:30313'
port = 8888
diff --git a/.env.production b/.env.production
index 6ab0034..32725fc 100644
--- a/.env.production
+++ b/.env.production
@@ -7,5 +7,5 @@ ENV = 'production'
# Jarvis/生产环境
VUE_APP_BASE_API = ''
-VUE_APP_BASE_API = 'http://134.175.126.60:30313'
+# VUE_APP_BASE_API = 'http://134.175.126.60:30313'
port = 8888
diff --git a/src/api/system/instruction.js b/src/api/system/instruction.js
new file mode 100644
index 0000000..9c9169d
--- /dev/null
+++ b/src/api/system/instruction.js
@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+export function executeInstruction(data) {
+ return request({
+ url: '/jarvis/instruction/execute',
+ method: 'post',
+ data
+ })
+}
+
+
diff --git a/src/router/index.js b/src/router/index.js
index d2fd14f..c855082 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -131,6 +131,21 @@ export const constantRoutes = [
}
]
},
+ {
+ path: '/jd-instruction',
+ component: Layout,
+ redirect: 'noredirect',
+ name: 'JdInstruction',
+ meta: { title: '京东指令台', icon: 'guide' },
+ children: [
+ {
+ path: 'index',
+ component: () => import('@/views/system/jd-instruction/index'),
+ name: 'JdInstructionIndex',
+ meta: { title: '指令执行', icon: 'form' }
+ }
+ ]
+ },
{
path: '/sloworder',
component: Layout,
diff --git a/src/views/system/jd-instruction/index.vue b/src/views/system/jd-instruction/index.vue
new file mode 100644
index 0000000..63da940
--- /dev/null
+++ b/src/views/system/jd-instruction/index.vue
@@ -0,0 +1,77 @@
+
+
+
+
+ 京东指令台
+
+
+
+
+
+
+
+
+
+ 执行
+ 菜单
+ 清空
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+