| | |
| | | } |
| | | } |
| | | |
| | | // <summary> |
| | | /// 上传任务 |
| | | /// </summary> |
| | | /// <param name="input"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | [ApiDescriptionSettings(Name = "UploadTask")] |
| | | [DisplayName("上传任务")] |
| | | public async Task UploadTask(UpdateWcsTaskInput input) |
| | | { |
| | | var modTask = await _wcsTaskRep.GetByIdAsync(input.Id); |
| | |
| | | v-auth="'wcsTask:complete'"> 完成 </el-button> |
| | | <el-button icon="ele-Close" size="small" text="" type="primary" @click="cancellTask(scope.row)" |
| | | v-auth="'wcsTask:cancell'"> 取消 </el-button> |
| | | </template> |
| | | <template v-if="scope.row.status == 2"> |
| | | <el-button icon="ele-Upload" size="small" text="" type="primary" @click="uploadTask(scope.row)" |
| | | v-auth="'wcsTask:cancell'"> 上传 </el-button> |
| | | </template> |