批量推送

This commit is contained in:
郭庆泰
2026-08-16 13:42:26 +08:00
parent c612d4297a
commit 0c093076a4
66 changed files with 4847 additions and 1627 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ async function loadStats() {
async function loadNotices() {
try {
const r = await listMyMessages({ limit: 50 }); const list = r.rows
const r = await listMyMessages({ limit: 50 }); const list = (r.data && r.data.rows) || r.rows || []
notices.value = list.map(n => ({
id: n.id,
title: n.title,
+2 -2
View File
@@ -149,8 +149,8 @@ async function load() {
loading.value = true
try {
const r = await bizList('meeting', { ...q, pageNum: page.pageNum, pageSize: page.pageSize })
rows.value = r.rows || []
page.total = r.total || 0
rows.value = (r.data && r.data.rows) || r.rows || []
page.total = (r.data && r.data.total) || r.total || 0
} catch (e) {
rows.value = []
page.total = 0
+3 -3
View File
@@ -219,8 +219,8 @@ async function load() {
loading.value = true
try {
const r = await bizList('project', { ...q, pageNum: page.pageNum, pageSize: page.pageSize })
rows.value = r.rows || []
page.total = r.total || 0
rows.value = (r.data && r.data.rows) || r.rows || []
page.total = (r.data && r.data.total) || r.total || 0
} catch (e) { rows.value = []; page.total = 0 }
finally { loading.value = false }
}
@@ -228,7 +228,7 @@ async function load() {
async function loadPersons() {
try {
const r = await bizList('person', { pageNum: 1, pageSize: 100 })
personList.value = r.rows || []
personList.value = (r.data && r.data.rows) || r.rows || []
} catch (e) { personList.value = [] }
}