文档
测试

单岗位晋升明细

POST
/api/user/promotion/selectPromotionJobInfo

接口描述

当user_id 有值时,查询员工当前岗位晋升条件和晋升进度;当user_id无值且job_id有值时,查询岗位进度条件

请求头

参数名
类型
描述
必填
Content-Type
String
application/json
必填
token
string
必填

请求参数

参数名
类型
描述
必填
college_id
string
学院id
必填
user_id
string
用户id
可选
job_id
string
岗位id
可选

请求示例

``` { "college_id": "61d77baabc27cbc818fcf8bf9bcc57f8", "user_id": "" } ```

响应参数

参数名
类型
描述
必填
flag
int
返回状态 示例:0
必填
msg
string
返回消息 示例:success
必填
abid
string
必填
val
object
数据对象
必填
id
string
岗位id
必填
name
string
岗位名称
必填
title_grade_id
string
职称等级id
必填
title_grade_name
string
职称等级名称
必填
is_promotion
string
是否可晋升;0:不可;1:可晋升
可选
lastApply
string
晋升申请记录;0:无晋升申请;1:有一条进行中的晋升申请;2:有一条已结束的晋升申请
可选
station_all
int
学习课程目录 总数量
可选
station_completed
int
学习课程目录 已完成数量
可选
stationList
array
数据列表 学习课程目录
必填
id
string
课程目录id
必填
name
string
课程目录名称
必填
completed
int
是否完成;0:未完成;1:已完成
可选
promotion_all
int
晋升条件 总数量
可选
promotion_completed
int
晋升条件 已完成数量
可选
exam_all
int
理论考试 总数量
可选
exam_completed
int
理论考试 已完成数量
可选
examList
array
数据列表 理论考试
必填
id
string
考试id
必填
name
string
考试名称
必填
completed
int
是否完成;0:未完成;1:已完成
可选
appraise_all
int
实操鉴定 总数量
可选
appraise_completed
int
实操鉴定 已完成数量
可选
appraiseList
array
数据列表 实操鉴定
必填
id
string
实操鉴定id
必填
name
string
鉴定名称
必填
completed
string
是否完成;0:未完成;1:已完成
可选
struct_all
int
巡检稽核 总数量
可选
struct_completed
int
巡检稽核 已完成数量
可选
structList
array
数据列表 巡检稽核
必填
id
string
稽核表单id
必填
name
string
稽核表单名称
必填
appraisal_date
string
巡检稽核日期范围
必填
appraisal_rate
string
巡检稽核完成率
必填
completed
int
是否完成;0:未完成;1:已完成
可选
exec_rate
string
实际完成率
必填
check_length_service
string
是否开启在职时长
必填
length_service
int
在职时长(月)
必填
length_service_completed
int
已在职时长(月)
可选
location
string
是否当前岗位
可选
customList
array
数据列表 自定义内容
可选
detail_type
string
明细类型 示例:1
必填
custom_title
string
自定义标题 示例:薪资待遇
必填
custom_remark
string
自定义内容 示例: 1000~3000
必填
id
string
示例:5f2097e3d323e224178895f363e1f359
可选
job_id
string
岗位id
可选

返回示例

``` { "flag": 0, "msg": "success", "abid": "", "val": [ { "appraiseList": [ { "appraisal_date": "0", "appraisal_rate": "0", "completed": 1, "detail_type": "3", "id": "a83a66345b2c42ad68329d3385a983bc", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "大飒飒大师" } ], "appraise_all": 1, "appraise_completed": 1, "c_date": "2020-09-16 16:29:59", "check_appraisal": "1", "check_appraise": "1", "check_length_service": "1", "check_theory_test": "1", "examList": [ { "appraisal_date": "0", "appraisal_rate": "0", "completed": 0, "detail_type": "2", "id": "9f09e97fc8d8bc94f7f9050f8d7043f3", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "新建试卷" }, { "appraisal_date": "0", "appraisal_rate": "0", "completed": 1, "detail_type": "2", "id": "53ac4bb11968736ed3b0e455090c6ce7", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "大润发特工" } ], "exam_all": 2, "exam_completed": 1, "id": "b8d2629a5957d4373eeb348c0ff21e6d", "length_service": "2", "length_service_completed": 7, "location": "1", "m_date": "2021-08-12 16:29:17", "m_user_id": "79cc1a27272df5d645b4aa12c638e925", "name": "测试人员", "promotion_all": 3, "promotion_completed": 2, "sort": "2", "stationList": [ { "appraisal_date": "0", "appraisal_rate": "0", "completed": 0, "detail_type": "1", "id": "3f2c30c1e01885388940b7fa46b89244", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "是实际困难" }, { "appraisal_date": "0", "appraisal_rate": "0", "completed": 0, "detail_type": "1", "id": "65f50a9ff2b44a48ce45fd617fdfca17", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "当你凝视" }, { "appraisal_date": "0", "appraisal_rate": "0", "completed": 1, "detail_type": "1", "id": "4706265765be87aab41309b3497016af", "job_id": "b8d2629a5957d4373eeb348c0ff21e6d", "name": "北站" } ], "station_all": 3, "station_completed": 1, "subordinateList": [ { "id": "381a5fd9ae8fa3801623d7299d8996f8", "name": "店长" } ], "superiorList": [ { "id": "8e140ec062c0034e03c0d37f28f84b5d", "name": "传菜员22" } ], "title_grade_id": "c665f440e1c3dfcf0b8ce1f79a9e391e", "title_grade_name": "M2等级" }, { "id": "8e140ec062c0034e03c0d37f28f84b5d", "name": "传菜员22", "title_grade_id": "764f5999240bcff4176ae6f925792dbb", "title_grade_name": "M3等级" }, { "id": "a00bf894c738304c12913a2dbf7e9049", "name": "经理", "title_grade_id": "855015031808acc9b185ce36394c20cb", "title_grade_name": "M4等级" } ] } ```