This commit is contained in:
2025-10-27 19:05:56 +08:00
parent 0033ac10ec
commit 98c73632bd
25 changed files with 1223 additions and 133 deletions

View File

@@ -143,10 +143,10 @@ onMounted(() => {
});
// 获取当前用户ID
const getUserID = () => {
function getUserID() {
const userInfo = store.getters['auth/user'];
return userInfo?.id || '';
};
}
// 加载任务列表(用户视角)
async function loadTaskList() {
@@ -161,8 +161,8 @@ async function loadTaskList() {
// 调用用户任务分页接口
const pageParam = {
page: 1,
size: 100 // 获取所有任务,不做分页
pageNumber: 1,
pageSize: 100 // 获取所有任务,不做分页
};
const filter: TaskItemVO = {