|
|
@ -132,10 +132,12 @@ export function useTable( |
|
|
|
pageNo: 1, |
|
|
|
pageNo: 1, |
|
|
|
pageSize: 2147483647 |
|
|
|
pageSize: 2147483647 |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Promise.all([ |
|
|
|
Promise.all([ |
|
|
|
queryTaskListInTaskGroupQueueById(params), |
|
|
|
queryTaskListInTaskGroupQueueById(params), |
|
|
|
queryTaskGroupListPaging(taskGroupSearchParams) |
|
|
|
queryTaskGroupListPaging(taskGroupSearchParams) |
|
|
|
]).then((values: any[]) => { |
|
|
|
]).then( |
|
|
|
|
|
|
|
(values: any[]) => { |
|
|
|
const taskGroupList = values[1].totalList |
|
|
|
const taskGroupList = values[1].totalList |
|
|
|
variables.totalPage = values[0].totalPage |
|
|
|
variables.totalPage = values[0].totalPage |
|
|
|
variables.tableData = values[0].totalList.map( |
|
|
|
variables.tableData = values[0].totalList.map( |
|
|
@ -162,8 +164,11 @@ export function useTable( |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
) |
|
|
|
) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
() => {} |
|
|
|
|
|
|
|
) |
|
|
|
|
|
|
|
|
|
|
|
variables.loadingRef = false |
|
|
|
variables.loadingRef = false |
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return { getTableData, variables, columns } |
|
|
|
return { getTableData, variables, columns } |
|
|
|