Commit 797bbe99 authored by zhengke's avatar zhengke

修改

parent b1120d2a
......@@ -203,7 +203,7 @@
@success="refreshPage"></changestatusForm>
<change-class-form v-if="isShowTiaoke" :seting-obj="classObjOption" @close="closeClassSaveForm"
@success="refreshPage"></change-class-form>
<classconflict-form :ClassId="ClassId" v-if="isShowConflict" @close="closeClassConflictForm"
<classconflict-form :ClassId="ClassId" v-if="isShowConflict" @getzk="getzk" @close="closeClassConflictForm"
@success="refreshPage"></classconflict-form>
</div>
......@@ -368,6 +368,11 @@
this.isShowConflict = true;
this.ClassId = ClassId;
},
//点击全部重排
getzk(){
this.isShowConflict = false;
this.isShowClassForm = true;
},
//初始化权限信息
initAuth() {
......
......@@ -60,17 +60,6 @@
<classlist :data="data" :authObj="authObj" @success="refreshPage"></classlist>
<q-pagination class="full-width justify-end" v-model="msg.pageIndex" color="primary" :max="pageCount"
:input="true" @input="changePage" />
<class-form v-if="isShowClassForm" :save-obj="classObjOption" @close="closeClassSaveForm"
@getClassFlict="getClassFlict" @success="refreshPage">
</class-form>
<classinfo-form v-if="isShowClassInfo" :seting-obj="classObjOption" @close="closeClassSaveForm"
@success="refreshPage">
</classinfo-form>
<othercourseForm v-if="IsShowOtherCourse" :seting-obj="classObjOption" @close="closeClassSaveForm"
@success="refreshPage">
</othercourseForm>
<classconflict-form :ClassId="ClassId" v-if="isShowConflict" @close="closeClassConflictForm"
@getzk="getzk" @success="refreshPage"></classconflict-form>
</div>
</div>
</template>
......@@ -194,15 +183,11 @@
//关联校区列表
schoolList: [],
pageCount: 0,
classObjOption: null,
isShowEdit: false,
statusMsg: {
ClassId: 0,
ClassStatus: 0
},
isShowClassForm: false, //是否显示新增修改弹窗
isShowClassInfo: false, //是否显示课程信息
IsShowOtherCourse: false, //是否显示其他课程
isShowConflict: false, //是否显示上课计划冲突
ClassId: 0, //传入到冲突表单参数
//权限判断
......@@ -232,18 +217,6 @@
closeClassConflictForm() {
this.isShowConflict = false;
},
//显示冲突切换弹窗
getClassFlict(ClassId) {
this.isShowClassForm = false;
this.isShowConflict = true;
this.ClassId = ClassId;
},
//点击全部重排
getzk(){
console.log('进入2');
this.isShowConflict = false;
this.isShowClassForm = true;
},
//删除班级
removeClass(item, status) {
let delMsg = {
......@@ -380,25 +353,6 @@
this.isShowClassForm = false;
this.getClassList();
},
//新增修改菜单
EditCourse(obj) {
if (obj) {
this.classObjOption = obj
} else {
this.classObjOption = null
}
this.isShowClassForm = true
},
//关闭弹窗
closeClassSaveForm() {
//关闭新增修改弹窗
this.isShowClassForm = false;
//关闭班级信息弹窗
this.isShowClassInfo = false;
//关闭关联其他课程弹窗
this.IsShowOtherCourse = false;
},
GetFirst(val) {
if (val) {
return val.substr(0, 1);
......@@ -411,25 +365,6 @@
}
return (Math.round(num / total * 100) / 100.00);
},
//显示关联课程
showOtherCourse(item) {
this.IsShowOtherCourse = true;
this.classObjOption = item;
},
//点击班级名称
getClassInfo(obj) {
this.classObjOption = null;
this.isShowClassInfo = false;
this.classObjOption = obj;
this.isShowClassInfo = true;
},
gomonthLessonCost(row) {
let ClassName = encodeURI(row.ClassName)
this.OpenNewUrl('/course/monthLessonCost', {
ClassId: row.ClassId,
ClassName: ClassName,
});
},
//跳转到课程大纲
goChapter(CouseId) {
this.OpenNewUrl('/course/chapter', {
......
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