切换导航条
此项目
正在载入...
登录
allied-creation
/
performance
·
提交
转到一个项目
GitLab
转到群组
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
tangxvhui
2 years ago
提交
9aaa17231be0790090c2b0688c677d1c02b28bab
1 个父辈
496239f7
master
...
dev-pushdata
dev-tangxvhui
dev-zhengzhou
test
v1.3.2-fix
v1.4.0
v2.2.0-fix
20230410
20230403
20230331
20230324
20230315
20230203
20230112
20221208
20221205
v2.2.0
v2.0.0
v1.3.2
v1.3.2-fix
v1.3.1
v1.3.0
v1.2.4
更新 评估填写的内容添加Definition字段
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
7 行增加
和
7 行删除
pkg/application/staff_assess/service/service.go
pkg/domain/staff_assess_content.go
pkg/application/staff_assess/service/service.go
查看文件 @
9aaa172
...
...
@@ -1057,6 +1057,7 @@ func (srv StaffAssessServeice) getAssessSelfInfoUncompleted(transactionContext a
ritem
:=
domain
.
AssessContemtRemark
{
Title
:
vv
.
Title
,
HintText
:
vv
.
HintText
,
Definition
:
vv
.
Definition
,
RemarkText
:
""
,
}
remarks
=
append
(
remarks
,
ritem
)
...
...
@@ -1696,14 +1697,12 @@ func (srv StaffAssessServeice) SaveAssessInfo(param *command.SaveAssessInfoComma
continue
}
v
.
Value
=
item
.
Value
if
len
(
item
.
Value
)
>
0
{
//填入评估值描述
reteResult
,
err
:=
v
.
Rule
.
ScoreOrRating
(
&
v
.
Value
)
if
err
!=
nil
{
return
nil
,
application
.
ThrowError
(
application
.
BUSINESS_ERROR
,
err
.
Error
())
}
v
.
ReteResult
=
reteResult
//填入评估值描述
reteResult
,
err
:=
v
.
Rule
.
ScoreOrRating
(
&
v
.
Value
)
if
err
!=
nil
{
return
nil
,
application
.
ThrowError
(
application
.
BUSINESS_ERROR
,
err
.
Error
())
}
v
.
ReteResult
=
reteResult
for
ii
:=
range
v
.
Remark
{
for
_
,
vvv
:=
range
item
.
Remark
{
if
v
.
Remark
[
ii
]
.
Title
==
vvv
.
Title
{
...
...
pkg/domain/staff_assess_content.go
查看文件 @
9aaa172
...
...
@@ -24,6 +24,7 @@ type StaffAssessContent struct {
type
AssessContemtRemark
struct
{
Title
string
`json:"title"`
//comment:"填写标题"
HintText
string
`json:"hintText"`
// comment:"文本内容提示"
Definition
string
`json:"definition"`
//comment:"定义"
RemarkText
string
`json:"remarkText"`
// comment:"填写文本内容"
}
...
...
请
注册
或
登录
后发表评论