批量审核成功后跳转到已处理页签
This commit is contained in:
		
							parent
							
								
									00f0d7a8db
								
							
						
					
					
						commit
						ab0e28d91f
					
				|  | @ -152,6 +152,7 @@ class SscUserList extends Component { | |||
|     buttonController(props, moduleId, record, index, status) { | ||||
|         let checkedrows = props.table.getCheckedRows(moduleId); | ||||
|         this.selectedRows = checkedrows; | ||||
|         console.log("选中行:",checkedrows); | ||||
|     } | ||||
|     componentWillMount() { | ||||
|         // debugger
 | ||||
|  | @ -836,7 +837,7 @@ class SscUserList extends Component { | |||
|     //批量审核点击
 | ||||
|     clickBatchAudit() { | ||||
|         if (!this.selectedRows || Object.keys(this.selectedRows).length == 0) { | ||||
|            alert("请先选择行后重试"); | ||||
|             toast({ color: 'danger', content: '请先选择行后重试' }); | ||||
|         } else { | ||||
|             const dataList = []; | ||||
|              | ||||
|  | @ -865,18 +866,20 @@ class SscUserList extends Component { | |||
|             let data = { | ||||
|                     batchDataList:dataList | ||||
|                 } | ||||
|             console.log("查看参数-------",data) | ||||
|             requestApi.batchTaskApproveAction({ | ||||
|                 data: { | ||||
|                     batchDataList:dataList | ||||
|                 }, | ||||
|                 success: (data) => { | ||||
|                     if (data.success) { | ||||
|                         | ||||
|                          | ||||
|                        toast({ color: 'success', content: '审核成功' }); | ||||
|                        //审核成功之后跳转到已处理页面
 | ||||
|                        this.selectTabChange('handled') | ||||
|                     } | ||||
|                      | ||||
|                 } | ||||
|             }) | ||||
|              | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue