mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-11 03:46:48 +08:00
fix:修改版本号
This commit is contained in:
2
.env
2
.env
@@ -15,5 +15,7 @@ VITE_BOE_EXAM_DETAIL_URL=//u-pre.boe.com/pc/exam/test?id=
|
|||||||
VITE_BOE_PATH_DETAIL_URL=//u-pre.boe.com/pc/forward?to=/fe-student
|
VITE_BOE_PATH_DETAIL_URL=//u-pre.boe.com/pc/forward?to=/fe-student
|
||||||
|
|
||||||
VITE_BOE_API_URL=https://u-pre.boe.com
|
VITE_BOE_API_URL=https://u-pre.boe.com
|
||||||
|
#用户头像
|
||||||
|
VITE_AVATAR_PATH=/upload/
|
||||||
|
|
||||||
VITE_TASK_WHITE_TYPE=-22-
|
VITE_TASK_WHITE_TYPE=-22-
|
||||||
|
|||||||
@@ -11,5 +11,7 @@ VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc/exam/test?id=
|
|||||||
VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc/forward?to=/fe-student
|
VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc/forward?to=/fe-student
|
||||||
|
|
||||||
VITE_BOE_API_URL=https://u.boe.com
|
VITE_BOE_API_URL=https://u.boe.com
|
||||||
|
#用户头像
|
||||||
|
VITE_AVATAR_PATH=/upload/
|
||||||
|
|
||||||
VITE_TASK_WHITE_TYPE==-22-
|
VITE_TASK_WHITE_TYPE==-22-
|
||||||
|
|||||||
@@ -9,4 +9,7 @@ VITE_BOE_TEST_OUT_DETAIL_URL=//u.boe.com/api/b1/tale/do-quiz?quizKid=
|
|||||||
VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc-release/exam/test?id=
|
VITE_BOE_EXAM_DETAIL_URL=//u.boe.com/pc-release/exam/test?id=
|
||||||
VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc-release/forward?to=/fe-student-release
|
VITE_BOE_PATH_DETAIL_URL=//u.boe.com/pc-release/forward?to=/fe-student-release
|
||||||
|
|
||||||
|
#用户头像
|
||||||
|
VITE_AVATAR_PATH=/upload/
|
||||||
|
|
||||||
VITE_BOE_API_URL=https://u.boe.com
|
VITE_BOE_API_URL=https://u.boe.com
|
||||||
@@ -37,7 +37,8 @@ import {useRoute} from "vue-router/dist/vue-router";
|
|||||||
import {USER_INFO} from "@/api/api";
|
import {USER_INFO} from "@/api/api";
|
||||||
import {IsPhone} from "@/api/utils";
|
import {IsPhone} from "@/api/utils";
|
||||||
|
|
||||||
console.log("版本2.1.1------------");
|
console.log("版本2.1.2------------");
|
||||||
|
|
||||||
const store = useStore();
|
const store = useStore();
|
||||||
const { path } = useRoute();
|
const { path } = useRoute();
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
</botton>
|
</botton>
|
||||||
|
|
||||||
<botton class="btn" :style="{
|
<botton class="btn" :style="{
|
||||||
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.signFlag ? '#999' : 'rgb(57, 146, 249)'}`,
|
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.signFlag ? '#999' : 'rgb(59, 191, 252)'}`,
|
||||||
}" @click="signClick">{{ data.signFlag ? "已签到" : "签到" }}
|
}" @click="signClick">{{ data.signFlag ? "已签到" : "签到" }}
|
||||||
</botton>
|
</botton>
|
||||||
<!-- <botton style="background: #999" class="btn" @click="commitClick" v-if="data.isEvaluate == 0">
|
<!-- <botton style="background: #999" class="btn" @click="commitClick" v-if="data.isEvaluate == 0">
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
</botton> -->
|
</botton> -->
|
||||||
|
|
||||||
<botton :style="{
|
<botton :style="{
|
||||||
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(57, 146, 249)'}`,
|
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(59, 191, 252)'}`,
|
||||||
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1">{{
|
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1">{{
|
||||||
data.isSurvery ? "已评估" :
|
data.isSurvery ? "已评估" :
|
||||||
"评估"
|
"评估"
|
||||||
@@ -80,7 +80,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-else class="threeBtn">
|
<div v-else class="threeBtn">
|
||||||
<botton :style="{
|
<botton :style="{
|
||||||
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(57, 146, 249)'}`,
|
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(59, 191, 252)'}`,
|
||||||
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1&&data.isSurvery">{{
|
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1&&data.isSurvery">{{
|
||||||
data.isSurvery ? "已评估" :
|
data.isSurvery ? "已评估" :
|
||||||
"评估"
|
"评估"
|
||||||
@@ -109,7 +109,7 @@
|
|||||||
</botton> -->
|
</botton> -->
|
||||||
|
|
||||||
<botton :style="{
|
<botton :style="{
|
||||||
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(57, 146, 249)'}`,
|
background: `${new Date(data.liveStartTime).getTime() > new Date().getTime() ? '#999' : data.isSurvery ? '#999' : 'rgb(59, 191, 252)'}`,
|
||||||
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1">{{
|
}" class="btn" @click="commitClick" v-if="data.isEvaluate && data.isEvaluate == 1">{{
|
||||||
data.isSurvery ? "已评估" :
|
data.isSurvery ? "已评估" :
|
||||||
"评估"
|
"评估"
|
||||||
@@ -202,7 +202,7 @@ import {ElMessage} from "element-plus";
|
|||||||
import {useTaskPage} from "@/api/useCommon";
|
import {useTaskPage} from "@/api/useCommon";
|
||||||
|
|
||||||
const {
|
const {
|
||||||
query: {courseId: liveId, id: taskId, type, pName, sName, projectStatus, projectEndTime},
|
query: {courseId: liveId, id: taskId, type, pName, sName, projectStatus, projectEndTime, infoId},
|
||||||
} = useRoute();
|
} = useRoute();
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const returnclick = () => {
|
const returnclick = () => {
|
||||||
@@ -212,7 +212,7 @@ const returnclick = () => {
|
|||||||
const {data} = useRequest(TASK_BROADCAST_DETAIL, {liveId,type});
|
const {data} = useRequest(TASK_BROADCAST_DETAIL, {liveId,type});
|
||||||
console.log('直播信息', data)
|
console.log('直播信息', data)
|
||||||
const teacherInfo = useUserInfo(
|
const teacherInfo = useUserInfo(
|
||||||
computed(() => data.value?.userInfoBo?.userId)
|
computed(() => data.value?.liveTeacherId)
|
||||||
);
|
);
|
||||||
|
|
||||||
const state = reactive({
|
const state = reactive({
|
||||||
@@ -303,6 +303,7 @@ function isSignClick() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
watch(data, () => {
|
watch(data, () => {
|
||||||
|
console.log(teacherInfo)
|
||||||
isSignClick();
|
isSignClick();
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -325,18 +326,18 @@ const commitClick = () => {
|
|||||||
|
|
||||||
console.log({
|
console.log({
|
||||||
courseId: data.value.assessmentId,
|
courseId: data.value.assessmentId,
|
||||||
taskIds: taskId,
|
infoId: liveId,
|
||||||
chapterOrStageId: 0,
|
chapterOrStageId: 0,
|
||||||
pName: "直播",
|
pName: "直播",
|
||||||
sName: data.value.liveName,
|
sName: data.value.liveName,
|
||||||
type: 4
|
type: 4
|
||||||
})
|
})
|
||||||
|
console.log(data.value)
|
||||||
router.push({
|
router.push({
|
||||||
path: "/surveydetail",
|
path: "/surveydetail",
|
||||||
query: {
|
query: {
|
||||||
courseId: data.value.assessmentId,
|
courseId: data.value.assessmentId,
|
||||||
infoId: data.value.liveId,
|
infoId: liveId,
|
||||||
chapterOrStageId: 0,
|
chapterOrStageId: 0,
|
||||||
pName: "直播",
|
pName: "直播",
|
||||||
sName: data.value.liveName,
|
sName: data.value.liveName,
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ const returnclick = () => {
|
|||||||
clearInterval(timers)
|
clearInterval(timers)
|
||||||
router.back();
|
router.back();
|
||||||
};
|
};
|
||||||
const {nextPage,prevPage,hasPrev, hasNext} = type==3 ? '' : useTaskPage()
|
const {nextPage,prevPage,hasPrev, hasNext} = type==3 || type==4 ? '' : useTaskPage()
|
||||||
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
const fielPath = ref(import.meta.env.VITE_FILE_PATH);
|
||||||
const { data } = useRequest(ASSESSMENT_QUERY(courseId), { id: courseId, type, chapterOrStageId, targetId: infoId ? infoId : 0 });
|
const { data } = useRequest(ASSESSMENT_QUERY(courseId), { id: courseId, type, chapterOrStageId, targetId: infoId ? infoId : 0 });
|
||||||
console.log(data)
|
console.log(data)
|
||||||
|
|||||||
Reference in New Issue
Block a user