-- fix bug

This commit is contained in:
yuping
2023-03-03 16:50:07 +08:00
parent 47b178324a
commit 43435b0b41
2 changed files with 8 additions and 4 deletions

View File

@@ -8,16 +8,16 @@
> >
<div class="header-content"> <div class="header-content">
<div style="font-size: 16px"> <div style="font-size: 16px">
xxxxxxxx 课程 {{formData.name}} 课程
</div> </div>
<div> <div>
<span style="color:#999">内容分类</span>12312 <span style="color:#999">内容分类</span>12312
</div> </div>
<div> <div>
<span style="color:#999">授课教师</span>12312 <span style="color:#999">授课教师</span>{{ formData.sysType1 }}/{{ formData.sysType2 }}/{{ formData.sysType3 }}
</div> </div>
<div> <div>
<span style="color:#999">审核状态</span>12312 <span style="color:#999">审核状态</span>{{ formData.status }}
</div> </div>
</div> </div>
<div class="TableStudent"> <div class="TableStudent">
@@ -62,6 +62,7 @@
<a-col :span="1.5"> <a-col :span="1.5">
<CommonStudent <CommonStudent
:type="type" :type="type"
title="添加在线课学员"
:id="id" :id="id"
@finash="submitCall" @finash="submitCall"
:stage="stage" :stage="stage"
@@ -170,6 +171,8 @@ const columns = ref([
}, },
]) ])
const formData = ref({})
const {data: studentList, fetch: searchStu, total, loading} = usePage(STUDENT_LIST, searchParams) const {data: studentList, fetch: searchStu, total, loading} = usePage(STUDENT_LIST, searchParams)
const stuPagination = computed(() => ({ const stuPagination = computed(() => ({
@@ -195,6 +198,7 @@ function onStuSelectChange(e) {
const openDrawer = (raw) => { const openDrawer = (raw) => {
console.log(raw); console.log(raw);
formData.value = raw
visiable.value = true; visiable.value = true;
}; };

View File

@@ -19,7 +19,7 @@
security="restricted" security="restricted"
sandbox="allow-forms allow-scripts allow-same-origin allow-popups" sandbox="allow-forms allow-scripts allow-same-origin allow-popups"
></iframe> ></iframe>
<OnlineClassModelStudent ref="stuRef"></OnlineClassModelStudent> <OnlineClassModelStudent ref="stuRef" :type="13"></OnlineClassModelStudent>
</div> </div>
</template> </template>
<script setup> <script setup>