fix(basepath): add basepath

This commit is contained in:
zhangheng
2026-02-28 15:43:50 +08:00
parent bcf46df7ec
commit 4aa29b80d1
14 changed files with 72 additions and 49 deletions

View File

@@ -2,7 +2,7 @@
import {
deleteDailyWorkData,
getDailyWorkList,
getSelfDailyWorkList,
} from "@/components/label/api/daily"
import { Daily } from "@/components/label/api/daily/typing"
import { getSelfProjectList } from "@/components/label/api/project"
@@ -201,7 +201,7 @@ export default function PersonReportPage() {
if (!queryTrigger) return
setLoading(true)
try {
const res = await getDailyWorkList(queryParams)
const res = await getSelfDailyWorkList(queryParams)
setRecords(res?.daily_work_list ?? [])
setTotalItems(res?.total_items ?? 0)
setSummary(res?.total_summary ?? null)