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