|
|
@ -49,19 +49,19 @@ const Rest = (props) => { |
|
|
|
} |
|
|
|
}) |
|
|
|
setTableData(nextTableData) |
|
|
|
setLimits(nextTableData?.length || 0) |
|
|
|
// setLimits(nextTableData?.length || 0) |
|
|
|
setLoading(false) |
|
|
|
}, error => { |
|
|
|
Toast.error({ content: '抄送我的工单列表请求失败', duration: 1, }) |
|
|
|
setLoading(false) |
|
|
|
}); |
|
|
|
// EmisRequest.get(EmisApiTable.processInstancemMyNoticeCount, |
|
|
|
// { userId: user?.id, businessType: '运维中台工单', ...obj, limit: "", offset: "" }) |
|
|
|
// .then(res => { |
|
|
|
// setLimits(res.count || 0) |
|
|
|
// }, error => { |
|
|
|
// Toast.error({ content: '抄送我的工单数量请求失败', duration: 1, }) |
|
|
|
// }); |
|
|
|
EmisRequest.get(EmisApiTable.processInstancemMyNoticeCount, |
|
|
|
{ userId: user?.id, businessType: '运维中台表单', ...obj, limit: "", offset: "" }) |
|
|
|
.then(res => { |
|
|
|
setLimits(res.count || 0) |
|
|
|
}, error => { |
|
|
|
Toast.error({ content: '抄送我的工单数量请求失败', duration: 1, }) |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
let columns = [{ |
|
|
|