feat:修改考试在线二维码

This commit is contained in:
lixg
2023-02-19 15:43:27 +08:00
parent b29e31721f
commit 1bccb2c6e9
2 changed files with 1237 additions and 1226 deletions

View File

@@ -329,8 +329,11 @@
<div
@click="showFaceStuSignUp"
class="editright"
style="margin-right:130px;cursor: pointer;">
<span class="editextb" style="margin-left:0px;">批量面授报名</span>
style="margin-right: 130px; cursor: pointer"
>
<span class="editextb" style="margin-left: 0px"
>批量面授报名</span
>
</div>
<router-link
:to="{ path: '/leveladddetail', query: { routerId: routerId } }"
@@ -410,7 +413,8 @@
display: flex;
align-items: center;
justify-content: center;
">
"
>
<img
:src="
item.type == 1
@@ -542,7 +546,11 @@
: item.type === 4
? homeworkModel(item)
: item.type === 5
? examinationModel(item, value.name, value.chapterId)
? examinationModel(
item,
value.name,
value.chapterId
)
: item.type === 10
? evaluationModel(item, value.name)
: item.type === 12
@@ -1435,7 +1443,9 @@ export default {
hasTask: false,
stage: [],
statess: [],
routerId: route.query.routerId?route.query.routerId:localStorage.getItem('routerId'), //学习路径页面传的学习路径id
routerId: route.query.routerId
? route.query.routerId
: localStorage.getItem("routerId"), //学习路径页面传的学习路径id
gatename: null, //关卡名称
gatenamee: null, //学员管理关卡名称
action: null,
@@ -1606,7 +1616,7 @@ export default {
projectModelVisible: false,
faceTeachModelVisibleTitle: "",
examinationModelVisibleTitle: "",
outchapter:"",
outchapter: "",
evaluationModelVisibleTitle: "",
homeworkModelVisibleTitle: "",
commonModelVisibleTitle: "",
@@ -1636,7 +1646,7 @@ export default {
? "http://43.143.139.204:12016/"
: location.href.slice(0, location.href.indexOf("/m")) + "/upload/",
isreload: true,
TaskFaceImpStuvisible: false
TaskFaceImpStuvisible: false,
});
const levelList = reactive({
@@ -2299,7 +2309,10 @@ export default {
state.nodata = false;
}
let data = res.data.data.chapterList;
console.log('----------------111111111111111-----------------2222222222', res.data.data.chapterList)
console.log(
"----------------111111111111111-----------------2222222222",
res.data.data.chapterList
);
state.stage = res.data.data.chapterList.map((e) => ({
id: e.id,
name: e.name,
@@ -2597,7 +2610,8 @@ export default {
return message.error("该任务无法学习,请联系管理员进行替换。");
window.open(
window.location.protocol +
import.meta.env.VITE_BOE_ONLINE_CLASS_URL +
import.meta.env.VUE_APP_BOE_API_URL +
"/mobile/pages/study/courseStudy?id=" +
item.targetId,
"_top"
);
@@ -2854,9 +2868,9 @@ export default {
// 面授课学员报名弹框
const showFaceStuSignUp = () => {
console.log('我点击了- 批量面授报名')
console.log("我点击了- 批量面授报名");
state.TaskFaceImpStuvisible = true;
}
};
return {
...toRefs(state),
@@ -2931,7 +2945,7 @@ export default {
selectProjectName4,
changeLevel,
checkPer,
showFaceStuSignUp
showFaceStuSignUp,
};
},
};