diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/oven_manipulator/OvenGantryManipulatorDeviceDriver.java b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/oven_manipulator/OvenGantryManipulatorDeviceDriver.java
index 6fbc82193..f6c3817c7 100644
--- a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/oven_manipulator/OvenGantryManipulatorDeviceDriver.java
+++ b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/oven_manipulator/OvenGantryManipulatorDeviceDriver.java
@@ -39,6 +39,7 @@ import org.nl.acs.task.service.dto.TaskDto;
import org.nl.modules.common.exception.BadRequestException;
import org.nl.modules.system.service.ParamService;
import org.nl.modules.system.service.impl.ParamServiceImpl;
+import org.nl.modules.system.util.CodeUtil;
import org.nl.modules.wql.util.SpringContextHolder;
import org.openscada.opc.lib.da.Server;
import org.springframework.beans.factory.annotation.Autowired;
@@ -579,6 +580,7 @@ public class OvenGantryManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
instdto.setPriority(priority);
instdto.setInstruction_status("0");
instdto.setExecute_device_code(start_point_code);
+ instdto.setInstruction_code(CodeUtil.getNewCode("INSTRUCT_NO"));
//判断关联的同一列烘箱设备是否都关门 都关门返回false,有一个不关门就返回true
boolean isCloseDoor = this.judgeCloseDoor(instdto.getStart_device_code(), instdto.getNext_device_code());
@@ -614,7 +616,7 @@ public class OvenGantryManipulatorDeviceDriver extends AbstractOpcDeviceDriver i
String start_addr = startDevice.getExtraValue().get("address").toString();
String next_addr = nextDevice.getExtraValue().get("address").toString();
logServer.deviceExecuteLog(device_code, "", "", "当前设备:" + device_code + ",下发指令:"
- + instdto.getInstruction_code() + ",指令起点:" + instdto.getStart_device_code()
+ + instdto.getInstruction_code() +";指令号: "+ CodeUtil.getNewCode("INSTRUCT_NO") + ",指令起点:" + instdto.getStart_device_code()
+ ",指令终点:" + instdto.getNext_device_code());
this.writing("to_onset", start_addr);
this.writing("to_target", next_addr);
diff --git a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/siemens_conveyor/SiemensConveyorDeviceDriver.java b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/siemens_conveyor/SiemensConveyorDeviceDriver.java
index 1d4486e82..9ac8f9e9c 100644
--- a/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/siemens_conveyor/SiemensConveyorDeviceDriver.java
+++ b/acs/nladmin-system/src/main/java/org/nl/acs/device_driver/basedriver/siemens_conveyor/SiemensConveyorDeviceDriver.java
@@ -469,16 +469,24 @@ public class SiemensConveyorDeviceDriver extends AbstractOpcDeviceDriver impleme
applyManipulatorActionRequest.setTask_code1(inst.getTask_code());
logServer.deviceExecuteLog(this.device_code, "", "", "task变化请求LMS,参数:" + applyManipulatorActionRequest);
try {
- for (int i = 0; i < 5; i++) {
- ApplyManipulatorActionResponse response = acsToWmsService.actionFinishRequest(applyManipulatorActionRequest);
- if (response == null || response.getstatus() == 200) {
- logServer.deviceExecuteLog(this.device_code, "", "", "task变化请求LMS,接口返回:" + response.getMessage());
- break;
- } else {
- message = "task变化请求LMS失败: " + response.getMessage();
- Thread.sleep(15000);
+ final ThreadPoolExecutor EXECUTOR = ThreadPoolExecutorUtil.getPoll();
+ EXECUTOR.submit(() -> {
+ for (int i = 0; i < 5; i++) {
+ ApplyManipulatorActionResponse response = acsToWmsService.actionFinishRequest(applyManipulatorActionRequest);
+ if (response == null || response.getstatus() == 200) {
+ logServer.deviceExecuteLog(this.device_code, "", "", "task变化请求LMS,接口返回:" + response.getMessage());
+ break;
+ } else {
+ logServer.deviceExecuteLog(this.device_code, "", "", "任务变化请求LMS失败:" + response.getMessage());
+ message = "task变化请求LMS失败: " + response.getMessage();
+ try {
+ Thread.sleep(15000);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+ }
}
- }
+ });
} catch (Exception e) {
e.printStackTrace();
logServer.deviceExecuteLog(this.device_code, "", "", "task变化请求LMS失败" + e.getMessage());
diff --git a/acs/nladmin-ui/src/assets/images/logo.png b/acs/nladmin-ui/src/assets/images/logo.png
index f75771096..9675cc8b9 100644
Binary files a/acs/nladmin-ui/src/assets/images/logo.png and b/acs/nladmin-ui/src/assets/images/logo.png differ
diff --git a/acs/nladmin-ui/src/assets/images/logo1.png b/acs/nladmin-ui/src/assets/images/logo1.png
new file mode 100644
index 000000000..f75771096
Binary files /dev/null and b/acs/nladmin-ui/src/assets/images/logo1.png differ
diff --git a/acs/nladmin-ui/src/layout/components/Sidebar/Logo.vue b/acs/nladmin-ui/src/layout/components/Sidebar/Logo.vue
index bc2a53d0b..f05e56633 100644
--- a/acs/nladmin-ui/src/layout/components/Sidebar/Logo.vue
+++ b/acs/nladmin-ui/src/layout/components/Sidebar/Logo.vue
@@ -70,8 +70,8 @@ export default {
width: 100%;
& .sidebar-logo {
- width: 32px;
- height: 32px;
+ width: 55px;
+ height: 15px;
vertical-align: middle;
margin-right: 6px;
}
diff --git a/acs/nladmin-ui/src/views/acs/device/opc/index.vue b/acs/nladmin-ui/src/views/acs/device/opc/index.vue
index 1afca03d7..8fabb2326 100644
--- a/acs/nladmin-ui/src/views/acs/device/opc/index.vue
+++ b/acs/nladmin-ui/src/views/acs/device/opc/index.vue
@@ -109,11 +109,11 @@
-
+
- 修改
- 删除
-
+ 修改
+ 删除
+
新增PLC
diff --git a/acs/nladmin-ui/src/views/acs/history/deviceErrorInfo/index.vue b/acs/nladmin-ui/src/views/acs/history/deviceErrorInfo/index.vue
index 7a3611a3d..4c34c0590 100644
--- a/acs/nladmin-ui/src/views/acs/history/deviceErrorInfo/index.vue
+++ b/acs/nladmin-ui/src/views/acs/history/deviceErrorInfo/index.vue
@@ -43,7 +43,7 @@
@@ -63,10 +63,10 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
+
+
+
+
@@ -95,45 +95,45 @@
style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
-
+
+
+
+
+
{{ dict.label.task_type[scope.row.instruction_type] }}
-
+
{{ dict.label.task_status[scope.row.instruction_status] }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
{{ dict.label.agv_system_type[scope.row.agv_system_type] }}
-
+
-
-
-
-
-
-
-
+
+
+
+
+
+
+
@@ -202,7 +202,7 @@ export default {
edit: false,
del: false,
reset: false,
- download: true
+ download: false
}
})
},
diff --git a/acs/nladmin-ui/src/views/acs/history/taskRecord/index.vue b/acs/nladmin-ui/src/views/acs/history/taskRecord/index.vue
index 702d4d290..28bbe2b32 100644
--- a/acs/nladmin-ui/src/views/acs/history/taskRecord/index.vue
+++ b/acs/nladmin-ui/src/views/acs/history/taskRecord/index.vue
@@ -229,47 +229,47 @@
style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
+
+
+
+
{{ dict.label.task_type[scope.row.task_type] }}
-
+
{{ dict.label.task_status[scope.row.task_status] }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
{{ dict.label.agv_system_type[scope.row.agv_system_type] }}
-
+
{{ dict.label.storage_task_type[scope.row.storage_task_type] }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
@@ -325,7 +325,7 @@ export default {
edit: false,
del: false,
reset: false,
- download: true
+ download: false
}
})
},
diff --git a/acs/nladmin-ui/src/views/acs/history/taskTreeRecord/index.vue b/acs/nladmin-ui/src/views/acs/history/taskTreeRecord/index.vue
index 5ca9ad20f..b714d425d 100644
--- a/acs/nladmin-ui/src/views/acs/history/taskTreeRecord/index.vue
+++ b/acs/nladmin-ui/src/views/acs/history/taskTreeRecord/index.vue
@@ -86,51 +86,51 @@
@select-all="crud.selectAllChange"
@selection-change="crud.selectionChangeHandler"
>
-
-
-
+
+
+
{{ dict.label.task_type[scope.row.task_type] }}
-
+
{{ dict.label.task_status[scope.row.task_status] }}
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
{{ dict.label.agv_system_type[scope.row.agv_system_type] }}
-
+
-
+
{{ dict.label.storage_task_type[scope.row.storage_task_type] }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
diff --git a/acs/nladmin-ui/src/views/acs/history/udwData/index.vue b/acs/nladmin-ui/src/views/acs/history/udwData/index.vue
index 17f53a1fd..346fd74a3 100644
--- a/acs/nladmin-ui/src/views/acs/history/udwData/index.vue
+++ b/acs/nladmin-ui/src/views/acs/history/udwData/index.vue
@@ -31,7 +31,7 @@
diff --git a/acs/nladmin-ui/src/views/acs/instruction/index.vue b/acs/nladmin-ui/src/views/acs/instruction/index.vue
index 406e28684..bc5b7faa2 100644
--- a/acs/nladmin-ui/src/views/acs/instruction/index.vue
+++ b/acs/nladmin-ui/src/views/acs/instruction/index.vue
@@ -32,7 +32,7 @@
style="width: 190px"
@change="crud.toQuery"
>
-
+
@@ -119,48 +119,52 @@
@selection-change="crud.selectionChangeHandler"
>
-
-
-
+
+
+
{{ dict.label.task_type[scope.row.instruction_type] }}
-
-
-
+
+
+
就绪
执行中
完成
-
+
未下发
成功
失败
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ dict.label.agv_system_type[scope.row.agv_system_type] }}
+
+
+
+
+
+
+
-
+ -->
+
+
+
+
+
+ More
+
+
+
+
+
+
+ 完成
+
+
+
+
+ 取消
+
+
+
+
+ 强制取消
+
+
+
+
+ 初始化
+
+
+
+
+
+
@@ -232,7 +324,7 @@ const defaultForm = {
update_time: null
}
export default {
- dicts: ['task_status', 'task_type'],
+ dicts: ['task_status', 'task_type', 'agv_system_type'],
name: 'Instruction',
components: { crudOperation, pagination },
mixins: [presenter(), header(), form(defaultForm), crud()],
@@ -370,4 +462,5 @@ export default {
.el-icon-arrow-down {
font-size: 12px;
}
+
diff --git a/acs/nladmin-ui/src/views/acs/task/index.vue b/acs/nladmin-ui/src/views/acs/task/index.vue
index 619b3ce01..6805581b6 100644
--- a/acs/nladmin-ui/src/views/acs/task/index.vue
+++ b/acs/nladmin-ui/src/views/acs/task/index.vue
@@ -408,47 +408,46 @@
style="width: 100%;"
@selection-change="crud.selectionChangeHandler"
>
-
-
-
-
+
+
+
+
{{ dict.label.task_type[scope.row.task_type] }}
-
-
+
+
{{ dict.label.task_status[scope.row.task_status] }}
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
{{ dict.label.agv_system_type[scope.row.agv_system_type] }}
-
+
{{ dict.label.storage_task_type[scope.row.storage_task_type] }}
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+ 完成
+
+
+ 取消
+
+
+ 创建指令
+
+
+
@@ -497,7 +529,7 @@ export default {
edit: true,
del: true,
reset: false,
- download: true
+ download: false
},
crudMethod: { ...crudTask }
})
@@ -707,14 +739,16 @@ export default {
// })
// },
- beforeHandleCommand(index, row, command) {
+ /* beforeHandleCommand(index, row, command) {
+ console.log(command.command)
return {
'index': index,
'row': row,
'command': command
}
- },
+ }, */
handleCommand(command) {
+ console.log(command.command)
switch (command.command) {
case 'a':// 完成
this.finish(command.index, command.row)
@@ -836,4 +870,11 @@ export default {
.el-icon-arrow-down {
font-size: 12px;
}
+
+.custom-cell {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+}
+
diff --git a/acs/nladmin-ui/src/views/login.vue b/acs/nladmin-ui/src/views/login.vue
index caa6d0699..b246c984e 100644
--- a/acs/nladmin-ui/src/views/login.vue
+++ b/acs/nladmin-ui/src/views/login.vue
@@ -56,8 +56,8 @@ export default {
codeUrl: '',
cookiePass: '',
loginForm: {
- username: 'admin',
- password: '123456',
+ username: '',
+ password: '',
rememberMe: false,
code: '',
uuid: ''