refactor: show date acceptd and submitted
This commit is contained in:
parent
bf5ad411f7
commit
6b688477f1
2 changed files with 24 additions and 0 deletions
|
|
@ -877,6 +877,16 @@ watch([currentFormData.value.taskStatus], () => {
|
|||
(l) => l.userId === v.responsibleUser.id,
|
||||
)?.userTaskStatus || UserTaskStatus.Pending
|
||||
"
|
||||
:accepted-at="
|
||||
fullTaskOrder?.userTask.find(
|
||||
(l) => l.userId === v.responsibleUser.id,
|
||||
)?.acceptedAt
|
||||
"
|
||||
:submitted-at="
|
||||
fullTaskOrder?.userTask.find(
|
||||
(l) => l.userId === v.responsibleUser.id,
|
||||
)?.submittedAt
|
||||
"
|
||||
>
|
||||
<template #product>
|
||||
<FormGroupHead>
|
||||
|
|
|
|||
|
|
@ -468,6 +468,20 @@ watch([currentFormData.value.taskStatus], () => {
|
|||
fullTaskOrder?.taskList[0].requestWorkStep.responsibleUserId,
|
||||
)?.userTaskStatus || UserTaskStatus.Pending
|
||||
"
|
||||
:accepted-at="
|
||||
fullTaskOrder.userTask.find(
|
||||
(l) =>
|
||||
l.userId ===
|
||||
fullTaskOrder?.taskList[0].requestWorkStep.responsibleUserId,
|
||||
)?.acceptedAt
|
||||
"
|
||||
:submitted-at="
|
||||
fullTaskOrder.userTask.find(
|
||||
(l) =>
|
||||
l.userId ===
|
||||
fullTaskOrder?.taskList[0].requestWorkStep.responsibleUserId,
|
||||
)?.submittedAt
|
||||
"
|
||||
/>
|
||||
|
||||
<InfoProductExpansion
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue