Commit a58c8498 authored by 罗超's avatar 罗超

章节与备课调整

parent 2c55b357
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
</div> </div>
</div> </div>
<q-card-section class="q-pt-none scroll" style="max-height:60vh"> <q-card-section class="q-pt-none scroll" style="max-height:60vh">
<q-table :loading="loading" no-data-label="暂无相关数据" flat style="height:400px" selection="multiple" <q-table :loading="loading" no-data-label="暂无相关数据" flat style="height:400px" selection="single"
:selected.sync="selected" class="sticky-column-table sticky-header-table no-bottom-table" separator="none" :selected.sync="selected" class="sticky-column-table sticky-header-table no-bottom-table" separator="none"
:pagination="initialPagination" :data="fiterDataList" :columns="columns" hide-bottom row-key="CourseId"> :pagination="initialPagination" :data="fiterDataList" :columns="columns" hide-bottom row-key="CourseId">
</q-table> </q-table>
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
<q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeSaveForm" /> <q-btn label="取消" flat color="grey-10" style="font-weight:400 !important" @click="closeSaveForm" />
<q-btn label="立即提交" color="accent q-px-md" style="font-weight:400 !important" :loading="saveLoading" <q-btn label="立即提交" color="accent q-px-md" style="font-weight:400 !important" :loading="saveLoading"
@click="saveChapter" /> @click="saveChapter" />
<template v-slot:loading>
<q-spinner-ios />
</template>
</q-card-actions> </q-card-actions>
</q-card> </q-card>
</q-dialog> </q-dialog>
...@@ -115,6 +118,8 @@ ...@@ -115,6 +118,8 @@
}) })
return return
} }
if(this.saveLoading) return;
this.saveLoading=true;
let msg = { let msg = {
CourseIds: '', CourseIds: '',
MaxLength: this.MyChapterNo, MaxLength: this.MyChapterNo,
...@@ -139,6 +144,8 @@ ...@@ -139,6 +144,8 @@
position: 'top' position: 'top'
}) })
} }
}).catch(e=>{
this.saveLoading=false
}) })
} }
......
This diff is collapsed.
...@@ -145,57 +145,34 @@ ...@@ -145,57 +145,34 @@
<template> <template>
<div class="row prepareclassDetails"> <div class="row prepareclassDetails">
<div class="page-body col"> <div class="page-body col" v-if="data.Chapter">
<div class="prepareTopTitle q-table__title"> <div class="prepareTopTitle q-table__title">
<div class="prePare_Line"></div> <div class="prePare_Line"></div>
<div>0到N3直通车</div> <div>{{data.Chapter.CourseName}}</div>
</div> </div>
<div class="preSecond"> <div class="preSecond">
~を皮切りに {{data.Chapter.ChapterName}}
</div> </div>
<div class="prepareTopTitle q-table__title"> <div class="prepareTopTitle q-table__title">
<div class="prePare_Line" style="background-color:#2961FE"></div> <div class="prePare_Line" style="background-color:#2961FE"></div>
<div>章节学习内容</div> <div>章节学习内容</div>
</div> </div>
<div class="prePare_Content"> <div class="prePare_Content" v-if="data.Chapter.ChapterContent!=''" v-html="decodeURIComponent(data.Chapter.ChapterContent)"></div>
まるごと』第3課「どうぞ よろしく」。まるごと』第3課ど <div class="prePare_Content text-center q-pa-lg" v-else>暂无内容</div>
うぞ よろしく」まるごと』第3課「どうぞ よろしく」。ま
るごと』第3課どうぞ よろしく」まるごと』第3課「どうぞ
よろしく」。まるごと』第3課どうぞ よろしく」まるごと』
第3課「どうぞ よろしく」。まるごと』第3課どうぞ よろ
しく」。
まるごと』第3課「どうぞ よろしく」。まるごと』第3課ど
うぞ よろしく」まるごと』第3課「どうぞ よろしく」。ま
るごと』第3課どうぞ よろしく」まるごと』第3課「どうぞ
よろしく」。まるごと』第3課どうぞ よろしく」まるごと』
第3課「どうぞ よろしく」。まるごと』第3課どうぞ よろ
しく」。
</div>
<div class="prepareTopTitle q-table__title"> <div class="prepareTopTitle q-table__title">
<div class="prePare_Line" style="background-color:#2961FE"></div> <div class="prePare_Line" style="background-color:#2961FE"></div>
<div>教学目标</div> <div>教学目标</div>
</div> </div>
<div class="prePare_Content" style="background:#F7F0FB"> <div class="prePare_Content" style="background:#F7F0FB" v-if="data.Chapter.Objectives!=''" v-html="decodeURIComponent(data.Chapter.Objectives)">
まるごと』第3課「どうぞ よろしく」。まるごと』第3課ど
うぞ よろしく」まるごと』第3課「どうぞ よろしく」。ま
るごと』第3課どうぞ よろしく」まるごと』第3課「どうぞ
よろしく」。まるごと』第3課どうぞ よろしく」まるごと』
第3課「どうぞ よろしく」。まるごと』第3課どうぞ よろ
しく」。
</div> </div>
<div class="prePare_Content text-center q-pa-lg" style="background:#F7F0FB" v-else>暂无内容</div>
<div class="prepareTopTitle q-table__title"> <div class="prepareTopTitle q-table__title">
<div class="prePare_Line" style="background:#2961FE"></div> <div class="prePare_Line" style="background:#2961FE"></div>
<div>学生学习要求</div> <div>学生学习要求</div>
</div> </div>
<div class="prePare_Content" style="background:#FBF6F0"> <div class="prePare_Content" style="background:#FBF6F0" v-if="data.Chapter.Requirement!=''" v-html="decodeURIComponent(data.Chapter.Requirement)">
まるごと』第3課「どうぞ よろしく」。まるごと』第3課ど
うぞ よろしく」まるごと』第3課「どうぞ よろしく」。ま
るごと』第3課どうぞ よろしく」まるごと』第3課「どうぞ
よろしく」。まるごと』第3課どうぞ よろしく」まるごと』
第3課「どうぞ よろしく」。まるごと』第3課どうぞ よろ
しく」。
</div> </div>
<div class="prePare_Content text-center q-pa-lg" style="background:#FBF6F0" v-else>暂无内容</div>
</div> </div>
<div class="page-body col"> <div class="page-body col">
<div class="q-table__title">备课内容</div> <div class="q-table__title">备课内容</div>
...@@ -385,6 +362,9 @@ ...@@ -385,6 +362,9 @@
}, },
mounted(){ mounted(){
this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0; this.msg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0;
this.msg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0; this.msg.ClassPlanId = this.$route.query.ClassPlanId ? this.$route.query.ClassPlanId:0;
this.plmsg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0; this.plmsg.ClassId = this.$route.query.ClassId ? this.$route.query.ClassId:0;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment