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
77a5571f
Commit
77a5571f
authored
Nov 17, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据字典和权限过滤
parent
7edeaf19
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
552 additions
and
474 deletions
+552
-474
projectTaskTree.vue
components/page/projectTaskTree.vue
+15
-5
index.vue
pages/project/task/index.vue
+537
-469
No files found.
components/page/projectTaskTree.vue
View file @
77a5571f
...
@@ -85,7 +85,13 @@ export default {
...
@@ -85,7 +85,13 @@ export default {
},
},
listSlecet
()
{
listSlecet
()
{
let
data
=
{
let
data
=
{
conditions
:
[],
conditions
:
[
{
fieldName
:
"userId"
,
fieldValue
:
this
.
$store
.
state
.
userInfo
.
id
,
conditionalType
:
"Equal"
,
},
],
sortBy
:
"id"
,
sortBy
:
"id"
,
isDesc
:
false
,
isDesc
:
false
,
};
};
...
@@ -93,15 +99,14 @@ export default {
...
@@ -93,15 +99,14 @@ export default {
if
(
r
.
result
)
{
if
(
r
.
result
)
{
this
.
projectList
=
r
.
result
;
this
.
projectList
=
r
.
result
;
if
(
this
.
curId
)
{
if
(
this
.
curId
)
{
this
.
projectList
.
map
(
u
=>
{
this
.
projectList
.
map
(
(
u
)
=>
{
if
(
u
.
id
==
this
.
curId
)
{
if
(
u
.
id
==
this
.
curId
)
{
this
.
downName
=
u
.
title
;
this
.
downName
=
u
.
title
;
}
}
})
})
;
}
else
{
}
else
{
this
.
downName
=
this
.
projectList
[
0
].
title
;
this
.
downName
=
this
.
projectList
[
0
].
title
;
this
.
curdId
=
this
.
projectList
[
0
].
id
;
this
.
curdId
=
this
.
projectList
[
0
].
id
;
}
}
this
.
loadTree
(
this
.
curId
);
this
.
loadTree
(
this
.
curId
);
}
}
...
@@ -115,6 +120,11 @@ export default {
...
@@ -115,6 +120,11 @@ export default {
fieldValue
:
this
.
curdId
,
fieldValue
:
this
.
curdId
,
conditionalType
:
"Equal"
,
conditionalType
:
"Equal"
,
},
},
{
fieldName
:
"userId"
,
fieldValue
:
this
.
$store
.
state
.
userInfo
.
id
,
conditionalType
:
"Equal"
,
},
],
],
};
};
this
.
$api
.
post
(
`
${
material
}
/projectplan/list`
,
params
).
then
((
r
)
=>
{
this
.
$api
.
post
(
`
${
material
}
/projectplan/list`
,
params
).
then
((
r
)
=>
{
...
...
pages/project/task/index.vue
View file @
77a5571f
This diff is collapsed.
Click to expand it.
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