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
786faa91
Commit
786faa91
authored
Nov 09, 2023
by
wyc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
比例 格式无效修改
parent
3ff1dbdf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
+10
-4
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
+6
-2
performance/Performance.Services/ComputeService.UniteDeptDetail.cs
+4
-2
No files found.
performance/Performance.Api/wwwroot/Performance.EntityModels.xml
View file @
786faa91
...
...
@@ -10326,7 +10326,11 @@
指标Id
</summary>
</member>
<!-- Badly formed XML comment ignored for member "P:Performance.EntityModels.Other.view_assess_result.ItemName2" -->
<member
name=
"P:Performance.EntityModels.Other.view_assess_result.ItemName2"
>
<summary>
二级指标名称
</summary>
</member>
<member
name=
"P:Performance.EntityModels.Other.view_assess_result.State"
>
<summary>
状态
...
...
@@ -10339,7 +10343,7 @@
</member>
<member
name=
"P:Performance.EntityModels.Other.view_assess_result.Score"
>
<summary>
扣分值
最后得分
</summary>
</member>
<member
name=
"P:Performance.EntityModels.Other.view_assess_result.UnitCode"
>
...
...
performance/Performance.Services/ComputeService.UniteDeptDetail.cs
View file @
786faa91
...
...
@@ -208,7 +208,7 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s
{
{
"量化指标"
,
post
.
Key
.
TypeName
},
{
"量化分值"
,
ValueFormating
(
lhfz
,
""
)
},
{
"核算比例"
,
ValueFormating
(
post
.
FirstOrDefault
().
FactorValue
,
UniteDept
.
Format
.
两位小数百分比
.
ToString
())
},
{
"核算比例"
,
post
.
FirstOrDefault
().
FactorValue
},
{
"核算分值"
,
ValueFormating
(
hsfz
,
""
)
},
};
items
.
Add
(
row
);
...
...
@@ -403,9 +403,11 @@ public UniteDeptDetailResponse UniteDeptDetail(int allotId, UnitType unitType, s
}
}
#
endregion
response
.
DetailItems
=
response
.
DetailItems
.
Where
(
w
=>
w
.
Display
).
OrderBy
(
w
=>
w
.
Sort
).
ToList
();
// 应用用户设置的显示规则
RecursionUseSettings
(
response
.
DetailItems
,
settings
,
userInfo
.
IsSecondAdmin
,
allot
);
response
.
DetailItems
=
response
.
DetailItems
.
Where
(
w
=>
w
.
Display
).
OrderBy
(
w
=>
w
.
Sort
).
ToList
();
return
response
;
}
...
...
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