文档
测试

获取一个考评组

POST
http://127.0.0.1:8901/rest/assessment/item

请求头

参数名
类型
描述
必填
Authorization
string
示例:262de9008d3e0dcd12c316369f770f44
必填

请求参数

参数名
类型
描述
必填
id
int
示例:3
必填

响应参数

参数名
类型
描述
必填
code
Int
返回状态:0成功,1失败
必填
msg
String
状态描述
必填
data
object
数据字典
必填
id
int
考评组ID
必填
name
string
考评组名称
必填
period
int
周期类型:0=月度 1=季度
必填
periodTime
string
周期时间
必填
assessAdminUser
array
考核管理员
必填
assessUser
array
被考核人
必填
assessDpt
array
被考核部门(组件树结构)
必填
notAssessUser
array
无需考核人员
必填
dimension
array
考核维度
必填
id
int
示例:13
必填
assessmentId
int
示例:3
必填
dimensionName
string
示例:指标考核
必填
updateTime
int
示例:1608799473000
必填
targets
array
数据列表
必填
id
int
示例:8
必填
dimensionId
int
示例:13
必填
targetId
int
示例:41
必填
target
int
示例:100
必填
weight
int
示例:50
必填
remark
object
示例:null
必填
updateTime
int
示例:1608799473000
必填
targetItem
object
数据字典
必填
id
int
示例:41
必填
name
string
示例:工作进度1
必填
classId
int
示例:1
必填
branchId
int
示例:0
必填
explain
object
示例:null
必填
examStandard
string
示例:测试123456
必填
standardTarget
object
示例:null
必填
target
string
示例:100
必填
challengeTarget
object
示例:null
必填
unit
string
示例:%
必填
weight
int
示例:50
必填
remark
string
示例:
必填
gradPolicy
int
示例:0
必填
label
object
示例:null
必填
sort
int
示例:2
必填
updateTime
string
示例:2020-10-19 12:06:34
必填
status
int
示例:0
必填
flowNode
array
流程设计
必填
id
int
ID
必填
flowId
int
流程ID
必填
flowName
string
流程名称
必填
assessmentId
int
考评组ID
必填
weight
int
评分权重
必填
level
int
流程等级,从0开始
必填
nodes
array
节点列表
必填
createBy
int
建档人
必填
updateTime
string
创建时间
必填
status
int
状态
必填

说明 / 示例

{ "code": 0, "msg": "获取成功", "data": { "id": 1, "name": "2020年11月考评", "period": 1, "periodTime": "2020-11", "userCount": 0, "assessAdminUser": [54,89], "assessUser": [2,3], "assessDpt": [ { "branchId": 0, "childrens": [ { "branchId": 0, "childrens": [], "hrDepartId": 283, "id": 248, "departName": "分销管理组" }, { "branchId": 0, "childrens": [], "hrDepartId": 284, "id": 249, "departName": "供应链管理组" } ], "hrDepartId": 59, "id": 45, "departName": "系统实施部" } ], "notAssessUser": [23,78], "dimension": [ { "id": 1, "assessmentId": 1, "dimensionName": "量化指标", "updateTime": "2020-11-25 10:40:39", "targets": [ { "id": 1, "dimensionId": 1, "targetId": 17, "target": 80, "remark": "已最终评定为准", "updateTime": "2020-11-25 10:40:39", "targetItem": { "id": 17, "name": "工作进度", "classId": 1, "branchId": 0, "examStandard": "工作进度完成60%,60分;工作进度完成80%,80分,以此类推", "target": "85", "unit": "百分比", "weight": 80, "remark": "备注", "gradPolicy": 0, "label": null, "sort": 1, "updateTime": "2020-10-17 11:43:56", "status": 0 } }, { "id": 2, "dimensionId": 1, "targetId": 20, "target": 90, "remark": "重要指标", "updateTime": "2020-11-25 10:40:39", "targetItem": { "id": 20, "name": "工作进度4", "classId": 2, "branchId": 0, "examStandard": "工作进度完成60%,60分;工作进度完成80%,80分,以此类推", "target": "85", "unit": "百分比", "weight": 80, "remark": "备注", "gradPolicy": 0, "label": null, "sort": 1, "updateTime": "2020-10-19 15:05:28", "status": 0 } } ] }, { "id": 2, "assessmentId": 1, "dimensionName": "工作进度", "updateTime": "2020-11-25 10:40:39", "targets": [ { "id": 3, "dimensionId": 2, "targetId": 44, "target": 80, "remark": "", "updateTime": "2020-11-25 10:40:39", "targetItem": { "id": 44, "name": "工作进度6", "classId": 1, "branchId": 0, "examStandard": "测试123456", "target": "100", "unit": "%", "weight": 50, "remark": null, "gradPolicy": 0, "label": null, "sort": 2, "updateTime": "2020-10-22 11:51:57", "status": 0 } }, { "id": 4, "dimensionId": 2, "targetId": 46, "target": 90, "remark": "", "updateTime": "2020-11-25 10:40:39", "targetItem": { "id": 46, "name": "量化指标", "classId": 2, "branchId": 0, "examStandard": "工作进度完成60%,60分;工作进度完成80%,80分,以此类推", "target": "85", "unit": "百分比", "weight": 80, "remark": "备注", "gradPolicy": 0, "label": null, "sort": 2, "updateTime": "2020-10-22 11:51:34", "status": 1 } } ] } ], "flowNode": [ { "id": 1, "assessmentId": 1, "nodeId": 1, "nodeName": "自评", "weight": 20, "level": 1, "approveType": 0, "updateTime": null, "status": 0, "isDelete": 0, "nodes": [] }, { "id": 2, "assessmentId": 1, "nodeId": 2, "nodeName": "互评", "weight": 0, "level": 2, "approveType": 0, "updateTime": null, "status": 1, "isDelete": 0, "nodes": [] }, { "id": 3, "assessmentId": 1, "nodeId": 3, "nodeName": "上级评分", "weight": 80, "level": 3, "approveType": 0, "updateTime": null, "status": 0, "isDelete": 0, "nodes": [ { "id": 3, "flowId": 3, "userIds": [5,8], "weight": 20, "level": 1 }, { "id": 4, "flowId": 3, "userIds": [7], "weight": 40, "level": 2 } ] } ], "createBy": 249, "updateTime": "2020-11-25 10:40:39", "status": 0 } }