mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
修改
This commit is contained in:
@@ -97,9 +97,9 @@
|
|||||||
<div class="homework-title">上传作业</div>
|
<div class="homework-title">上传作业</div>
|
||||||
<div class="homework-content">
|
<div class="homework-content">
|
||||||
|
|
||||||
<div v-else >
|
<!-- <div v-else >
|
||||||
<el-button type="primary">选择文件并上传</el-button>
|
<el-button type="primary">选择文件并上传</el-button>
|
||||||
</div>
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div style="text-align: center;padding-bottom: 10px;">
|
<!-- <div style="text-align: center;padding-bottom: 10px;">
|
||||||
@@ -477,10 +477,11 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.showQrimage();
|
|
||||||
this.loadResOwners();
|
this.loadResOwners();
|
||||||
let id = this.$route.query.id;
|
let id = this.$route.query.id;
|
||||||
this.courseInfo.id = id;
|
this.courseInfo.id = id;
|
||||||
|
this.showQrimage();
|
||||||
let $this = this;
|
let $this = this;
|
||||||
//页面只支取一次,所以先直接写在这里面
|
//页面只支取一次,所以先直接写在这里面
|
||||||
apiCoursePortal.detail(id).then(rs => {
|
apiCoursePortal.detail(id).then(rs => {
|
||||||
@@ -556,7 +557,7 @@ export default {
|
|||||||
showQrimage(row){
|
showQrimage(row){
|
||||||
this.qrcode = this.webBaseUrl+'/mobile/pages/resource/microDetail?id='+this.courseInfo.id;
|
this.qrcode = this.webBaseUrl+'/mobile/pages/resource/microDetail?id='+this.courseInfo.id;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.crateQrcode();
|
//this.crateQrcode();
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
crateQrcode(){
|
crateQrcode(){
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ export default {
|
|||||||
//判断是否完成
|
//判断是否完成
|
||||||
let completeType=this.curriculumData.completeSetup;
|
let completeType=this.curriculumData.completeSetup;
|
||||||
let completeSecond=this.curriculumData.second;
|
let completeSecond=this.curriculumData.second;
|
||||||
if(!completeSecond || completeType=0){
|
if(!completeSecond || completeType==0){
|
||||||
completeSecond=5;//如果没有就采用默认的时间了
|
completeSecond=5;//如果没有就采用默认的时间了
|
||||||
}
|
}
|
||||||
if(this.contentData.status<9){ //因为1按进度,2按时长都是计算时间,所以这里直接大于0处理
|
if(this.contentData.status<9){ //因为1按进度,2按时长都是计算时间,所以这里直接大于0处理
|
||||||
|
|||||||
Reference in New Issue
Block a user