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:
@@ -95,9 +95,9 @@
|
|||||||
<el-col :offset="12" :span="4">
|
<el-col :offset="12" :span="4">
|
||||||
<div class="grid-content bg-purple">
|
<div class="grid-content bg-purple">
|
||||||
<el-select v-model="learningRecords.status" clearable placeholder="状态">
|
<el-select v-model="learningRecords.status" clearable placeholder="状态">
|
||||||
<el-option label="已完成" :value="9"></el-option>
|
|
||||||
<el-option label="未开始" :value="1"></el-option>
|
<el-option label="未开始" :value="1"></el-option>
|
||||||
<el-option label="进行中" :value="8"></el-option>
|
<el-option label="进行中" :value="2"></el-option>
|
||||||
|
<el-option label="已完成" :value="9"></el-option>
|
||||||
</el-select>
|
</el-select>
|
||||||
</div>
|
</div>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -290,7 +290,7 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button type="primary" @click="studyContentRecords">搜索</el-button>
|
<el-button type="primary" @click="studyContentRecordsSearch">搜索</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-button v-if="isHomeWork" :disabled="isTrue" style="padding:10px 15px;margin-bottom: 10px;" type="primary" @click="downLoad">导出全部作业</el-button>
|
<el-button v-if="isHomeWork" :disabled="isTrue" style="padding:10px 15px;margin-bottom: 10px;" type="primary" @click="downLoad">导出全部作业</el-button>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -347,6 +347,10 @@ export default {
|
|||||||
manageStudyData: {
|
manageStudyData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({})
|
default: () => ({})
|
||||||
|
},
|
||||||
|
isShowDialog:{
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -417,6 +421,21 @@ export default {
|
|||||||
this.getDetail();
|
this.getDetail();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
'study.catalogueShow'(val){
|
||||||
|
if(!val){
|
||||||
|
this.learningSituation.status = null
|
||||||
|
this.learningSituation.name = ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
isShowDialog(val){
|
||||||
|
if(!val){
|
||||||
|
this.signup.status = null
|
||||||
|
this.signup.name = ''
|
||||||
|
this.learningRecords.status = null
|
||||||
|
this.learningRecords.name = ''
|
||||||
|
this.value = ''
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
@@ -488,6 +507,10 @@ export default {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
studyContentRecordsSearch(){
|
||||||
|
this.learningSituation.pageIndex = 1;
|
||||||
|
this.studyContentRecords()
|
||||||
|
},
|
||||||
// 资源里的学习详情
|
// 资源里的学习详情
|
||||||
studyContentRecords() {
|
studyContentRecords() {
|
||||||
let params = {
|
let params = {
|
||||||
@@ -780,7 +803,7 @@ export default {
|
|||||||
if(type==61){
|
if(type==61){
|
||||||
this.typePress = true
|
this.typePress = true
|
||||||
}else{
|
}else{
|
||||||
this.typePress = false
|
this.typePress = true
|
||||||
}
|
}
|
||||||
if(type == 60){
|
if(type == 60){
|
||||||
this.isHomeWork = true
|
this.isHomeWork = true
|
||||||
|
|||||||
@@ -196,7 +196,7 @@
|
|||||||
</el-dialog>
|
</el-dialog>
|
||||||
<!--课程管理-->
|
<!--课程管理-->
|
||||||
<el-dialog custom-class="g-dialog" title="课程学习管理" width="900px" :visible.sync="manageStudy.dlgShow" :close-on-click-modal="false">
|
<el-dialog custom-class="g-dialog" title="课程学习管理" width="900px" :visible.sync="manageStudy.dlgShow" :close-on-click-modal="false">
|
||||||
<manager :manageStudyData="manageStudyData"></manager>
|
<manager :manageStudyData="manageStudyData" :isShowDialog="manageStudy.dlgShow"></manager>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="manageStudy.dlgShow = false">关闭</el-button>
|
<el-button @click="manageStudy.dlgShow = false">关闭</el-button>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user