Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
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
黄奎
Education
Commits
53663581
Commit
53663581
authored
Feb 24, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
63248a44
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
4 deletions
+32
-4
OKRPeriodModule.cs
Edu.Module.OKR/OKRPeriodModule.cs
+32
-4
No files found.
Edu.Module.OKR/OKRPeriodModule.cs
View file @
53663581
...
@@ -6612,10 +6612,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
...
@@ -6612,10 +6612,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
}
}
else
else
{
{
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
if
((
UserLookList
.
Where
(
x
=>
x
.
CreateBy
==
item
.
CreateBy
).
FirstOrDefault
()?.
IsLock
??
0
)
==
1
)
{
item
.
IsNotLook
=
1
;
}
}
if
(
item
.
IsDefaultPermission
==
2
)
if
(
item
.
IsDefaultPermission
==
2
)
{
{
item
.
IsLock
=
1
;
item
.
IsLock
=
1
;
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
))
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
{
item
.
IsNotLook
=
1
;
item
.
IsNotLook
=
1
;
}
}
...
@@ -6683,10 +6690,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
...
@@ -6683,10 +6690,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
}
}
else
else
{
{
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
if
((
UserLookList
.
Where
(
x
=>
x
.
CreateBy
==
item
.
CreateBy
).
FirstOrDefault
()?.
IsLock
??
0
)
==
1
)
{
item
.
IsNotLook
=
1
;
}
}
if
(
item
.
IsDefaultPermission
==
2
)
if
(
item
.
IsDefaultPermission
==
2
)
{
{
item
.
IsLock
=
1
;
item
.
IsLock
=
1
;
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
))
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
{
item
.
IsNotLook
=
1
;
item
.
IsNotLook
=
1
;
}
}
...
@@ -6911,10 +6925,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
...
@@ -6911,10 +6925,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
}
}
else
else
{
{
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
if
((
UserLookList
.
Where
(
x
=>
x
.
CreateBy
==
item
.
CreateBy
).
FirstOrDefault
()?.
IsLock
??
0
)
==
1
)
{
item
.
IsNotLook
=
1
;
}
}
if
(
item
.
IsDefaultPermission
==
2
)
if
(
item
.
IsDefaultPermission
==
2
)
{
{
item
.
IsLock
=
1
;
item
.
IsLock
=
1
;
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
))
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
{
item
.
IsNotLook
=
1
;
item
.
IsNotLook
=
1
;
}
}
...
@@ -7089,10 +7110,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
...
@@ -7089,10 +7110,17 @@ and {ruleModel.Time} >='{dmodel.RuleSTime.Value.ToString("yyyy-MM-dd")}' and {ru
}
}
else
else
{
{
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
if
((
UserLookList
.
Where
(
x
=>
x
.
CreateBy
==
item
.
CreateBy
).
FirstOrDefault
()?.
IsLock
??
0
)
==
1
)
{
item
.
IsNotLook
=
1
;
}
}
if
(
item
.
IsDefaultPermission
==
2
)
if
(
item
.
IsDefaultPermission
==
2
)
{
{
item
.
IsLock
=
1
;
item
.
IsLock
=
1
;
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
))
if
(!
MyUnderlingList
.
Contains
(
item
.
CreateBy
)
&&
item
.
CreateBy
!=
userInfo
.
Id
)
{
{
item
.
IsNotLook
=
1
;
item
.
IsNotLook
=
1
;
}
}
...
...
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