Merge branch 'main' of http://git.tnsu.kz/timur.gorodetskiy/request-portal
This commit is contained in:
@@ -30,7 +30,8 @@ import {
|
||||
isEditableStatus,
|
||||
IApproverToWrite,
|
||||
unassignedStepMessage,
|
||||
executorsToWrite
|
||||
executorsToWrite,
|
||||
composeRemoveRowRule
|
||||
} from '../../shared/approval';
|
||||
import {
|
||||
uploadAttachments,
|
||||
@@ -442,6 +443,7 @@ const Ticket1CForm: React.FC<IRequestFormProps> = ({
|
||||
<ApprovalMatrix
|
||||
editor={matrixEditor}
|
||||
search={(q) => approval.searchUsers(q)}
|
||||
canRemoveRow={composeRemoveRowRule(effectiveUserEmail(context))}
|
||||
// Пустой маршрут — штатная ситуация: для части видов работ согласование
|
||||
// не нужно, заявка сразу уходит в Planner. Сбой загрузки маршрута
|
||||
// показывается отдельно (matrix.error) и блокирует отправку.
|
||||
@@ -455,6 +457,7 @@ const Ticket1CForm: React.FC<IRequestFormProps> = ({
|
||||
title="Исполнение"
|
||||
roleLabel="Исполнитель"
|
||||
emptyText="Исполнители не назначены."
|
||||
canRemoveRow={composeRemoveRowRule(effectiveUserEmail(context))}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user