тип заявок

This commit is contained in:
2026-02-03 00:07:57 +05:00
parent 1b4b65cc37
commit 858d1802e6
4 changed files with 442 additions and 0 deletions

View File

@@ -102,6 +102,10 @@ async function createTask(event) {
formData.append('title', document.getElementById('title').value);
formData.append('description', document.getElementById('description').value);
// Добавляем тип задачи
const taskType = document.getElementById('task-type').value;
formData.append('taskType', taskType);
const dueDate = document.getElementById('due-date').value;
if (!dueDate) {
alert('Дата и время выполнения обязательны');