Commit 59696230 authored by wanghao's avatar wanghao

1 指令指令完成,但是 没有检测到机械臂完成。

parent 2d47c04f
......@@ -399,7 +399,7 @@ public class RobotArmCommandServiceImpl implements IRobotArmCommandService
if (command == null) {
return AjaxResult.error("指令不存在");
}
if(!"1".equals(command.getStatus())) {
if(!"2".equals(command.getStatus())) {
return AjaxResult.error("只有待执行状态的指令才能确认完成");
}
try {
......
......@@ -163,7 +163,7 @@
</div>
<div class="dialog-footer">
<button class="cancel-button" @click="closeSureCompleteDialog">取消</button>
<button class="confirm-button" @click="confirmSureComplete">确认上电</button>
<button class="confirm-button" @click="confirmSureComplete">确认完成</button>
</div>
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment