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
8abc19d0
Commit
8abc19d0
authored
Oct 28, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人员组件显示
parent
ed9a51b5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
EditGrid.vue
components/page/treeGrid/EditGrid.vue
+3
-2
add.vue
pages/project/plan/add.vue
+1
-1
edit.vue
pages/project/plan/edit.vue
+0
-1
index.vue
pages/project/plan/index.vue
+1
-4
No files found.
components/page/treeGrid/EditGrid.vue
View file @
8abc19d0
...
...
@@ -85,8 +85,9 @@
<div
v-if=
"column.type=='user'"
>
<User
:value=
"item[column.key]"
/>
</div>
<div
v-if=
"column.type=='users'&&item[column.key]"
>
<User
v-for=
"li in JSON.parse(item[column.key])"
:value=
"li"
:key=
"li"
class=
"ml10"
/>
<div
v-if=
"column.type=='users'&&item[column.key]&&item[column.key].length>0"
>
2
{{
item
[
column
.
key
]
}}
2
<User
v-for=
"li in item[column.key]"
:value=
"li"
:key=
"li"
class=
"ml10"
/>
</div>
<state
v-if=
"column.code"
...
...
pages/project/plan/add.vue
View file @
8abc19d0
...
...
@@ -137,7 +137,7 @@ export default {
endDate
:
null
,
type
:
0
,
attachment
:
""
,
executor
:
""
,
executor
:
[]
,
},
parmsName
:
"app=material&eid=1&name=ProjectPlan"
,
rules
:
{
...
...
pages/project/plan/edit.vue
View file @
8abc19d0
...
...
@@ -139,7 +139,6 @@ export default {
load
(
v
)
{
Api
.
get
({
id
:
v
}).
then
((
r
)
=>
{
this
.
entity
=
r
.
result
;
this
.
entity
.
executor
=
JSON
.
parse
(
this
.
entity
.
executor
);
});
},
handleSubmit
()
{
...
...
pages/project/plan/index.vue
View file @
8abc19d0
...
...
@@ -268,10 +268,7 @@ export default {
console
.
warn
(
row
)
var
data
=
JSON
.
parse
(
JSON
.
stringify
(
row
));
data
.
status
=
1
;
Api
.
sendtask
({
id
:
row
.
id
,
}).
then
(
r
=>
{
Api
.
sendtask
(
data
).
then
(
r
=>
{
if
(
r
.
result
){
this
.
$Message
.
info
(
"任务派发成功!"
);
this
.
search
();
...
...
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