Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
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
周远喜
mes-ui
Commits
7acc358b
Commit
7acc358b
authored
Oct 23, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
task
parent
59b43946
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
6 deletions
+31
-6
add.vue
pages/project/groupUser/add.vue
+1
-1
add.vue
pages/project/task/add.vue
+9
-2
edit.vue
pages/project/task/edit.vue
+9
-2
index.vue
pages/project/task/index.vue
+12
-1
No files found.
pages/project/groupUser/add.vue
View file @
7acc358b
...
...
@@ -3,7 +3,7 @@
<Row>
<Col
:span=
"12"
>
<FormItem
:label=
"l('userId')"
prop=
"userId"
>
<
InputNumber
v-model=
"entity.userId"
></InputNumber
>
<
UserSelect
ref=
"userSelected"
v-model=
"entity.userId"
/
>
</FormItem>
</Col>
<Col
:span=
"12"
>
...
...
pages/project/task/add.vue
View file @
7acc358b
...
...
@@ -35,7 +35,8 @@
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('userId')"
prop=
"userId"
>
<Input
v-model=
"entity.userId"
>
</Input>
<FormItem
:label=
"l('userId')"
prop=
"userId"
>
<UserSelect
ref=
"userSelected"
v-model=
"entity.userId"
/></Input>
</FormItem>
</Col>
<Col
:span=
"24"
>
...
...
@@ -121,7 +122,13 @@ export default {
required
:
true
,
message
:
'必填'
,
trigger
:
'blur'
}]
}],
userId
:
[{
required
:
true
,
message
:
"请选择人员"
,
trigger
:
"change"
,
type
:
"number"
}],
}
}
},
...
...
pages/project/task/edit.vue
View file @
7acc358b
...
...
@@ -38,7 +38,8 @@
</FormItem>
</Col>
<Col
:span=
"12"
>
<FormItem
:label=
"l('userId')"
prop=
"userId"
>
<Input
v-model=
"entity.userId"
>
</Input>
<FormItem
:label=
"l('userId')"
prop=
"userId"
>
<UserSelect
ref=
"userSelected"
v-model=
"entity.userId"
/></Input>
</FormItem>
</Col>
<Col
:span=
"12"
>
...
...
@@ -96,7 +97,13 @@ export default {
required
:
true
,
message
:
'必填'
,
trigger
:
'blur'
}]
}],
userId
:
[{
required
:
true
,
message
:
"请选择人员"
,
trigger
:
"change"
,
type
:
"number"
}],
}
}
},
...
...
pages/project/task/index.vue
View file @
7acc358b
...
...
@@ -233,7 +233,7 @@ export default {
{
title
:
'操作'
,
key
:
'action'
,
width
:
14
0
,
width
:
20
0
,
align
:
'center'
,
render
:
(
h
,
params
)
=>
{
return
h
(
'div'
,
{
...
...
@@ -271,6 +271,17 @@ export default {
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
}),
h
(
'op'
,
{
attrs
:
{
icon
:
"ios-close"
,
type
:
"icon"
,
title
:
"完成"
,
color
:
"#19be6b"
,
},
on
:
{
click
:
()
=>
this
.
edit
(
params
.
row
.
id
)
}
}),
h
(
'op'
,
{
attrs
:
{
icon
:
"ios-create-outline"
,
...
...
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