Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
performance
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zry
performance
Commits
d874732a
Commit
d874732a
authored
Feb 05, 2021
by
lcx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
二次绩效其他模板数据根据审核状态设置只读字段
parent
38d20192
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
performance/Performance.Services/Details/SecondAllotDetails.cs
+10
-4
No files found.
performance/Performance.Services/Details/SecondAllotDetails.cs
View file @
d874732a
...
@@ -572,16 +572,22 @@ private void SupplyHeaderByWorkItem(int hospitalId, SecondResponse result, ag_se
...
@@ -572,16 +572,22 @@ private void SupplyHeaderByWorkItem(int hospitalId, SecondResponse result, ag_se
public
HandsonTable
GetOtherTempData
(
int
userId
,
int
secondId
,
int
isArchive
,
int
employeeSource
,
out
decimal
?
realAmount
)
public
HandsonTable
GetOtherTempData
(
int
userId
,
int
secondId
,
int
isArchive
,
int
employeeSource
,
out
decimal
?
realAmount
)
{
{
string
[]
workNumbers
=
new
string
[]
{
};
var
details
=
GetOtherTempDetails
(
userId
,
secondId
,
isArchive
,
employeeSource
,
ref
workNumbers
);
var
secondAllot
=
agsecondallotRepository
.
GetEntity
(
t
=>
t
.
Id
==
secondId
);
var
readColumns
=
new
int
[]
{
2
,
3
,
}.
Contains
(
secondAllot
.
Status
.
Value
)
?
OtherTemp
.
Select
(
t
=>
t
.
Value
).
ToArray
()
:
new
string
[]
{
"可分配绩效"
,
"医院其他绩效"
,
"预留比例"
,
"预留金额"
,
"实发绩效工资金额"
};
var
result
=
new
HandsonTable
((
int
)
SheetType
.
Unidentifiable
,
OtherTemp
.
Select
(
t
=>
t
.
Value
).
ToArray
(),
OtherTemp
.
Select
(
t
=>
new
collect_permission
var
result
=
new
HandsonTable
((
int
)
SheetType
.
Unidentifiable
,
OtherTemp
.
Select
(
t
=>
t
.
Value
).
ToArray
(),
OtherTemp
.
Select
(
t
=>
new
collect_permission
{
{
HeadName
=
t
.
Value
,
HeadName
=
t
.
Value
,
Visible
=
1
,
Visible
=
1
,
Readnoly
=
new
string
[]
{
"可分配绩效"
,
"医院其他绩效"
,
"预留比例"
,
"预留金额"
,
"实发绩效工资金额"
}
.
Contains
(
t
.
Value
)
?
1
:
0
Readnoly
=
readColumns
.
Contains
(
t
.
Value
)
?
1
:
0
}).
ToList
());
}).
ToList
());
string
[]
workNumbers
=
new
string
[]
{
};
var
details
=
GetOtherTempDetails
(
userId
,
secondId
,
isArchive
,
employeeSource
,
ref
workNumbers
);
if
(
result
.
Columns
!=
null
&&
result
.
Columns
.
Any
())
if
(
result
.
Columns
!=
null
&&
result
.
Columns
.
Any
())
{
{
foreach
(
var
column
in
result
.
Columns
)
foreach
(
var
column
in
result
.
Columns
)
...
...
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