|  |  | 
 |  |  |                         <el-dropdown @command="(command)=>{handleCommand(command, scope.row)}"> | 
 |  |  |                            <el-button icon="el-icon-more" size="mini" type="primary"></el-button> | 
 |  |  |                            <el-dropdown-menu slot="dropdown"> | 
 |  |  |                               <el-dropdown-item command="showCommand">查看指令</el-dropdown-item> | 
 |  |  | <!--                              <el-dropdown-item command="showCommand">查看指令</el-dropdown-item>--> | 
 |  |  |                               <el-dropdown-item command="returnWorkingCondition">重新给堆垛机下发任务</el-dropdown-item> | 
 |  |  |                               <el-dropdown-item command="changeCommand">修改</el-dropdown-item> | 
 |  |  |                               <el-dropdown-item command="assign">派发</el-dropdown-item> | 
 |  |  |                               <el-dropdown-item command="complete">完结</el-dropdown-item> | 
 |  |  | 
 |  |  |                   </el-table-column> | 
 |  |  |                   <el-table-column property="crnNo" label="堆垛机号"> | 
 |  |  |                   </el-table-column> | 
 |  |  |                   <el-table-column property="memo" label="备注"> | 
 |  |  |                   <el-table-column property="ioPri" label="优先级"> | 
 |  |  |                   </el-table-column> | 
 |  |  |                </el-table> | 
 |  |  |  | 
 |  |  | 
 |  |  |                }, | 
 |  |  |                handleCommand(command, row) { | 
 |  |  |                   switch (command) { | 
 |  |  |                      case "showCommand": | 
 |  |  |                         //查看指令 | 
 |  |  |                         this.showCommand(row) | 
 |  |  |                      case "returnWorkingCondition": | 
 |  |  |                         //重新给堆垛机下发任务 | 
 |  |  |                         this.returnWorkingConditionWrk(row) | 
 |  |  |                         break; | 
 |  |  |                      case "changeCommand": | 
 |  |  |                         //修改指令 | 
 |  |  | 
 |  |  |                   }); | 
 |  |  |                }, | 
 |  |  |                completeWrk(row){ | 
 |  |  |                   //派发任务 | 
 |  |  |                   //完成任务 | 
 |  |  |                   let that = this | 
 |  |  |                   $.ajax({ | 
 |  |  |                      url: baseUrl + "/taskWrk/complete/auth", | 
 |  |  | 
 |  |  |                      } | 
 |  |  |                   }); | 
 |  |  |                }, | 
 |  |  |                returnWorkingConditionWrk(row){ | 
 |  |  |                   //重新给堆垛机下发任务 | 
 |  |  |                   let that = this | 
 |  |  |                   $.ajax({ | 
 |  |  |                      url: baseUrl + "/taskWrk/returnWorkingCondition/auth", | 
 |  |  |                      headers: { | 
 |  |  |                         'token': localStorage.getItem('token') | 
 |  |  |                      }, | 
 |  |  |                      data: { | 
 |  |  |                         taskNo: row.taskNo | 
 |  |  |                      }, | 
 |  |  |                      method: 'POST', | 
 |  |  |                      success: function(res) { | 
 |  |  |                         if (res.code == 200) { | 
 |  |  |                            that.$message({ | 
 |  |  |                               message: "取消成功", | 
 |  |  |                               type: 'success' | 
 |  |  |                            }); | 
 |  |  |                            that.getTableData() | 
 |  |  |                         } else if (res.code === 403) { | 
 |  |  |                            top.location.href = baseUrl + "/"; | 
 |  |  |                         } else { | 
 |  |  |                            that.$message({ | 
 |  |  |                               message: res.msg, | 
 |  |  |                               type: 'error' | 
 |  |  |                            }); | 
 |  |  |                         } | 
 |  |  |                      } | 
 |  |  |                   }); | 
 |  |  |                }, | 
 |  |  |                cancelWrk(row){ | 
 |  |  |                   //取消任务 | 
 |  |  |                   let that = this |