From 0116112a3e61b8dfd9c8cae27e504b5d21a86543 Mon Sep 17 00:00:00 2001 From: Dauren777 Date: Thu, 4 Jun 2026 12:10:27 +0000 Subject: [PATCH] =?UTF-8?q?v12:=20=D1=83=D0=B4=D0=B0=D0=BB=D1=91=D0=BD=20?= =?UTF-8?q?=D0=B4=D1=83=D0=B1=D0=BB=D0=B8=D0=BA=D0=B0=D1=82=20openEdit,=20?= =?UTF-8?q?=D1=84=D0=B8=D0=BA=D1=81=20=D0=B2=D1=85=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) diff --git a/index.html b/index.html index 75d027b..52c5134 100644 --- a/index.html +++ b/index.html @@ -513,59 +513,6 @@ function openEdit(id,monthIdx){ document.getElementById('editModalOverlay').classList.add('open') } - // File list for current month - let filesHtml='' - if(curFiles.length){ - filesHtml=`
Загруженные файлы за ${M(editMonthIdx)} (${curFiles.length} шт.)
` - curFiles.forEach((f,i)=>{filesHtml+=`
📄 ${f.name}${f.desc||''}${(f.size/1024).toFixed(0)} КБ · ${f.date}
`}) - }else{filesHtml=`

Нет файлов за ${M(editMonthIdx)}

`} - - document.getElementById('editModalContent').innerHTML=` - - Раздел ${['I','II','III','IV','V'][e.sec]} -

${e.t}

-
-
Дивизион${branches[e.b]}
-
Ответственный${e.r}
-
Срок${e.due}
-
Факт${e.done}
-
- -
-
${e.p}%
-
- - ${subHtml} - -
-
- 📎 Подтверждающие материалы - Всего файлов: ${totalFiles} -
- -
${months.map((m,i)=>`${M(i)}`).join('')}
- - ${filesHtml} - -
- - - -
-

Формы завершения: ${e.dname}

-
- -

🤖 Вывод ИИ-агента

${e.ai}
-
История:
-
${e.h.map(h=>`
${h}
`).join('')}
- -
- - -
` - document.getElementById('editModalOverlay').classList.add('open') -} - function uploadFiles(eventId, monthKey){ const fi=document.getElementById('editFileInput') const desc=document.getElementById('fileDesc').value.trim()