[mod]适配分页返回数据放入data中返回

This commit is contained in:
Carrierli
2026-03-17 16:18:12 +08:00
parent d97c93cc98
commit 82d28a3188
49 changed files with 121 additions and 94 deletions
+4 -4
View File
@@ -343,8 +343,8 @@ const handleSelectionChange = (selection: FlowInstanceVO[]) => {
const getProcessInstanceRunningList = () => {
loading.value = true;
pageByRunning(queryParams.value).then((resp) => {
processInstanceList.value = resp.rows;
total.value = resp.total;
processInstanceList.value = resp.data?.rows;
total.value = resp.data?.total;
loading.value = false;
});
};
@@ -352,8 +352,8 @@ const getProcessInstanceRunningList = () => {
const getProcessInstanceFinishList = () => {
loading.value = true;
pageByFinish(queryParams.value).then((resp) => {
processInstanceList.value = resp.rows;
total.value = resp.total;
processInstanceList.value = resp.data?.rows;
total.value = resp.data?.total;
loading.value = false;
});
};