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
a6229f6a
Commit
a6229f6a
authored
Jun 08, 2022
by
ruyun.zhang@suvalue.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
财务发放表默认支持人员字典数据展示
parent
4ee3d9fd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
12 deletions
+31
-12
performance/Performance.Services/ComputeConfig.cs
+19
-0
performance/Performance.Services/ComputeService.cs
+12
-12
No files found.
performance/Performance.Services/ComputeConfig.cs
View file @
a6229f6a
...
@@ -89,6 +89,25 @@ public static List<cof_alias> AllComputeViewByDate
...
@@ -89,6 +89,25 @@ public static List<cof_alias> AllComputeViewByDate
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
11
},
new
cof_alias
{
Alias
=
"应发小计"
,
Name
=
nameof
(
view_allot_sign_emp
.
ShouldGiveFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
11
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
12
},
new
cof_alias
{
Alias
=
"预留绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
ReservedRatioFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
12
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
13
},
new
cof_alias
{
Alias
=
"实发绩效"
,
Name
=
nameof
(
view_allot_sign_emp
.
RealGiveFee
),
States
=
1
,
SumStatus
=
1
,
Sort
=
13
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
15
,
Alias
=
"正式/临聘"
,
Name
=
nameof
(
per_employee
.
JobCategory
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
16
,
Alias
=
"职务"
,
Name
=
nameof
(
per_employee
.
Duty
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
17
,
Alias
=
"职称"
,
Name
=
nameof
(
per_employee
.
JobTitle
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
18
,
Alias
=
"出勤天数"
,
Name
=
nameof
(
per_employee
.
AttendanceDay
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
17
,
Alias
=
"预留比例"
,
Name
=
nameof
(
per_employee
.
ReservedRatio
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
20
,
Alias
=
"银行卡号"
,
Name
=
nameof
(
per_employee
.
BankCard
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用01"
,
Name
=
nameof
(
per_employee
.
Reserve01
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用02"
,
Name
=
nameof
(
per_employee
.
Reserve02
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用03"
,
Name
=
nameof
(
per_employee
.
Reserve03
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用04"
,
Name
=
nameof
(
per_employee
.
Reserve04
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用05"
,
Name
=
nameof
(
per_employee
.
Reserve05
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用06"
,
Name
=
nameof
(
per_employee
.
Reserve06
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用07"
,
Name
=
nameof
(
per_employee
.
Reserve07
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用08"
,
Name
=
nameof
(
per_employee
.
Reserve08
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用09"
,
Name
=
nameof
(
per_employee
.
Reserve09
),
},
new
cof_alias
{
States
=
0
,
SumStatus
=
0
,
Sort
=
21
,
Alias
=
"备用10"
,
Name
=
nameof
(
per_employee
.
Reserve10
),
},
};
};
private
static
List
<
cof_alias
>
_allComputePersonViewByDate
=
new
List
<
cof_alias
>();
private
static
List
<
cof_alias
>
_allComputePersonViewByDate
=
new
List
<
cof_alias
>();
...
...
performance/Performance.Services/ComputeService.cs
View file @
a6229f6a
...
@@ -2101,21 +2101,21 @@ public List<cof_alias> CustomColumnHeaders(int hospitalId, string route, params
...
@@ -2101,21 +2101,21 @@ public List<cof_alias> CustomColumnHeaders(int hospitalId, string route, params
public
List
<
cof_alias
>
CustomColumnHeaders
(
sys_hospital
hos
,
string
route
,
params
string
[]
heads
)
public
List
<
cof_alias
>
CustomColumnHeaders
(
sys_hospital
hos
,
string
route
,
params
string
[]
heads
)
{
{
var
pairs
=
new
Dictionary
<
string
,
List
<
cof_alias
>>
var
pairs
=
new
Dictionary
<
string
,
List
<
cof_alias
>>
{
{
{
"/result/compute"
,
ComputeConfig
.
AllComputeView
},
{
"/result/compute"
,
ComputeConfig
.
AllComputeView
},
{
"/result/wholehospital"
,
ComputeConfig
.
AllComputePersonView
},
{
"/result/wholehospital"
,
ComputeConfig
.
AllComputePersonView
},
{
"/result/print/compute"
,
ComputeConfig
.
AllComputeDepartmentView
},
{
"/result/print/compute"
,
ComputeConfig
.
AllComputeDepartmentView
},
{
"/report/wholehospital_grant"
,
ComputeConfig
.
AllComputeViewByDate
},
{
"/report/wholehospital_grant"
,
ComputeConfig
.
AllComputeViewByDate
},
{
"/report/wholehospital_accounting_grant"
,
ComputeConfig
.
AllComputeDepartmentViewByDate
},
{
"/report/wholehospital_accounting_grant"
,
ComputeConfig
.
AllComputeDepartmentViewByDate
},
{
"/report/wholehospital_finance_grant"
,
ComputeConfig
.
AllComputePersonViewByDate
},
{
"/report/wholehospital_finance_grant"
,
ComputeConfig
.
AllComputePersonViewByDate
},
{
"/report/wholehospital_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_accounting_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_accounting_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_finance_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/report/wholehospital_finance_grant_summary"
,
ComputeConfig
.
PerformanceTotal
(
route
,
heads
)
},
{
"/result/all_employee"
,
ComputeConfig
.
GetAllPersonnelTags
(
hos
?.
IsOwnerQuery
==
1
)
},
{
"/result/all_employee"
,
ComputeConfig
.
GetAllPersonnelTags
(
hos
?.
IsOwnerQuery
==
1
)
},
};
};
var
init
=
pairs
.
ContainsKey
(
route
.
ToLower
())
?
pairs
[
route
.
ToLower
()]
:
new
List
<
cof_alias
>();
var
init
=
pairs
.
ContainsKey
(
route
.
ToLower
())
?
pairs
[
route
.
ToLower
()]
:
new
List
<
cof_alias
>();
if
(
hos
==
null
)
if
(
hos
==
null
)
...
...
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