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