|
|
@@ -209,16 +209,24 @@ export default { |
|
|
|
keyValue: '', |
|
|
|
strEntity: JSON.stringify(this.queryData) |
|
|
|
} |
|
|
|
this.LOADING('保存数据中…'); |
|
|
|
this.HTTP_POST('learun/adms/EducationalAdministration/StuAttendanceLeave/save', _postData, '加载数据时出错').then(res => { |
|
|
|
this.HIDE_LOADING(); |
|
|
|
console.log(res) |
|
|
|
this.CONFIRM('提示', '是否确认提交请假?', true).then(res => { |
|
|
|
if(res){ |
|
|
|
this.TOAST('提交成功!'); |
|
|
|
this.EMIT('timeTable'); |
|
|
|
this.NAV_BACK(); |
|
|
|
this.LOADING('保存数据中…'); |
|
|
|
this.HTTP_POST('learun/adms/EducationalAdministration/StuAttendanceLeave/save', _postData, '加载数据时出错').then(res => { |
|
|
|
this.HIDE_LOADING(); |
|
|
|
console.log(res) |
|
|
|
if(res){ |
|
|
|
this.EMIT('timeTable'); |
|
|
|
setTimeout(()=>{ |
|
|
|
this.TOAST('提交成功!'); |
|
|
|
}) |
|
|
|
setTimeout(()=>{ |
|
|
|
this.NAV_BACK(); |
|
|
|
},600) |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
}) |
|
|
|
}, |
|
|
|
// 显示列表中的标题项 |
|
|
|
displayListItem(item, field) { |
|
|
|