mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-08 18:36:43 +08:00
在线人员弹窗关闭输入框置空
This commit is contained in:
@@ -344,6 +344,10 @@ export default {
|
|||||||
manageStudyData: {
|
manageStudyData: {
|
||||||
type: Object,
|
type: Object,
|
||||||
default: () => ({})
|
default: () => ({})
|
||||||
|
},
|
||||||
|
isShowDialog:{
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
@@ -418,6 +422,15 @@ export default {
|
|||||||
this.learningSituation.name = ''
|
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() {
|
||||||
this.getSignupList();
|
this.getSignupList();
|
||||||
|
|||||||
@@ -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