diff --git a/pages.json b/pages.json
index aac49dc..f77a138 100644
--- a/pages.json
+++ b/pages.json
@@ -209,6 +209,27 @@
"navigationStyle": "custom"
}
}
+ ,{
+ "path" : "pages/nlfive/taskmanage",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+ }
+ ,{
+ "path" : "pages/nlfive/zlmanage",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+ }
+ ,{
+ "path" : "pages/nlfive/callagv",
+ "style" :
+ {
+ "navigationStyle": "custom"
+ }
+ }
],
"globalStyle": {
// "pageOrientation": "landscape",
diff --git a/pages/home/home.vue b/pages/home/home.vue
index fdeef2e..148564d 100644
--- a/pages/home/home.vue
+++ b/pages/home/home.vue
@@ -32,7 +32,10 @@
return {
userName: '',
menuList: [
- {title: '任务下发', icon: 'RF03', path: '/pages/nlfive/taskcarry'}
+ // {title: '任务下发', icon: 'RF03', path: '/pages/nlfive/taskcarry'},
+ {title: '任务管理', icon: 'RF01', path: '/pages/nlfive/taskmanage'},
+ {title: '指令管理', icon: 'RF02', path: '/pages/nlfive/zlmanage'},
+ {title: '呼叫AGV', icon: 'RF03', path: '/pages/nlfive/callagv'}
],
show: false,
secM: []
diff --git a/pages/nlfive/callagv.vue b/pages/nlfive/callagv.vue
new file mode 100644
index 0000000..cc800a9
--- /dev/null
+++ b/pages/nlfive/callagv.vue
@@ -0,0 +1,95 @@
+
+
+
+
+
+
+
+
+ 托盘号
+
+
+
+
+
+
+
+ 库位编码
+
+
+
+
+
+
+
+ 库位编码
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/nlfive/taskmanage.vue b/pages/nlfive/taskmanage.vue
new file mode 100644
index 0000000..eda7afe
--- /dev/null
+++ b/pages/nlfive/taskmanage.vue
@@ -0,0 +1,133 @@
+
+
+
+
+
+
+
+
+ 托盘号
+
+
+
+
+
+
+
+ 库位编码
+
+
+
+
+
+
+
+
+
+
+
+ | 任务号 |
+ 优先级 |
+ 起始库位 |
+ 目的库位 |
+ 任务状态 |
+ 载具号 |
+ 创建时间 |
+
+
+
+
+ | {{e.task_code}} |
+ {{e.priority}} |
+ {{e.point_code1}} |
+ {{e.point_code2}} |
+ {{e.inst_status}} |
+ {{e.vehicle_code}} |
+ {{e.create_time}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/nlfive/zlmanage.vue b/pages/nlfive/zlmanage.vue
new file mode 100644
index 0000000..23137b9
--- /dev/null
+++ b/pages/nlfive/zlmanage.vue
@@ -0,0 +1,136 @@
+
+
+
+
+
+
+
+
+ 托盘号
+
+
+
+
+
+
+
+ 库位编码
+
+
+
+
+
+
+
+
+
+
+
+ | 指令号 |
+ 任务号 |
+ 优先级 |
+ 起始库位 |
+ 目的库位 |
+ 指令状态 |
+ 托盘号 |
+ AGV车号 |
+ 创建时间 |
+
+
+
+
+ | {{e.instruction_code}} |
+ {{e.task_no}} |
+ {{e.priority}} |
+ {{e.point_code1}} |
+ {{e.point_code2}} |
+ {{e.inst_status}} |
+ {{e.vehicle_code}} |
+ {{e.car_no}} |
+ {{e.create_time}} |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/utils/getData3.js b/utils/getData3.js
index 2708280..4994416 100644
--- a/utils/getData3.js
+++ b/utils/getData3.js
@@ -49,3 +49,56 @@ export const getAllTaskType = () => request({
url:'api/hand/getAllTaskType',
data: {}
})
+
+/**
+ * 任务管理
+ */
+// 1.1 查询无指令的任务
+export const tasks = (vcode, dcode) => request({
+ url:'api/hand/tasks',
+ data: {
+ vehicle_code: vcode,
+ device_code: dcode
+ }
+})
+// 1.2 任务操作
+export const taskoperation = (type, id) => request({
+ url:'api/hand/taskoperation',
+ data: {
+ type: type,
+ task_id: id
+ }
+})
+
+/**
+ * 指令管理
+ */
+// 1.1 查询未完成指令
+export const insts = (vcode, dcode) => request({
+ url:'api/hand/insts',
+ data: {
+ vehicle_code: vcode,
+ device_code: dcode
+ }
+})
+// 1.2 指令操作
+export const inst = (type, id) => request({
+ url:'api/hand/inst',
+ data: {
+ type: type,
+ inst_id: id
+ }
+})
+
+/**
+ * 呼叫agv
+ */
+// 创建任务(生成任务号为-开头)
+export const callTask = (scode, ncode, vcode) => request({
+ url:'api/hand/callTask',
+ data: {
+ start_device_code: scode,
+ next_device_code: ncode,
+ vehicle_code: vcode
+ }
+})
\ No newline at end of file