Commit 55da7b23 authored by zhengke's avatar zhengke

修改

parent 86bd5a8d
...@@ -102,3 +102,14 @@ export function AddClassStudent(data) { ...@@ -102,3 +102,14 @@ export function AddClassStudent(data) {
}); });
} }
/**
* 获取签到列表数据
*/
export function GetClassPlanLogPageList(data) {
return request({
url: '/class/GetClassPlanLogPageList',
method: 'post',
data
});
}
...@@ -150,6 +150,9 @@ ...@@ -150,6 +150,9 @@
<div v-if="tabCheck=='second'"> <div v-if="tabCheck=='second'">
        <lessForm :seting-obj="setingObj"></lessForm>         <lessForm :seting-obj="setingObj"></lessForm>
      </div>       </div>
<div v-if="tabCheck=='third'">
<recordForm :seting-obj="setingObj"></recordForm>
</div>
</q-card> </q-card>
<div class="dialog-out-close" @click="closeShenheForm" <div class="dialog-out-close" @click="closeShenheForm"
style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;"> style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;">
...@@ -166,6 +169,7 @@ ...@@ -166,6 +169,7 @@
AddClassStudent AddClassStudent
} from '../../api/course/class'; } from '../../api/course/class';
import lessForm from '../course/lesson-form'; import lessForm from '../course/lesson-form';
import recordForm from '../course/record-form';
export default { export default {
props: { props: {
setingObj: { setingObj: {
...@@ -174,7 +178,8 @@ ...@@ -174,7 +178,8 @@
} }
}, },
components: { components: {
lessForm lessForm,
recordForm
}, },
data() { data() {
return { return {
...@@ -248,7 +253,8 @@ ...@@ -248,7 +253,8 @@
ClassId:0, //班级id ClassId:0, //班级id
GuestName:'', //学员名称 GuestName:'', //学员名称
Sex:'', //性别 Sex:'', //性别
Mobile:'' //手机号 Mobile:'', //手机号
BirthDay:'' //生日
}, },
InvitationList:[], //学员下拉数据 InvitationList:[], //学员下拉数据
checkedStudent:'', //选择学员 checkedStudent:'', //选择学员
...@@ -348,6 +354,7 @@ ...@@ -348,6 +354,7 @@
this.invitationMsg.GuestName = this.checkedStudent.StuName; this.invitationMsg.GuestName = this.checkedStudent.StuName;
this.invitationMsg.Sex = this.checkedStudent.StuSex; this.invitationMsg.Sex = this.checkedStudent.StuSex;
this.invitationMsg.Mobile = this.checkedStudent.StuTel; this.invitationMsg.Mobile = this.checkedStudent.StuTel;
this.invitationMsg.BirthDay = this.checkedStudent.StuBirthStr;
AddClassStudent(this.invitationMsg).then(res => { AddClassStudent(this.invitationMsg).then(res => {
if (res.Code == 1) { if (res.Code == 1) {
this.ishowInvit = false; this.ishowInvit = false;
......
...@@ -89,12 +89,20 @@ ...@@ -89,12 +89,20 @@
} }
.StudentInfo_List{ .StudentInfo_List{
display: flex; display: flex;
width:80%;
margin:auto;
justify-content: space-between; justify-content: space-between;
} }
.Show_SignBack{ .Show_SignBack{
margin:20px; margin:20px;
color:#2961FE; color:#2961FE;
} }
.Lessicon_Edit:hover{
color:red;
}
.Less_Close:hover{
color:red;
}
</style> </style>
<template> <template>
<div v-if="!isShowSign"> <div v-if="!isShowSign">
...@@ -168,7 +176,7 @@ ...@@ -168,7 +176,7 @@
<div class="calendarTop"> <div class="calendarTop">
<div>{{item.RoomName}}</div> <div>{{item.RoomName}}</div>
<div> <div>
<i class="iconfont icon-edit" @click.stop="getInfo(item)"> <i class="iconfont icon-edit Lessicon_Edit" @click.stop="getInfo(item)">
<q-popup-proxy> <q-popup-proxy>
<q-banner v-if="isShowEdit"> <q-banner v-if="isShowEdit">
<div class="calenderDialog"> <div class="calenderDialog">
...@@ -227,7 +235,7 @@ ...@@ -227,7 +235,7 @@
</q-banner> </q-banner>
</q-popup-proxy> </q-popup-proxy>
</i> </i>
<i class="iconfont icon-guanbi" style="margin-left:5px;" @click.stop="delInfo(item)"></i> <i class="iconfont icon-guanbi Less_Close" style="margin-left:5px;" @click.stop="delInfo(item)"></i>
</div> </div>
</div> </div>
<div class="calendarInner"> <div class="calendarInner">
...@@ -254,7 +262,9 @@ ...@@ -254,7 +262,9 @@
</div> </div>
<div v-else> <div v-else>
<div> <div>
<div class="Show_SignBack" @click="isShowSign=false"><i class="iconfont icon-zuo1"></i>返回</div> <div class="Show_SignBack">
<span @click="isShowSign=false" style="cursor:pointer;"><i class="iconfont icon-zuo1"></i>返回</span>
</div>
<div class="StudentInfo_List"> <div class="StudentInfo_List">
<div> <div>
<div>授课老师</div> <div>授课老师</div>
......
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