mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-12 12:26:47 +08:00
--demand 面授课
This commit is contained in:
@@ -252,7 +252,7 @@
|
||||
<div class="opa">
|
||||
<div class="opacation">
|
||||
<span
|
||||
v-if="element.type==2"
|
||||
v-if="element.type==2 && element.id"
|
||||
style="color: #4ea6ff; cursor: pointer;"
|
||||
@click="openCourse(element,index)">
|
||||
开课
|
||||
@@ -393,7 +393,7 @@
|
||||
</div>
|
||||
</a-modal>
|
||||
<!-- 面授课开课弹框 -->
|
||||
<AddOpenCourse v-model:visible="opencourseVisible"/>
|
||||
<AddOpenCourse ref="coursePlanRef" :type="1"/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -416,6 +416,7 @@ const visiblene = ref(false);
|
||||
const stage = ref(false);
|
||||
const confirmLoading = ref(false);
|
||||
const cancleLoading = ref(false);
|
||||
const coursePlanRef = ref();
|
||||
const projectInfo = ref({stageList: [{taskDraftDtoList: [{}]}], projectInfo: {}});
|
||||
const activeIndex = ref(0);
|
||||
const moveChapterIndex = ref(0);
|
||||
@@ -634,10 +635,8 @@ const cancelStorage = async () => {
|
||||
cancleLoading.value = false
|
||||
};
|
||||
|
||||
// 开课按钮
|
||||
const opencourseVisible = ref(false);
|
||||
const openCourse = async () => {
|
||||
opencourseVisible.value = true;
|
||||
const openCourse = (ele) => {
|
||||
coursePlanRef.value.openDrawer(ele);
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user