diff --git a/.env b/.env index b9c6a97..eb42ec7 100644 --- a/.env +++ b/.env @@ -9,7 +9,7 @@ VITE_BOE_CASS_DETAIL_URL=https://u-pre.boe.com/pc/case/detail?id= VITE_BOE_TEST_DETAIL_URL=https://u-pre.boe.com/web/quizsummary?detailId= VITE_BOE_TEST_OUT_DETAIL_URL=https://u-pre.boe.com/api/b1/tale/do-quiz?quizKid= VITE_BOE_EXAM_DETAIL_URL=https://u-pre.boe.com/pc/exam/test?id= -VITE_BOE_PATH_DETAIL_URL=http://u-pre.boe.com/pc/forward?to=/fe-student +VITE_BOE_PATH_DETAIL_URL=https://u-pre.boe.com/pc/forward?to=/fe-student VITE_BOE_API_URL=https://u-pre.boe.com diff --git a/.env.release b/.env.release index 3c2c6b2..6ab43ac 100644 --- a/.env.release +++ b/.env.release @@ -7,6 +7,6 @@ VITE_BOE_CASS_DETAIL_URL=https://u.boe.com/pc-release/case/detail?id= VITE_BOE_TEST_DETAIL_URL=https://u.boe.com/web/quizsummary?detailId= VITE_BOE_TEST_OUT_DETAIL_URL=https://u.boe.com/api/b1/tale/do-quiz?quizKid= VITE_BOE_EXAM_DETAIL_URL=https://u.boe.com/pc-release/exam/test?id= -VITE_BOE_PATH_DETAIL_URL=http://u.boe.com/pc/forward?to=/fe-student-release +VITE_BOE_PATH_DETAIL_URL=https://u.boe.com/pc-release/forward?to=/fe-student-release VITE_BOE_API_URL=https://u.boe.com \ No newline at end of file diff --git a/src/App.vue b/src/App.vue index b147a29..098347f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -7,11 +7,11 @@ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE --> diff --git a/src/api/request.js b/src/api/request.js index d469ad6..96cc4a4 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -94,7 +94,7 @@ export async function request(_url, params) { }).then(resp => resp.data).then(response => { if (response.code !== 200 && response.code !== 0) { if (response.code === 1000) { - import.meta.env.MODE === 'development' ? router.push({ path: '/login' }) : window.open(import.meta.env.VITE_BASE_LOGIN_URL) + import.meta.env.MODE === 'development' ? router.push({ path: '/login' }) : window.open(import.meta.env.VITE_BASE_LOGIN_URL,'_top') } // if (import.meta.env.DEV && response.code === 1000) { // router.push({path: '/login'}) diff --git a/src/components/PathDetailImage.vue b/src/components/PathDetailImage.vue index 1cca01b..7adc428 100644 --- a/src/components/PathDetailImage.vue +++ b/src/components/PathDetailImage.vue @@ -64,7 +64,7 @@ function toDetail(i) { `${import.meta.env.VITE_BOE_PATH_DETAIL_URL}/pathdetails¶ms=${encodeURIComponent( `routerId=${props.detail.routerId}&routerName=${props.detail.routerName}` )}` - ); + ,'_top'); } function close() { diff --git a/src/views/faceteach/FaceTeach.vue b/src/views/faceteach/FaceTeach.vue index 8318992..8a81426 100644 --- a/src/views/faceteach/FaceTeach.vue +++ b/src/views/faceteach/FaceTeach.vue @@ -25,8 +25,8 @@
{{ dayjs(data.planDto?.beginTime).format('YYYY-MM-DD HH:MM') + " 至 " + - dayjs(data.planDto?.endTime).format('YYYY-MM-DD HH:MM') - }} + dayjs(data.planDto?.endTime).format('YYYY-MM-DD HH:MM') +}}
@@ -35,17 +35,17 @@
- - {{ data.signFlag ? "已签到" : "签到" }} + + {{ data.signFlag ? "已签到" : "签到" }} 评估 {{ data.isSurvery ? "已评估" : "评估" }} + background: `${new Date(data.planDto?.beginTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(57, 146, 249)'}`, +}" class="btn" @click="toSurvery" v-else>{{ data.isSurvery ? "已评估" : "评估" }}
@@ -79,10 +79,10 @@ :style="{ borderBottom: '1px solid rgba(56, 125, 247, 0.2)' }">
+ width: '22px', + height: '26px', + marginLeft: '10px', +}">
{{ el.slice(el.indexOf('-') + 1) }}
@@ -111,10 +111,10 @@
- +
+ class="submit" @click="toWork"> 交作业
@@ -137,8 +137,8 @@
考试
- -
去考试 @@ -324,8 +324,7 @@ function toSurvery() { query: { courseId: data.value.planDto.evaluateId, pName: "面授课", - taskId: data.value.planDto.offcoursePlanId, - taskIds: data.value.planDto.offcoursePlanId, + infoId: data.value.offcourseDto.offcourseId, chapterOrStageId: 0, sName: data.value.planDto.name, type: 3 @@ -349,8 +348,7 @@ function toWork() { query: { courseId: data.value.workDto.workId, id: taskId, - taskId: taskId, - taskIds: taskId, + infoId: data.value.offcourseDto.offcourseId, chapterOrStageId: 0, type, pName: "面授课", @@ -365,11 +363,11 @@ function toExamItem(obj) { let date2 = new Date().getTime() if (date1 > date2) { ElMessage.warning("未到开始时间,请耐心等待!"); - + } } console.log("obj", obj.examinationTestId); - window.open(import.meta.env.VITE_BOE_EXAM_DETAIL_URL + obj.examinationTestId); //测评 + window.open(import.meta.env.VITE_BOE_EXAM_DETAIL_URL + obj.examinationTestId,'_top'); //测评 // router.push({ path: import.meta.env.VITE_BOE_EXAM_DETAIL_URL+ obj.examinationTestId }); } diff --git a/src/views/liveBroadcast/LiveBroadcast.vue b/src/views/liveBroadcast/LiveBroadcast.vue index ef926b6..b04352c 100644 --- a/src/views/liveBroadcast/LiveBroadcast.vue +++ b/src/views/liveBroadcast/LiveBroadcast.vue @@ -47,21 +47,23 @@
观看 + background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : 'rgb(59, 191, 252)'}`, +}" @click="showClick">观看 - - {{ data.signFlag ? "已签到" : "签到" }} + + {{ data.signFlag ? "已签到" : "签到" }} - + 评估 {{ data.isSurvery ? "已评估": "评估"}} + background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(57, 146, 249)'}`, +}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1">{{ data.isSurvery ? "已评估" : + "评估" +}}
@@ -138,7 +140,7 @@ diff --git a/src/views/roadmap/LearnPath.vue b/src/views/roadmap/LearnPath.vue index 412d4f2..ca9c46d 100644 --- a/src/views/roadmap/LearnPath.vue +++ b/src/views/roadmap/LearnPath.vue @@ -80,7 +80,7 @@ : scope.row.taskStatus === 2 ? completed : scope.row.taskStatus === 0 - ? nostarted + ? ongoing : null " style="width: 99px; height: 99px"/> diff --git a/src/views/roadmap/PathDetails.vue b/src/views/roadmap/PathDetails.vue index ca57787..10c341b 100644 --- a/src/views/roadmap/PathDetails.vue +++ b/src/views/roadmap/PathDetails.vue @@ -1,65 +1,53 @@