mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-07 09:57:37 +00:00
perf: 子任务允许多个负责人
This commit is contained in:
parent
032b02c1ec
commit
dc9a7c07e8
@ -674,9 +674,6 @@ class ProjectTask extends AbstractModel
|
||||
'owner' => 1,
|
||||
]);
|
||||
$array[] = $uid;
|
||||
if ($this->parent_id) {
|
||||
break; // 子任务只能是一个负责人
|
||||
}
|
||||
}
|
||||
if ($array) {
|
||||
if (count($older) == 0 && count($array) == 1 && $array[0] == User::userid()) {
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
<div slot="content">
|
||||
<UserInput
|
||||
v-model="ownerData.owner_userid"
|
||||
:multiple-max="1"
|
||||
:multiple-max="10"
|
||||
:project-id="taskDetail.project_id"
|
||||
:placeholder="$L('选择任务负责人')"
|
||||
:transfer="false"
|
||||
|
||||
@ -425,6 +425,12 @@
|
||||
}
|
||||
.subtask-avatar {
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.avatar-wrapper {
|
||||
margin-top: 3px;
|
||||
margin-bottom: -2px;
|
||||
}
|
||||
}
|
||||
.ivu-icon-ios-loading {
|
||||
animation: animation-icon-loading 0.6s infinite linear;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user