|
@@ -148,6 +148,7 @@
|
|
|
classId: '',
|
|
|
studentId: '',
|
|
|
studentName: '',
|
|
|
+ recordId: '',
|
|
|
classInfo: {
|
|
|
name: '',
|
|
|
classStartDate: '',
|
|
@@ -312,12 +313,13 @@
|
|
|
handleOtherClick(item) {
|
|
|
this.studentId = item.id
|
|
|
this.studentName = item.name
|
|
|
+ this.recordId = item.leaveRecordId
|
|
|
this.leaveOtherShow = true
|
|
|
},
|
|
|
// 病假知晓
|
|
|
handleEndClick() {
|
|
|
NET.request(API.leaveLessonsEndOk,{
|
|
|
- classId:parseInt(this.classId), studentId:parseInt(this.studentId)
|
|
|
+ recordId:parseInt(this.recordId), studentId:parseInt(this.studentId)
|
|
|
},'POST').then(res=> {
|
|
|
if(res.status == 10000) {
|
|
|
this.$refs.uTips.show({
|