zdg #235

Merged
zhengdegang merged 2 commits from zdg into main 2024-09-20 14:57:43 +08:00
2 changed files with 5 additions and 1 deletions

View File

@ -86,7 +86,7 @@ import useUserStore from '@/store/modules/user'
import { ElMessage } from 'element-plus'
import { getCurrentTime, getAfterMinutes } from '@/utils/date'
const emit = defineEmits(['addSuccess'])
const emit = defineEmits(['addSuccess','close'])
const props = defineProps({
bookId: {
type: Number,
@ -217,6 +217,8 @@ const closeDialog = () => {
ruleFormDialog.value.resetFields()
centerDialogVisible.value = false
form.name = props.currentNode.label
emit('close')
}
const classList = ref([])
onMounted(() => {

View File

@ -158,6 +158,7 @@
:current-node="currentNode"
:book-id="uploadData.textbookId"
@add-success="initReserv"
@close="closeChange"
></reserv>
<!-- 上课配置 -->
<class-start ref="calssRef" @close="closeChange"/>
@ -319,6 +320,7 @@ export default {
this.activeClass = item
},
closeChange() { // -
console.log('关闭上课弹窗')
this.activeClass = null
sessionStore.delete('activeClass')
},