Изменил страницу "Кафедра",добавлена модалка с полями для создания записи в Кафедральный файлик

This commit is contained in:
2026-03-31 00:49:37 +03:00
parent 522bc97b8c
commit b14d937062
7 changed files with 544 additions and 52 deletions

View File

@@ -383,7 +383,7 @@ export async function initUsers() {
const role = document.getElementById('new-role').value;
const fullName = document.getElementById('new-fullname').value.trim();
const jobTitle = document.getElementById('new-jobtitle').value.trim();
const department = document.getElementById('new-department').value;
const departmentId = document.getElementById('new-department').value;
if (!username || !password || !fullName || !jobTitle || !departmentId) {
showAlert('create-alert', 'Заполните все поля', 'error');