Untitled
unknown
plain_text
5 months ago
540 B
2
Indexable
export function updateKhoaDiemHocPhan(data, done) { return async () => { try { const url = '/api/sdh/khoa-diem-hoc-phan'; let res = await T.async.put(url, { data }); T.notify('Cập nhật khoá điểm học phần thành công', 'success'); done && done(res); } catch (error) { T.notify(`Cập nhật khoá điểm học phần bị lỗi ${error.message && (':<br>' + error.message)}`, 'danger'); console.error(error); } }; }
Editor is loading...
Leave a Comment