Commit 926bc6b1 authored by zhengke's avatar zhengke

1

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