Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
孙龙
/
kaopu-server
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
f6d438b8
authored
Dec 27, 2019
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
个人企业暂时取默认值
parent
e0f170b6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
cmd/static/detail/enterprise_credit.go
cmd/static/detail/personal_credit.go
cmd/static/detail/enterprise_credit.go
View file @
f6d438b8
...
@@ -17,7 +17,7 @@ func EnterPriseCredit()(finalScore float64) {
...
@@ -17,7 +17,7 @@ func EnterPriseCredit()(finalScore float64) {
e_weight
=
StringTurnFloat64
(
modelInfo
[
"weight"
])
e_weight
=
StringTurnFloat64
(
modelInfo
[
"weight"
])
//取默认值,暂时不查
//取默认值,暂时不查
e_totalScore
:=
[
20
]
float64
{
34
}
e_totalScore
:=
[
20
]
float64
{
10
}
finalScore
=
SetProjectScore
(
e_totalScore
,
e_weight
,
StringTurnFloat64
(
modelInfo
[
"full_score"
]))
finalScore
=
SetProjectScore
(
e_totalScore
,
e_weight
,
StringTurnFloat64
(
modelInfo
[
"full_score"
]))
SetInsertScoreChanFooter
(
1
,
0
,
2
)
SetInsertScoreChanFooter
(
1
,
0
,
2
)
...
...
cmd/static/detail/personal_credit.go
View file @
f6d438b8
...
@@ -28,7 +28,7 @@ func PersonalCredit()(finalScore float64) {
...
@@ -28,7 +28,7 @@ func PersonalCredit()(finalScore float64) {
p_weight
=
StringTurnFloat64
(
modelInfo
[
"weight"
])
p_weight
=
StringTurnFloat64
(
modelInfo
[
"weight"
])
//取默认值,暂时不查
//取默认值,暂时不查
p_totalScore
:=
[
20
]
float64
{
1
0
}
p_totalScore
:=
[
20
]
float64
{
3
0
}
finalScore
=
SetProjectScore
(
p_totalScore
,
p_weight
,
StringTurnFloat64
(
modelInfo
[
"full_score"
]))
finalScore
=
SetProjectScore
(
p_totalScore
,
p_weight
,
StringTurnFloat64
(
modelInfo
[
"full_score"
]))
SetInsertScoreChanFooter
(
1
,
0
,
3
)
SetInsertScoreChanFooter
(
1
,
0
,
3
)
return
finalScore
return
finalScore
...
...
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