This commit is contained in:
Pengxiansen
2025-02-17 10:31:26 +08:00
parent 1904d07014
commit f83820965d
30 changed files with 822 additions and 540 deletions

View File

@@ -10,6 +10,7 @@ export const PROJECT = 1;
export const ROUTER = 2;
export const COURSE = 3;
export const GROWTH = 4
export const TASK_TYPES = {
typeName: {
1: "在线",
@@ -41,6 +42,7 @@ export const TASK_TYPES = {
12: "去投票",
13: "去完成",
},
path: {
1: ({ courseId }) => window.open(window.location.protocol + import.meta.env.VITE_BOE_ONLINE_CLASS_URL + courseId), //在线
2: ({ targetId }) => window.open(`${location.protocol}//${location.host}${import.meta.env.VITE_BASE_API}/stu/project/redirectDetail?courseId=${targetId}`, '_top'),
@@ -56,4 +58,6 @@ export const TASK_TYPES = {
12: "/ballotpage",
13: "/projectdetails",
},
}
}