提交
This commit is contained in:
@@ -12,8 +12,8 @@
|
||||
"src" : "图片路径"
|
||||
}
|
||||
],
|
||||
"versionName" : "1.0.27",
|
||||
"versionCode" : 1027,
|
||||
"versionName" : "1.0.28",
|
||||
"versionCode" : 1028,
|
||||
"app-plus" : {
|
||||
"nvueCompiler" : "weex",
|
||||
"compatible" : {
|
||||
|
||||
@@ -69,7 +69,7 @@
|
||||
<!-- {{selfStudyCertificate.length}}-{{classInfo.id}}-{{classInfo.state}}- -->
|
||||
<!-- 自考入口 没有加入班级的时候暴漏入口-->
|
||||
<view class="selfStudyBox"
|
||||
v-if="librayList[curIndex] && (!classInfo.id || classInfo.state == '2' || selfStudyCertificate.length >= 0)">
|
||||
v-if="course.canzk == '1' && librayList[curIndex] && (!classInfo.id || classInfo.state == '2' || selfStudyCertificate.length >= 0)">
|
||||
<view style="padding: 20rpx;"
|
||||
v-if="(selfStudyCertificate.length == 0 || selfStudyPaperList.length > 0 && !testingPaper.id) && (!classInfo.id || classInfo.state == '2')">
|
||||
<view class="">
|
||||
@@ -672,8 +672,7 @@
|
||||
// #ifdef APP-PLUS
|
||||
plus.screen.unlockOrientation();
|
||||
plus.screen.lockOrientation("portrait-primary");
|
||||
// #endif
|
||||
this.getLinkClassList()
|
||||
// #endif
|
||||
await this.request()
|
||||
|
||||
},
|
||||
@@ -724,6 +723,9 @@
|
||||
}
|
||||
})
|
||||
}
|
||||
if(this.classCertificate.length <= 0){ // 已经在班级内获得证书就不再检查班级的情况了
|
||||
this.getLinkClassList()
|
||||
}
|
||||
var historyPaper = await this.getingPaper()
|
||||
console.log('historyPaper正在考试的信息', historyPaper);
|
||||
if (historyPaper && historyPaper.id && historyPaper.type == '2' && historyPaper.relationId == this
|
||||
@@ -746,6 +748,10 @@
|
||||
this.testingPaper = {}
|
||||
this.showCountDown = false
|
||||
}
|
||||
if(this.course.canzk == '0'){ // 如果没有开启自考,就不走自考相关的逻辑
|
||||
console.log('没有打开自考开关');
|
||||
return
|
||||
}
|
||||
var selfStudyPaperList = await this.getSelfStudyPaperList()
|
||||
this.selfStudyPaperList = selfStudyPaperList
|
||||
console.log('selfStudyPaperList', selfStudyPaperList);
|
||||
|
||||
@@ -536,7 +536,8 @@
|
||||
},
|
||||
})
|
||||
.then(async res => {
|
||||
if (res.code == 0) {
|
||||
console.log(res);
|
||||
if (res && res.code == 0) {
|
||||
if (res.result.length > 0) {
|
||||
_list = res.result
|
||||
}
|
||||
@@ -580,8 +581,8 @@
|
||||
this.$http
|
||||
.post('medical/home/getCourseMedicalTree')
|
||||
.then(res => {
|
||||
// console.log(res)
|
||||
if (res.code == 0) {
|
||||
console.log(res)
|
||||
if (res && res.code == 0) {
|
||||
if (res.labels.length > 0) {
|
||||
this.curseTagList = res.labels
|
||||
this.tabsid = res.labels[0].id
|
||||
|
||||
Reference in New Issue
Block a user