Commit 926bc6b1 authored by zhengke's avatar zhengke

1

parent 0ce4d62a
......@@ -77,6 +77,13 @@
<q-btn color="accent" size="sm" class="q-mr-md" label="临时上课邀请"
@click="isShowProvisionalInvite=true" />
</template>
<template v-slot:body-cell-GuestName="props">
<q-td :props="props">
<div class="text-blue cursor-pointer" @click="getStuRight(props.row)">
{{ props.row.GuestName }}
</div>
</q-td>
</template>
<!--课时-->
<template v-slot:body-cell-TotalPlanNum="props">
<q-td :props="props">
......@@ -114,7 +121,9 @@
<ProvisionalInvite-form v-if="isShowProvisionalInvite" @close="closeMenuSaveForm"/>
</div>
<studentRight-form v-if="isShowStuRight" :isJudgeTrans="isJudgeTrans" :BelongType="BelongType" :save-obj="stuOption"
@close="closeStuForm" @success="refreshStuList" @reload="refreshStuList">
</studentRight-form>
</div>
</template>
<script>
......@@ -135,6 +144,8 @@
} from "../../api/teacher/student"
import StopLessonForm from '../../components/teacher/stopLessonForm'
import ProvisionalInviteForm from '../../components/teacher/provisionalInviteForm'
import studentRightForm from "../../components/school/student/studentRight-form";
export default {
meta: {
title: "班级管理"
......@@ -144,7 +155,8 @@
// classinfoForm,
// othercourseForm,
StopLessonForm,
ProvisionalInviteForm
ProvisionalInviteForm,
studentRightForm
},
data() {
return {
......@@ -231,6 +243,10 @@
isShowStopLesson:false,
stuObj:{},
isShowProvisionalInvite:false,
isShowStuRight: false,
isJudgeTrans: 1,
BelongType:1,
stuOption: null
}
},
created() {
......@@ -246,6 +262,23 @@
this.getStuPageList();
},
methods: {
//点开右侧
getStuRight(obj){
if (obj) {
this.stuOption = {
StuId: obj.StudentId,
noEdit: true
};
}
this.isShowStuRight = true;
},
closeStuForm() {
this.isShowStuRight = false;
},
refreshStuList() {
this.getStuPageList();
},
//获取销售
getEmployee(id) {
var qMsg = {
......
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