Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bms-vue-obear
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
daywrite
bms-vue-obear
Commits
7b076dd9
Commit
7b076dd9
authored
Apr 23, 2019
by
huai.li
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复任务新建
parent
f79b85bf
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
6 deletions
+7
-6
multipleCheckGroup.vue
src/components/common/multipleCheckGroup.vue
+1
-0
taskGroupForm.vue
src/components/task_group/taskGroupForm.vue
+3
-3
taskGroupModal.vue
src/components/task_group/taskGroupModal.vue
+1
-1
groupItem.vue
src/components/task_group_list/groupItem.vue
+2
-2
No files found.
src/components/common/multipleCheckGroup.vue
View file @
7b076dd9
...
@@ -72,6 +72,7 @@
...
@@ -72,6 +72,7 @@
watch
:
{
watch
:
{
checkGroupOptionsList
(
val
)
{
checkGroupOptionsList
(
val
)
{
this
.
groupOptionsList
=
[]
this
.
groupOptionsList
=
[]
console
.
log
(
'------'
,
val
,
this
.
checkGroupFormItem
)
val
.
forEach
(
item
=>
{
val
.
forEach
(
item
=>
{
let
checkItems
=
item
.
child
.
map
(
i
=>
i
.
key
).
filter
(
i
=>
this
.
checkGroupFormItem
.
some
(
ele
=>
ele
===
i
))
let
checkItems
=
item
.
child
.
map
(
i
=>
i
.
key
).
filter
(
i
=>
this
.
checkGroupFormItem
.
some
(
ele
=>
ele
===
i
))
this
.
$set
(
item
,
'isIndeterminate'
,
checkItems
.
length
>
0
&&
checkItems
.
length
<
item
.
child
.
length
)
this
.
$set
(
item
,
'isIndeterminate'
,
checkItems
.
length
>
0
&&
checkItems
.
length
<
item
.
child
.
length
)
...
...
src/components/task_group/taskGroupForm.vue
View file @
7b076dd9
...
@@ -39,11 +39,11 @@
...
@@ -39,11 +39,11 @@
v-model
.
trim=
"model.description"
>
v-model
.
trim=
"model.description"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"成员"
prop=
"
T
askGroupUsers"
class=
"ec-clear-left ec-form-item-lg is-required"
>
<el-form-item
label=
"成员"
prop=
"
t
askGroupUsers"
class=
"ec-clear-left ec-form-item-lg is-required"
>
<multiple-check-group
<multiple-check-group
:check-group-form-item=
"model.
T
askGroupUsers"
:check-group-form-item=
"model.
t
askGroupUsers"
:check-group-options-list=
"taskGroupsUArray"
:check-group-options-list=
"taskGroupsUArray"
@
update:item=
"val =>
{model.
T
askGroupUsers = val}">
@
update:item=
"val =>
{model.
t
askGroupUsers = val}">
</multiple-check-group>
</multiple-check-group>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
...
src/components/task_group/taskGroupModal.vue
View file @
7b076dd9
...
@@ -36,7 +36,7 @@ export default {
...
@@ -36,7 +36,7 @@ export default {
target_completed_at
:
''
,
target_completed_at
:
''
,
situation
:
''
,
situation
:
''
,
description
:
''
,
description
:
''
,
T
askGroupUsers
:
[]
t
askGroupUsers
:
[]
}
}
}
}
},
},
...
...
src/components/task_group_list/groupItem.vue
View file @
7b076dd9
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
<el-row
:gutter=
"10"
>
<el-row
:gutter=
"10"
>
<el-col
:span=
"12"
:xs=
"24"
>
<el-col
:span=
"12"
:xs=
"24"
>
<span>
成员:
</span>
<span>
成员:
</span>
<span
v-for=
"sItem in item.taskGroupUser
Relationship
s"
>
<span
v-for=
"sItem in item.taskGroupUsers"
>
<img
class=
"user-avatar rounded-circle"
:src=
"sItem.
user.avatar.name"
>
{{
sItem
.
user
.
name
}}
<img
class=
"user-avatar rounded-circle"
:src=
"sItem.
avatar.name"
>
{{
sItem
.
name
}}
</span>
</span>
</el-col>
</el-col>
<!--
<el-col
:span=
"6"
:xs=
"24"
>
<!--
<el-col
:span=
"6"
:xs=
"24"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment