@@ -46,6 +46,7 @@ class LeaveService extends CrudService {
leave.reason = reason;
}
if (status) {
+ leave.status = status;
const student = await this.smodel.findById(studentid);
const remark = '感谢您的使用';
const stuuser = await this.umodel.findOne({ uid: studentid, type: '4' });