This commit is contained in:
张江玮
2023-10-31 14:20:34 +08:00
parent 59063cdda3
commit 1504737964
17 changed files with 389 additions and 556 deletions

View File

@@ -164,7 +164,7 @@
v-permission="['admin','instruction:edit','instruction:del']"
fixed="left"
label="操作"
width="150px"
width="80px"
align="center"
>
<template slot-scope="scope">
@@ -172,7 +172,7 @@
<span class="el-dropdown-link">
<i class="el-icon-menu" />
</span>
<el-dropdown-menu slot="dropdonwn">
<el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'a')">完成</el-dropdown-item>
<el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'b')">取消</el-dropdown-item>
<el-dropdown-item :command="beforeHandleCommand(scope.$index, scope.row,'c')">下发</el-dropdown-item>
@@ -347,11 +347,8 @@ export default {
case 'b':// 取消
this.cancel(command.index, command.row)
break
case 'c':// 强制取消
this.forceCancel(command.index, command.row)
break
case 'd':// 初始化
this.init(command.index, command.row)
case 'c':
this.sendToAGV(command.index, command.row)
break
}
}