Commit faebde76 authored by “yiyousong”'s avatar “yiyousong”

perf: 优化数据集市排队数据总数字段

parent c7d87336
...@@ -413,7 +413,11 @@ export default { ...@@ -413,7 +413,11 @@ export default {
obj[this.searchForm.type] = val; obj[this.searchForm.type] = val;
let res = await getQueueList({ ...obj, ...this.searchForm2, ...form }); let res = await getQueueList({ ...obj, ...this.searchForm2, ...form });
if (res.data.code == 1) { if (res.data.code == 1) {
return res.data.data; let { data, count } = res.data.data;
return {
data,
total: count,
};
} else { } else {
return { return {
data: [], data: [],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment